[git] GPGME - branch, master, updated. gpgme-1.8.0-16-gd83b8f0

by Ben Kibbey cvs at cvs.gnupg.org
Tue Dec 27 02:02:23 CET 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG Made Easy".

The branch, master has been updated
       via  d83b8f0dc84d6cf7fe2e091bd1b103ceedfa3d6c (commit)
      from  211844f049d714cd4d5aab96347705cb0c209c5d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d83b8f0dc84d6cf7fe2e091bd1b103ceedfa3d6c
Author: Ben Kibbey <bjk at luxsci.net>
Date:   Mon Dec 26 19:57:22 2016 -0500

    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 at luxsci.net>

diff --git a/src/engine-gpg.c b/src/engine-gpg.c
index 3ddaa07..1b0e4c9 100644
--- a/src/engine-gpg.c
+++ b/src/engine-gpg.c
@@ -2136,6 +2136,8 @@ gpg_createkey (engine_gpg_t gpg,
       err = add_arg (gpg, "--passphrase");
       if (!err)
         err = add_arg (gpg, "");
+      if (!err)
+        err = add_arg (gpg, "--batch");
     }
   if (!err && (flags & GPGME_CREATE_FORCE))
     err = add_arg (gpg, "--yes");

-----------------------------------------------------------------------

Summary of changes:
 src/engine-gpg.c | 2 ++
 1 file changed, 2 insertions(+)


hooks/post-receive
-- 
GnuPG Made Easy
http://git.gnupg.org




More information about the Gnupg-commits mailing list