Fix GPGME_CREATE_NOPASSWD without pinentry loopback.
authorBen Kibbey <bjk@luxsci.net>
Tue, 27 Dec 2016 00:57:22 +0000 (19:57 -0500)
committerBen Kibbey <bjk@luxsci.net>
Tue, 27 Dec 2016 00:57:22 +0000 (19:57 -0500)
commitd83b8f0dc84d6cf7fe2e091bd1b103ceedfa3d6c
tree576a9d67cfdb1193c7a88f6ade234df51c9582a3
parent211844f049d714cd4d5aab96347705cb0c209c5d
Fix GPGME_CREATE_NOPASSWD without pinentry loopback.

* src/engine-gpg.c(gpg_createkey): Pass --batch to gpg when
GPGME_CREATE_NOPASSWD is set.

--
Signed-off-by: Ben Kibbey <bjk@luxsci.net>
src/engine-gpg.c