[git] GPGME - branch, master, updated. gpgme-1.9.0-28-g8d61aba

by Andre Heinecke cvs at cvs.gnupg.org
Mon Apr 24 16:47:58 CEST 2017


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  8d61aba1fe0379ba14494f8ae2011ba531554ef4 (commit)
      from  ac28e66f46132ae4a854d04b2f17acd4d55e4296 (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 8d61aba1fe0379ba14494f8ae2011ba531554ef4
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Mon Apr 24 16:46:09 2017 +0200

    doc: Improve doc on passphrase_cb / pinentry mode
    
    * doc/gpgme.texi (Passphrase Callback): Mention pinentry_mode and
    restrictions.
    (Pinentry Mode): Fix wording and clarify versions that need
    loopback mode for passphrase_cb to work.

diff --git a/doc/gpgme.texi b/doc/gpgme.texi
index 40423cf..bc40430 100644
--- a/doc/gpgme.texi
+++ b/doc/gpgme.texi
@@ -2597,11 +2597,11 @@ Return a Pinentry error @code{No Pinentry}.
 
 @item GPGME_PINENTRY_MODE_LOOPBACK
 Redirect Pinentry queries to the caller.
-This enables the use of @code{gpgme_set_passphrase_cb} whis pinentry
-queries redirected to gpgme.
+This enables the use of @code{gpgme_set_passphrase_cb} because pinentry
+queries are redirected to gpgme.
 
-Note: This mode requires @code{allow-loopback-pinentry} to be enabled
-in the @file{gpg-agent.conf} or an agent started with that option.
+Note: For 2.1.0 - 2.1.12 this mode requires @code{allow-loopback-pinentry}
+to be enabled in the @file{gpg-agent.conf} or an agent started with that option.
 
 @end table
 @end deftp
@@ -2763,6 +2763,10 @@ character before returning from the callback.
 If an error occurs, return the corresponding @code{gpgme_error_t}
 value.  You can use the error code @code{GPG_ERR_CANCELED} to abort
 the operation.  Otherwise, return @code{0}.
+
+Note: The passphrase_cb only works with GnuPG 1.x and 2.1.x and not
+with the 2.0.x series. See @code{gpgme_set_pinentry_mode} for more
+details on 2.1.x usage.
 @end deftp
 
 @deftypefun void gpgme_set_passphrase_cb (@w{gpgme_ctx_t @var{ctx}}, @w{gpgme_passphrase_cb_t @var{passfunc}}, @w{void *@var{hook_value}})

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

Summary of changes:
 doc/gpgme.texi | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)


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




More information about the Gnupg-commits mailing list