ifinteractiveandself.question("Warning: the alias '%s' is unsigned. Do you want to trust the address %s for this alias?"%(alias,signing_address)):
msg="Warning: the alias '%s' is unsigned. Do you want to trust the address %s for this alias?"%(alias,signing_address)
ifinteractiveandself.question(msg):
self.wallet.aliases[alias]=signing_address
self.wallet.labels[target]=alias
else:
target=None
else:
ifsigning_address!=a:
ifinteractiveandself.question("Warning: the key of alias '%s' has changed since your last visit! It is possible that someone is trying to do something nasty!!!\nDo you accept to change your trusted key?"%alias):
msg="Warning: the key of alias '%s' has changed since your last visit! It is possible that someone is trying to do something nasty!!!\nDo you accept to change your trusted key?"%alias
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?"\
%(alias,target,auth_name,signing_address)):
msg="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?"%(alias,target,auth_name,signing_address)