Update docstring for GPG.gen_key_input() with details on batch file syntax.

feature/documentation-builds-html
Isis Lovecruft 2013-04-10 19:16:58 +00:00
parent 24da4d186c
commit dc0d9cf70b
No known key found for this signature in database
GPG Key ID: A3ADB67A2CDB8B35
1 changed files with 9 additions and 2 deletions

View File

@ -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()):