g10: Support primary key generation by keygrip.
authorNIIBE Yutaka <gniibe@fsij.org>
Mon, 20 Feb 2017 23:27:23 +0000 (08:27 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Mon, 20 Feb 2017 23:27:23 +0000 (08:27 +0900)
commit3fc69224b7b22ad1df1395ebcb21549384839cd1
tree65830ad25c9f5ae9a8c80c0cece861d46c3ffc46
parenta022baa4a487eec769411255a64088450c4c8a49
g10: Support primary key generation by keygrip.

* g10/keygen.c (para_name): Add pKEYGRIP.
(generate_keypair): Use pKEYGRIP for key generation.
(do_generate_keypair): Call do_create_from_keygrip with pKEYGRIP.

--

https://lists.gnupg.org/pipermail/gnupg-devel/2017-February/032591.html

Reported-by: Alon Bar-Lev <alon.barlev@gmail.com>
Suggested-by: Peter Lebbing <peter@digitalbrains.com>
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
g10/keygen.c