[openpgp] Add GPGME backend
This commit is contained in:
@@ -31,7 +31,7 @@ if log.getEffectiveLevel() == logging.DEBUG:
|
||||
KeyringItem = namedtuple('KeyringItem', 'jid keyid fingerprint')
|
||||
|
||||
|
||||
class PGPContext(gnupg.GPG):
|
||||
class PythonGnuPG(gnupg.GPG):
|
||||
def __init__(self, jid, gnupghome):
|
||||
gnupg.GPG.__init__(
|
||||
self, gpgbinary='gpg', gnupghome=str(gnupghome))
|
||||
|
||||
Reference in New Issue
Block a user