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>