ifinteractiveandself.question("Warning: the alias '%s' is self-signed. Do you want to trust address %s ?"%(alias,signing_address)):
ifinteractiveandself.question("Warning: the alias '%s' is unsigned. Do you want to trust the address %s ?"%(alias,signing_address)):
self.wallet.aliases[alias]=signing_address
self.wallet.aliases[alias]=signing_address
self.wallet.labels[target]=alias
else:
else:
target=None
target=None
else:
else:
ifsigning_address!=a:
ifsigning_address!=a:
ifinteractiveandself.question("Warning: the signing key of %s does not match its previously known value! It is possible that someone is trying to do something nasty!!!\nDo you wish to accept the new key?"%alias):
ifinteractiveandself.question("Warning: the signing key of %s does not match its previously known value! It is possible that someone is trying to do something nasty!!!\nDo you wish to accept the new key?"%alias):
self.wallet.aliases[alias]=signing_address
self.wallet.aliases[alias]=signing_address
self.wallet.labels[target]=alias
else:
else:
target=None
target=None
else:
else:
@ -847,6 +854,7 @@ class BitcoinGUI:
ifinteractiveandself.question("The alias: '%s' links to %s\n\nWarning: this alias was signed by an unknown key.\nSigning authority: %s\nSigning address: %s\n\nDo you want to add this key to your list of trusted keys?"\
ifinteractiveandself.question("The alias: '%s' links to %s\n\nWarning: this alias was signed by an unknown key.\nSigning authority: %s\nSigning address: %s\n\nDo you want to add this key to your list of trusted keys?"\