(self, fingerprint)
return key_map[fingerprint]
Find a specific private key on the keyring and return the info dict

        Returns:
            Dictionary with key information such as 'fingerprint', 'keyid', and
            'uids'.
Find a specific private key on the keyring and return the info dict
Find a specific private key on the keyring and return the info dict
def get_priv_key(self, fingerprint):
        """Find a specific private key on the keyring and return the info dict

        Returns:
            Dictionary with key information such as 'fingerprint', 'keyid', and
            'uids'.
        """
        key_map = self.gpg.list_keys(True).key_map
        assert(fingerprint in key_map), \
            "Could not find private key {}".format(fingerprint)
        return key_map[fingerprint]
def get_priv_key ( self , fingerprint ) : key_map = self . gpg . list_keys ( True ) . key_map assert ( fingerprint in key_map ) , "Could not find private key {}" . format ( fingerprint ) return key_map [ fingerprint ]