Allow --gen-key to inquire a passphrase.
authorBen Kibbey <bjk@luxsci.net>
Tue, 14 Apr 2015 22:48:57 +0000 (18:48 -0400)
committerBen Kibbey <bjk@luxsci.net>
Sat, 15 Aug 2015 21:14:13 +0000 (17:14 -0400)
commit233b5fedabd80a34452e748132e65b5944310428
tree7944eb7d679892da16e39ad3848e67fa6f02f11a
parent0675a3bd45b309f9a1fc27b86538f22afde7b3fc
Allow --gen-key to inquire a passphrase.

* g10/gpg.c (main): test for --command-fd during --gen-key parse.

When --command-fd is set then imply --batch to let gpg inquire a
passphrase rather than requiring a pinentry.
g10/gpg.c