code: def get_signing_key(self):
          
  
          """
          Download a local copy of repo signing key key metadata.
          Fixes #17 Scan Keys no available in all GPG versions.
          """
          tmp_key_path = "/tmp/{0}".format(self.repo_signing_key)
          tmp_metadata_path = "/tmp/{0}".format(self.key_metadata)
  
          repo_key_path = "{0}/{1}".format(self.url, self.repo_signing_key)
          repo_metadata_path = "{0}/{1}".format(self.url, self.key_metadata)
  
  
          req_key = requests.get(repo_key_path)
          req_metadata = requests.get(repo_metadata_path)
  
          # Fetch the key to disk
          if req_key.status_code is 200:
              logger.debug(("found repository signing key at "
                            "{0}".format(repo_key_path)))
              self.raw_key = req_key.content
              with open(tmp_key_path, 'wb') as f:
                  f.write(self.raw_key)
          else:
              raise RepositoryMissingSigningKeyError(repo_key_path)
  
          # Fetch the fingerprint from the metadata
          if req_metadata.status_code is 200:
              logger.debug(("found key metadata at "
                            "{0}".format(repo_metadata_path)))
              print(req_metadata.content)
              key_info = json.loads(req_metadata.content.decode('utf-8'))
          else:
              RepositoryMissingKeyMetadataError
  
          return (tmp_key_path, key_info)
docs: Download a local copy of repo signing key for installation