code: def prompt_for_install(self):
          
          print(self.key_info)
          repo_key_url = "{0}/{1}".format(self.url, self.repo_signing_key)
          print(("warning: Repository key untrusted \n"
                 "Importing GPG key 0x{0}:\n"
                 "  Userid: \"{1}\"\n"
                 "  From  : {2}".format(self.key_info['fingerprint'],
                                        self.key_info['uids'][0],
                                        repo_key_url)))
          response = prompt(u'Is this ok: [y/N] ')
          if response == 'y':
              self.install_key(self.raw_key)
              return True
          else:
              return False
docs: Prompt user to install untrusted repo signing key