[git] Pinentry - branch, master, updated. pinentry-0.9.1-2-g2bffbbf

by Werner Koch cvs at cvs.gnupg.org
Tue Apr 14 18:39:03 CEST 2015


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 "The standard pinentry collection".

The branch, master has been updated
       via  2bffbbff09177afb75ad667d949eed2a8cb846ea (commit)
      from  d4a9144d12e6988e8ec5f20a7d2d4c87c1966161 (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 2bffbbff09177afb75ad667d949eed2a8cb846ea
Author: Werner Koch <wk at gnupg.org>
Date:   Tue Apr 14 18:37:07 2015 +0200

    Add stub command SETKEYINFO.
    
    * pinentry/pinentry.c (cmd_setkeyinfo): New.
    (register_commands): Addd command.
    
    Signed-off-by: Werner Koch <wk at gnupg.org>

diff --git a/pinentry/pinentry.c b/pinentry/pinentry.c
index e648695..04de1aa 100644
--- a/pinentry/pinentry.c
+++ b/pinentry/pinentry.c
@@ -771,6 +771,18 @@ cmd_setprompt (ASSUAN_CONTEXT ctx, char *line)
 }
 
 
+/* The data provided at LINE may be used by pinentry implementations
+   to identify a key for caching strategies of its own.  As of now
+   this is here only for documentation purposes.  */
+static int
+cmd_setkeyinfo (ASSUAN_CONTEXT ctx, char *line)
+{
+  (void)ctx;
+  (void)line;
+  return 0;
+}
+
+
 static int
 cmd_setrepeat (ASSUAN_CONTEXT ctx, char *line)
 {
@@ -1111,6 +1123,7 @@ register_commands (ASSUAN_CONTEXT ctx)
     {
       { "SETDESC",    0,  cmd_setdesc },
       { "SETPROMPT",  0,  cmd_setprompt },
+      { "SETKEYINFO", 0,  cmd_setkeyinfo },
       { "SETREPEAT",  0,  cmd_setrepeat },
       { "SETREPEATERROR",0, cmd_setrepeaterror },
       { "SETERROR",   0,  cmd_seterror },

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

Summary of changes:
 pinentry/pinentry.c | 13 +++++++++++++
 1 file changed, 13 insertions(+)


hooks/post-receive
-- 
The standard pinentry collection
http://git.gnupg.org




More information about the Gnupg-commits mailing list