g10: Unattended key generation "Key-Grip" and "Subkey-Grip".
authorNIIBE Yutaka <gniibe@fsij.org>
Wed, 1 Nov 2017 01:19:35 +0000 (10:19 +0900)
committerWerner Koch <wk@gnupg.org>
Mon, 6 Nov 2017 11:10:09 +0000 (12:10 +0100)
commit680161647ad56d1ca92988f80bcc4d6fcb20b1eb
tree6b3cdeaccaa19725029b2e58d39f63876c01ec3d
parentf183b9768b42a6792c55a6129488bd8fbf5e8e6d
g10: Unattended key generation "Key-Grip" and "Subkey-Grip".

* g10/keygen.c (pSUBKEYGRIP): New.
(read_parameter_file): Add "Key-Grip" and "Subkey-Grip".
(do_generate_keypair): Support pSUBKEYGRIP.

--

In the manual, it says "Key-Grip".  gpgsm also supports "Key-Grip".
Adding "Subkey-Grip" now, adding "Key-Grip" makes sense.

GnuPG-bug-id: 3478
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
(cherry picked from commit 6c63a04569c07c9c2817c7c530a92ccfa58155cc)
g10/keygen.c