[git] Poldi - branch, master, updated. release-0.4.1-39-g67d9216

by NIIBE Yutaka cvs at cvs.gnupg.org
Mon Nov 7 04:51:44 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 "PAM for the OpenPGP card".

The branch, master has been updated
       via  67d92164f5512d4b0ba5d7461085b7941d091bf8 (commit)
       via  9604dba2dadb77fe4dce2c536c44ceba56c3a05c (commit)
      from  201e9a653ef887c060d68ed3e868312e47a20817 (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 67d92164f5512d4b0ba5d7461085b7941d091bf8
Author: NIIBE Yutaka <gniibe at fsij.org>
Date:   Mon Nov 7 12:51:16 2016 +0900

    Add NEWS entries.
    
    --
    Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>

diff --git a/NEWS b/NEWS
index decdc2d..a52f269 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,19 @@
 
 Changes since version 0.4.1:
 
+* poldi-ctrl is removed
+  Please use gpg-connect-agent instead.
+
+* Poldi always invokes scdaemon to connect it through pipe
+  Older Poldi has a feature of connecting to scdaemon with help of
+  gpg-agent using the GPG_AGENT_INFO enviornment variable.  In GnuPG
+  2.1, the GPG_AGENT_INFO is gone and scdaemon no longer keeps locking
+  the reader after card removal, it is good to always invoke scdaemon
+  for the authentication.  If there is an existing scdaemon with card
+  inserted, a failure is expected and this is safer fallback.  That's
+  because Poldi should not connect to a smartcard which is in use for
+  other purpose and possibly already authenticated.
+
 * New option "scdaemon-options"
   Added a new option "scdaemon-options", which can be used to specify
   the scdaemon configuration file to use for newly spawned scdaemon

commit 9604dba2dadb77fe4dce2c536c44ceba56c3a05c
Author: NIIBE Yutaka <gniibe at fsij.org>
Date:   Mon Nov 7 11:49:08 2016 +0900

    Fix path of scdaemon.
    
    * am/cmacros.am (AM_CPPFLAGS): Add GNUPG_LIBEXECDIR.
    * configure.ac (GNUPG_DEFAULT_SCD): Use GNUPG_LIBEXECDIR.
    
    --
    Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>

diff --git a/am/cmacros.am b/am/cmacros.am
index ca24616..7cfab3f 100644
--- a/am/cmacros.am
+++ b/am/cmacros.am
@@ -1,4 +1,5 @@
-AM_CPPFLAGS += -DGNUPG_BINDIR="\"$(bindir)\""
+AM_CPPFLAGS += -DGNUPG_BINDIR="\"$(bindir)\"" \
+               -DGNUPG_LIBEXECDIR="\"$(libexecdir)\""
 datadir = @datadir@
 localedir = $(datadir)/locale
 DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
diff --git a/configure.ac b/configure.ac
index 5e87907..1886e2c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -69,7 +69,7 @@ AC_DEFINE_UNQUOTED(NEED_KSBA_VERSION, "$NEED_KSBA_VERSION",
 AH_BOTTOM([
 /* Setup the hardwired names of modules. */
 #ifndef GNUPG_DEFAULT_SCD
-#define GNUPG_DEFAULT_SCD    ( GNUPG_BINDIR "/scdaemon" )
+#define GNUPG_DEFAULT_SCD    ( GNUPG_LIBEXECDIR "/scdaemon" )
 #endif
 #ifndef GNUPG_DEFAULT_DIRMNGR
 #define GNUPG_DEFAULT_DIRMNGR    ( GNUPG_BINDIR "/dirmngr" )
diff --git a/src/scd/scd.c b/src/scd/scd.c
index 9f60026..abd63f9 100644
--- a/src/scd/scd.c
+++ b/src/scd/scd.c
@@ -180,8 +180,7 @@ scd_connect (scd_context_t *scd_ctx, const char *scd_path,
       no_close_list[i] = -1;
 
       /* connect to the scdaemon and perform initial handshaking */
-      rc = assuan_pipe_connect (&assuan_ctx, scd_path, argv,
-                                no_close_list);
+      rc = assuan_pipe_connect (&assuan_ctx, scd_path, argv, no_close_list);
       if (!rc)
 	{
 	  log_msg_debug (loghandle,

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

Summary of changes:
 NEWS          | 13 +++++++++++++
 am/cmacros.am |  3 ++-
 configure.ac  |  2 +-
 src/scd/scd.c |  3 +--
 4 files changed, 17 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
PAM for the OpenPGP card
http://git.gnupg.org




More information about the Gnupg-commits mailing list