code: def init_gpg(self):
          
          if self.gpg_verify:
              logger.debug("gpg verification enabled, initializing gpg")
              gpg_home = os.path.expanduser('~/.gnupg')
              self.gpg = gnupg.GPG(gnupghome=gpg_home)
              self.key_path, self.key_info = self.get_signing_key()
              logger.debug("{0} {1}".format(self.key_path, self.key_info))
              self.check_signing_key()
docs: Initialize gpg object and check if repository signing key is trusted