Update docstring for GPG.gen_key_input() with details on batch file syntax.
parent
24da4d186c
commit
dc0d9cf70b
11
gnupg.py
11
gnupg.py
|
@ -1620,8 +1620,15 @@ class GPG(object):
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def gen_key_input(self, **kwargs):
|
def gen_key_input(self, **kwargs):
|
||||||
"""
|
"""Generate GnuPG key(s) through batch file key generation.
|
||||||
Generate --gen-key input per gpg doc/DETAILS
|
|
||||||
|
The GnuPG batch file key generation feature allows unattended key
|
||||||
|
generation by creating a file with special syntax and then providing it
|
||||||
|
to:
|
||||||
|
$ gpg --gen-key --batch <batch file>
|
||||||
|
|
||||||
|
see http://www.gnupg.org/documentation/manuals/gnupg-devel/Unattended-GPG-key-generation.html#Unattended-GPG-key-generation
|
||||||
|
for more details.
|
||||||
"""
|
"""
|
||||||
parms = {}
|
parms = {}
|
||||||
for key, val in list(kwargs.items()):
|
for key, val in list(kwargs.items()):
|
||||||
|
|
Loading…
Reference in New Issue