check-in
This commit is contained in:
parent
c1d4b53185
commit
1d84581a79
10
gpg/kant.py
10
gpg/kant.py
@ -33,6 +33,15 @@ import gpgme # non-stdlib; Arch package is "python-pygpgme"
|
||||
#
|
||||
#Thanks again!
|
||||
|
||||
def getKeys(args):
|
||||
# Get our concept
|
||||
os.environ['GNUPGHOME'] = args['gpgdir']
|
||||
gpg = gpgme.Context()
|
||||
# Do we have the key already? If not, fetch.
|
||||
#for k in args['rcpts']:
|
||||
# if k['type']
|
||||
return(gpg)
|
||||
|
||||
def serverParser(uri):
|
||||
# https://en.wikipedia.org/wiki/Key_server_(cryptographic)#Keyserver_examples
|
||||
# We need to make a mapping of the default ports.
|
||||
@ -218,6 +227,7 @@ def main():
|
||||
args = verifyArgs(vars(rawargs.parse_args()))
|
||||
import pprint
|
||||
pprint.pprint(args)
|
||||
getKeys(args)
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
Loading…
Reference in New Issue
Block a user