i think... we're done. still some TODOs but seems to be in a workable state.

This commit is contained in:
brent s
2017-09-21 15:18:26 -04:00
parent 4dedd79942
commit 2ab99f0f22
5 changed files with 458 additions and 69 deletions

View File

@@ -8,6 +8,7 @@ it should be a dict, structured like this:
'keys': 'EFD9413B17293AFDFE6EA6F1402A088DEDF104CB,admin@sysadministrivia.com',
'keyservers': 'hkp://sks.mirror.square-r00t.net:11371,hkps://hkps.pool.sks-keyservers.net:443,http://pgp.mit.edu:80',
'local': 'false',
'msmtp_profile': None,
'notify': True,
'sigkey': '748231EBCBD808A14F5E85D28C004C2F93481F6B',
'testkeyservers': False,
@@ -18,6 +19,8 @@ This *may* be reworked in the future to provide a mechanism for external calls t
it's up to you to provide all the data in the dict in the above format.
It will then internally verify these items and do various conversions, so that self.args becomes this:
(Note that some keys, such as "local", are validated and converted to appropriate values later on
e.g. 'false' => False)
{'batch': False,
'checklevel': None,
@@ -34,6 +37,7 @@ It will then internally verify these items and do various conversions, so that s
'proto': 'http',
'server': 'pgp.mit.edu'}],
'local': 'false',
'msmtp_profile': None,
'notify': True,
'rcpts': {'EFD9413B17293AFDFE6EA6F1402A088DEDF104CB': {'type': 'fpr'},
'admin@sysadministrivia.com': {'type': 'email'}},