diff options
Diffstat (limited to '')
-rw-r--r-- | NEWS | 14 | ||||
-rw-r--r-- | agent/divert-scd.c | 2 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | g10/sign.c | 11 |
4 files changed, 22 insertions, 7 deletions
@@ -1,6 +1,18 @@ -Noteworthy changes in version 2.5.11 (unreleased) +Noteworthy changes in version 2.5.12 (unreleased) ------------------------------------------------- + + Release-info: https://dev.gnupg.org/T7756 + + +Noteworthy changes in version 2.5.11 (2025-07-30) +------------------------------------------------- + + * gpg: Fix a segv in key signing with notations introduced in + 2.5.10. [T7754] + + * agent: Fix for smartcard decryption with Brainpool keys. [T7709] + Release-info: https://dev.gnupg.org/T7743 diff --git a/agent/divert-scd.c b/agent/divert-scd.c index e0b5164b5..cd80f09f1 100644 --- a/agent/divert-scd.c +++ b/agent/divert-scd.c @@ -518,7 +518,7 @@ agent_card_ecc_kem (ctrl_t ctrl, const unsigned char *ecc_ct, if (len == ecc_point_len) memcpy (ecc_ecdh, ecdh, len); else if (len && (len - 1) * 2 == ecc_point_len - 1 - && (ecdh[0] & ~1) == 0x02) + && (ecdh[0] == 0x41 || (ecdh[0] & ~1) == 0x02)) { /* It's x-coordinate-only (compressed) point representation. */ memcpy (ecc_ecdh, ecdh, len); diff --git a/configure.ac b/configure.ac index 023604b8a..eb9a0f1af 100644 --- a/configure.ac +++ b/configure.ac @@ -29,7 +29,7 @@ min_automake_version="1.16.3" m4_define([mym4_package],[gnupg]) m4_define([mym4_major], [2]) m4_define([mym4_minor], [5]) -m4_define([mym4_micro], [11]) +m4_define([mym4_micro], [12]) # To start a new development series, i.e a new major or minor number # you need to mark an arbitrary commit before the first beta release diff --git a/g10/sign.c b/g10/sign.c index b3bda581c..2ba30f09c 100644 --- a/g10/sign.c +++ b/g10/sign.c @@ -125,10 +125,13 @@ mk_notation_policy_etc (ctrl_t ctrl, PKT_signature *sig, xfree (item->altvalue); item->altvalue = NULL; } - /* Restore the original nd and release ndmanu. */ - nd = ndmanu; - ndmanu->next = NULL; - free_notation (ndmanu); + if (with_manu) + { + /* Restore the original nd and release ndmanu. */ + nd = ndmanu; + ndmanu->next = NULL; + free_notation (ndmanu); + } } /* Set policy URL. */ |