from pygpg.gpg import GPG
+from gkeys.log import logger
class GkeysGPG(GPG):
'''Gentoo-keys primary gpg class'''
- def __init__(self, config):
+ def __init__(self, config, keyring):
'''class init function
@param config: GKeysConfig config instance to use
+ @param keyring: string, the path to the keyring to be used
+ for all operations.
'''
GPG.__init__(self, config)
self.config = config
+ self.keyring = keyring
def add_key(self, gkey):
@param gkey: GKEY namedtuple with (name, keyid/longkeyid, fingerprint)
'''
+
pass