[git] GnuPG - branch, master, updated. gnupg-2.1.7-53-g135b1e3

by NIIBE Yutaka cvs at cvs.gnupg.org
Mon Aug 31 08:16:50 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 GNU Privacy Guard".

The branch, master has been updated
       via  135b1e32f01beaceba8a4ecc774e23b56aca1d24 (commit)
      from  fad91071cadff43d77ce2e524dfb03999ba6678e (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 135b1e32f01beaceba8a4ecc774e23b56aca1d24
Author: NIIBE Yutaka <gniibe at fsij.org>
Date:   Mon Aug 31 15:15:03 2015 +0900

    agent: Fix SSH public key for EdDSA.
    * agent/command-ssh.c (ssh_key_to_blob): Remove the prefix 0x40.

diff --git a/agent/command-ssh.c b/agent/command-ssh.c
index 3d29f97..689241f 100644
--- a/agent/command-ssh.c
+++ b/agent/command-ssh.c
@@ -1964,6 +1964,11 @@ ssh_key_to_blob (gcry_sexp_t sexp, int with_secret,
               err = gpg_error (GPG_ERR_INV_SEXP);
               goto out;
+          if (*p_elems == 'q')
+            { /* Remove the prefix 0x40.  */
+              data++;
+              datalen--;
+            }
           err = stream_write_string (stream, data, datalen);
           if (err)
             goto out;


Summary of changes:
 agent/command-ssh.c | 5 +++++
 1 file changed, 5 insertions(+)

The GNU Privacy Guard

More information about the Gnupg-commits mailing list