Page MenuHome GnuPG
Feed Advanced Search

Feb 17 2021

werner closed T5306: doc: Fix swapped constants as Resolved.

Thanks. A few hours too late for 1.9.2.

Feb 17 2021, 5:55 PM · libgcrypt
Jakuje added a project to T5306: doc: Fix swapped constants: libgcrypt.
Feb 17 2021, 1:13 PM · libgcrypt
werner closed T5276: Release Libgcrypt 1.9.2, a subtask of T5277: libgcrypt 1.9.1 fails to build with --disable-asm, as Resolved.
Feb 17 2021, 9:47 AM · MacOS, libgcrypt, Bug Report
werner closed T5276: Release Libgcrypt 1.9.2 as Resolved.
Feb 17 2021, 9:47 AM · Release Info, libgcrypt
werner updated the task description for T5276: Release Libgcrypt 1.9.2.
Feb 17 2021, 9:44 AM · Release Info, libgcrypt
werner created T5305: Release Libgcrypt 1.9.3.
Feb 17 2021, 9:25 AM · Release Info, libgcrypt
werner closed T5263: cipher/sha512.c: build failure without arm neon asm as Resolved.
Feb 17 2021, 8:53 AM · libgcrypt, Bug Report
werner removed a project from T5282: ecc: No check for broken public key when verify signature (ECDSA, ECDSA for SM and GOST): backport.
Feb 17 2021, 8:53 AM · libgcrypt
werner closed T5282: ecc: No check for broken public key when verify signature (ECDSA, ECDSA for SM and GOST) as Resolved.

Backport was done with commit rC1d312bc65846 (for unknown reasons it did not show up in the list of bugs related to this bug; I added it by hand). Fix will go into 1.8.8.

Feb 17 2021, 8:52 AM · libgcrypt
werner closed T5270: gpg-agent crashes during signing: free(): invalid pointer as Resolved.
Feb 17 2021, 8:47 AM · libgcrypt, gpgagent, Bug Report
werner moved T5276: Release Libgcrypt 1.9.2 from Backlog to For 1.9 on the libgcrypt board.
Feb 17 2021, 8:46 AM · Release Info, libgcrypt
werner closed T5264: libgcrypt 1.9.0 does not compile on old Mac OS X, versions 10.5.8 (Leopard) and 10.4.11 (Tiger), both on PPC hardware as Resolved.

The mix up of external patches and commits makes it not easy to see what has been fixed. AFAICS rC3d095206c30d fixes the last bug mentioned by @ballapete on Jan 26.

Feb 17 2021, 8:35 AM · libgcrypt, Bug Report
werner closed T5267: Ed25519 backward compatible private key support for preceding ZERO(s) as Resolved.
Feb 17 2021, 8:27 AM · libgcrypt
werner closed T5257: 32 bit cross build fails on asm code in gcrypt 1.9.0 as Resolved.
Feb 17 2021, 8:26 AM · Bug Report, Cross-Compiler, libgcrypt
werner closed T5269: failure of modular inverse as Resolved.
Feb 17 2021, 8:26 AM · libgcrypt

Feb 14 2021

Marius_Schamschula added a comment to T5268: macOS getentropy.

Backward compatibility fixed using the MacPorts legacysupport PortGroup:
https://github.com/macports/macports-ports/commit/74b50424649a7c657521140fcd7f92ba79a3cec5

Feb 14 2021, 2:09 AM · libgcrypt, MacOS

Feb 13 2021

Marius_Schamschula added a comment to T5268: macOS getentropy.

This approach is too simplistic. See Ryan Schmidt's and Joshua Root's comments in https://trac.macports.org/ticket/62278

Feb 13 2021, 12:35 PM · libgcrypt, MacOS

Feb 12 2021

werner changed the status of T5277: libgcrypt 1.9.1 fails to build with --disable-asm from Open to Testing.

A beta release is available as https://gnupg.org/ftp/gcrypt/alpha/libgcrypt/libgcrypt-1.9.2-beta16.tar.bz2 (https://gnupg.org/ftp/gcrypt/alpha/libgcrypt/libgcrypt-1.9.2-beta16.tar.bz2.sig).

Feb 12 2021, 12:37 PM · MacOS, libgcrypt, Bug Report
werner closed T5259: Release Libgcrypt 1.9.1 as Resolved.
Feb 12 2021, 12:34 PM · Release Info, libgcrypt
werner closed T5259: Release Libgcrypt 1.9.1, a subtask of T5157: libgcrypt: ARM64 Builds on macOS fail, as Resolved.
Feb 12 2021, 12:34 PM · toolchain, MacOS, libgcrypt, Bug Report
werner closed T5259: Release Libgcrypt 1.9.1, a subtask of T5257: 32 bit cross build fails on asm code in gcrypt 1.9.0, as Resolved.
Feb 12 2021, 12:34 PM · Bug Report, Cross-Compiler, libgcrypt
werner closed T5259: Release Libgcrypt 1.9.1, a subtask of T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac, as Resolved.
Feb 12 2021, 12:34 PM · Restricted Project, MacOS, libgcrypt, Bug Report
werner closed T5259: Release Libgcrypt 1.9.1, a subtask of T5251: Compile error on ARMv7 for libgcrypt , as Resolved.
Feb 12 2021, 12:34 PM · asm, libgcrypt, Bug Report
werner closed T5259: Release Libgcrypt 1.9.1, a subtask of T5255: libgcrypt: build "error: invalid operand for instruction" when compiling with Clang & LTO, as Resolved.
Feb 12 2021, 12:34 PM · asm, libgcrypt, clang, Bug Report
werner closed T5259: Release Libgcrypt 1.9.1, a subtask of T5254: libgcrypt 1.9.0 fails make check (selftest), as Resolved.
Feb 12 2021, 12:34 PM · patch, libgcrypt, Bug Report
werner closed T5259: Release Libgcrypt 1.9.1, a subtask of T5243: libgcrypt "check if fips_is_operational and error return if not" patch for FIPS 140, as Resolved.
Feb 12 2021, 12:34 PM · libgcrypt
werner closed T5259: Release Libgcrypt 1.9.1, a subtask of T5263: cipher/sha512.c: build failure without arm neon asm, as Resolved.
Feb 12 2021, 12:34 PM · libgcrypt, Bug Report
werner closed T5259: Release Libgcrypt 1.9.1, a subtask of T5268: macOS getentropy, as Resolved.
Feb 12 2021, 12:34 PM · libgcrypt, MacOS
werner closed T5259: Release Libgcrypt 1.9.1, a subtask of T5269: failure of modular inverse, as Resolved.
Feb 12 2021, 12:34 PM · libgcrypt
werner closed T5259: Release Libgcrypt 1.9.1, a subtask of T5267: Ed25519 backward compatible private key support for preceding ZERO(s), as Resolved.
Feb 12 2021, 12:34 PM · libgcrypt
werner closed T5259: Release Libgcrypt 1.9.1, a subtask of T5264: libgcrypt 1.9.0 does not compile on old Mac OS X, versions 10.5.8 (Leopard) and 10.4.11 (Tiger), both on PPC hardware, as Resolved.
Feb 12 2021, 12:34 PM · libgcrypt, Bug Report
werner closed T5259: Release Libgcrypt 1.9.1, a subtask of T5271: libgcrypt 1.9.0 compilation fails on Ubuntu xenial, as Resolved.
Feb 12 2021, 12:34 PM · Ubuntu, Bug Report, libgcrypt
werner closed T5259: Release Libgcrypt 1.9.1, a subtask of T5275: Exploitable overflow in Libgcrypt 1.9.0, as Resolved.
Feb 12 2021, 12:34 PM · CVE, libgcrypt

Feb 9 2021

werner triaged T5286: Calculate Z hash for sm2 as Low priority.

We need more information on the why and when of this change. We don't want to maintain different versions of the same algorithm. The I-D expired more than 6 years ago and thus it should not be used as a reference.

Feb 9 2021, 7:58 AM · Not A Bug, Info Needed, libgcrypt, Feature Request

Feb 6 2021

jukivili closed T5256: libgcrypt, convert Intel syntax x86_64 assembly files to AT&T syntax as Resolved.

Problem with clang and these files was resolved by replacement of assembler macros with C preprocessor macros.

Feb 6 2021, 12:47 PM · asm, clang, libgcrypt
jukivili closed T5256: libgcrypt, convert Intel syntax x86_64 assembly files to AT&T syntax, a subtask of T5255: libgcrypt: build "error: invalid operand for instruction" when compiling with Clang & LTO, as Resolved.
Feb 6 2021, 12:47 PM · asm, libgcrypt, clang, Bug Report

Feb 5 2021

bevan added a comment to T5277: libgcrypt 1.9.1 fails to build with --disable-asm.

Looks like this has been addressed in af23ab5c5482d625ff52e60606cf044e2b0106c8. A quick test building the current version in master with --disable-asm worked for me.

Feb 5 2021, 1:29 PM · MacOS, libgcrypt, Bug Report
shaoyj added a comment to T5286: Calculate Z hash for sm2.

https://tools.ietf.org/html/draft-shen-sm2-ecdsa-02
Section 5.1.4.4

Feb 5 2021, 8:03 AM · Not A Bug, Info Needed, libgcrypt, Feature Request
shaoyj created T5286: Calculate Z hash for sm2.
Feb 5 2021, 7:27 AM · Not A Bug, Info Needed, libgcrypt, Feature Request

Feb 3 2021

werner closed T5275: Exploitable overflow in Libgcrypt 1.9.0 as Resolved.
Feb 3 2021, 8:07 AM · CVE, libgcrypt

Feb 2 2021

gniibe added a comment to T5268: macOS getentropy.

So, the change against libgcrypt 1.9.1 will be:

Feb 2 2021, 7:27 AM · libgcrypt, MacOS
gniibe added a comment to T5268: macOS getentropy.

I got hit of search by "$ld$weak$os10.11$_getentropy".
So, I guess that it's 10.11 which has _getentropy as weak symbol, and 10.12 or later has implementation.

Feb 2 2021, 7:09 AM · libgcrypt, MacOS
ballapete added a comment to T5268: macOS getentropy.

There is some (partly) good news: The function getentropy() is available in the packet manager MacPorts. It has a legacy support:

Feb 2 2021, 12:52 AM · libgcrypt, MacOS

Feb 1 2021

Marius_Schamschula added a comment to T5277: libgcrypt 1.9.1 fails to build with --disable-asm.

Unfortunately, building without "--disable-asm" does not work if building a universal package under MacPorts (e.g. 32bit and 64bit x86 or 64bit x86 and arm64).

Feb 1 2021, 10:34 PM · MacOS, libgcrypt, Bug Report
ballapete added a comment to T5268: macOS getentropy.

To do that, I'd like to know, when the symbol getentropy was added.

Feb 1 2021, 9:40 PM · libgcrypt, MacOS
werner added a project to T5282: ecc: No check for broken public key when verify signature (ECDSA, ECDSA for SM and GOST): backport.

I think that a backport to 1.8. also makes sense

Feb 1 2021, 11:17 AM · libgcrypt
gniibe added a comment to T5282: ecc: No check for broken public key when verify signature (ECDSA, ECDSA for SM and GOST).

Here is a patch adding those checks:

diff --git a/cipher/ecc-ecdsa.c b/cipher/ecc-ecdsa.c
index d540578e..30103f14 100644
--- a/cipher/ecc-ecdsa.c
+++ b/cipher/ecc-ecdsa.c
@@ -172,6 +172,9 @@ _gcry_ecc_ecdsa_verify (gcry_mpi_t input, mpi_ec_t ec,
   mpi_point_struct Q, Q1, Q2;
   unsigned int nbits;
Feb 1 2021, 8:14 AM · libgcrypt
gniibe created T5282: ecc: No check for broken public key when verify signature (ECDSA, ECDSA for SM and GOST).
Feb 1 2021, 8:13 AM · libgcrypt
patrick added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

no, that doesn't change anything.

Feb 1 2021, 8:00 AM · toolchain, MacOS, libgcrypt, Bug Report
gniibe added a parent task for T5276: Release Libgcrypt 1.9.2: T5277: libgcrypt 1.9.1 fails to build with --disable-asm.
Feb 1 2021, 2:14 AM · Release Info, libgcrypt
gniibe added a subtask for T5277: libgcrypt 1.9.1 fails to build with --disable-asm: T5276: Release Libgcrypt 1.9.2.
Feb 1 2021, 2:14 AM · MacOS, libgcrypt, Bug Report
gniibe added a comment to T5268: macOS getentropy.

Wouldn't it be better to move these failures as a single one into the configure script that it definitely can tell "This Mac has getentropy()"?

Feb 1 2021, 1:53 AM · libgcrypt, MacOS

Jan 31 2021

jukivili added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

Does it build if configure with parameter 'ac_cv_sys_symbol_underscore=yes'? <path-to-libgcrypt-source>/configure ac_cv_sys_symbol_underscore=yes --host=aarch64-apple-darwin ...

Jan 31 2021, 7:32 PM · toolchain, MacOS, libgcrypt, Bug Report

Jan 30 2021

patrick added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

Compiling now works, but I get the following linker errors:

Jan 30 2021, 5:15 PM · toolchain, MacOS, libgcrypt, Bug Report
thesamesam added a comment to T5277: libgcrypt 1.9.1 fails to build with --disable-asm.

@jukivili Thanks for the reply! We've reverted that commit downstream in Gentoo as a temporary workaround, as due to some complications, our release systems needed to build without asm (for now) to ensure portability. Rest assured, this is not the default, and is discouraged for regular users.

Jan 30 2021, 12:17 PM · MacOS, libgcrypt, Bug Report

Jan 29 2021

outer closed T5254: libgcrypt 1.9.0 fails make check (selftest) as Resolved.
Jan 29 2021, 6:48 PM · patch, libgcrypt, Bug Report
outer added a comment to T5254: libgcrypt 1.9.0 fails make check (selftest).

Latext 1.9.1 builds without any unreported workarounds. Done. Close.

Jan 29 2021, 6:44 PM · patch, libgcrypt, Bug Report
bevan added a comment to T5277: libgcrypt 1.9.1 fails to build with --disable-asm.

Building without "--disable-asm" works without any issues.

Jan 29 2021, 5:25 PM · MacOS, libgcrypt, Bug Report
jukivili added a comment to T5277: libgcrypt 1.9.1 fails to build with --disable-asm.

Thanks for your report.

Jan 29 2021, 5:22 PM · MacOS, libgcrypt, Bug Report
whissi added a comment to T5277: libgcrypt 1.9.1 fails to build with --disable-asm.

FYI, this is not just an MacOS issue. We see that also on Gentoo Linux:

Jan 29 2021, 5:09 PM · MacOS, libgcrypt, Bug Report
werner triaged T5277: libgcrypt 1.9.1 fails to build with --disable-asm as Normal priority.
Jan 29 2021, 4:43 PM · MacOS, libgcrypt, Bug Report
werner changed External Link from https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000455.html to https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000456.html on T5275: Exploitable overflow in Libgcrypt 1.9.0.
Jan 29 2021, 12:34 PM · CVE, libgcrypt
werner removed Due Date on T5259: Release Libgcrypt 1.9.1.
Jan 29 2021, 12:27 PM · Release Info, libgcrypt
werner set External Link to https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000456.html on T5259: Release Libgcrypt 1.9.1.
Jan 29 2021, 12:27 PM · Release Info, libgcrypt
ballapete added a comment to T5268: macOS getentropy.

Wouldn't it be better to move these failures as a single one into the configure script that it definitely can tell "This Mac has getentropy()"?

Jan 29 2021, 11:37 AM · libgcrypt, MacOS
werner triaged T5263: cipher/sha512.c: build failure without arm neon asm as Normal priority.
Jan 29 2021, 11:30 AM · libgcrypt, Bug Report
werner closed T5271: libgcrypt 1.9.0 compilation fails on Ubuntu xenial as Resolved.
Jan 29 2021, 11:27 AM · Ubuntu, Bug Report, libgcrypt
werner changed the status of T5275: Exploitable overflow in Libgcrypt 1.9.0 from Open to Testing.

Fix has been released. Keeping this in testing state for easier visibility of this task.

Jan 29 2021, 11:27 AM · CVE, libgcrypt
ballapete added a comment to T5268: macOS getentropy.

I applied the two patches on Mac OS X 10.5.8, Leopard, to random/rndlinux.c, resulting in this unified diff:

Jan 29 2021, 11:25 AM · libgcrypt, MacOS
werner changed the status of T5259: Release Libgcrypt 1.9.1, a subtask of T5157: libgcrypt: ARM64 Builds on macOS fail, from Open to Testing.
Jan 29 2021, 11:25 AM · toolchain, MacOS, libgcrypt, Bug Report
werner changed the status of T5259: Release Libgcrypt 1.9.1, a subtask of T5243: libgcrypt "check if fips_is_operational and error return if not" patch for FIPS 140, from Open to Testing.
Jan 29 2021, 11:25 AM · libgcrypt
werner changed the status of T5259: Release Libgcrypt 1.9.1, a subtask of T5251: Compile error on ARMv7 for libgcrypt , from Open to Testing.
Jan 29 2021, 11:25 AM · asm, libgcrypt, Bug Report
werner changed the status of T5259: Release Libgcrypt 1.9.1, a subtask of T5254: libgcrypt 1.9.0 fails make check (selftest), from Open to Testing.
Jan 29 2021, 11:25 AM · patch, libgcrypt, Bug Report
werner changed the status of T5259: Release Libgcrypt 1.9.1 from Open to Testing.

Release done.

Jan 29 2021, 11:25 AM · Release Info, libgcrypt
werner changed the status of T5259: Release Libgcrypt 1.9.1, a subtask of T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac, from Open to Testing.
Jan 29 2021, 11:25 AM · Restricted Project, MacOS, libgcrypt, Bug Report
werner changed the status of T5259: Release Libgcrypt 1.9.1, a subtask of T5264: libgcrypt 1.9.0 does not compile on old Mac OS X, versions 10.5.8 (Leopard) and 10.4.11 (Tiger), both on PPC hardware, from Open to Testing.
Jan 29 2021, 11:25 AM · libgcrypt, Bug Report
werner changed the status of T5259: Release Libgcrypt 1.9.1, a subtask of T5267: Ed25519 backward compatible private key support for preceding ZERO(s), from Open to Testing.
Jan 29 2021, 11:25 AM · libgcrypt
werner changed the status of T5259: Release Libgcrypt 1.9.1, a subtask of T5257: 32 bit cross build fails on asm code in gcrypt 1.9.0, from Open to Testing.
Jan 29 2021, 11:25 AM · Bug Report, Cross-Compiler, libgcrypt
werner changed the status of T5259: Release Libgcrypt 1.9.1, a subtask of T5263: cipher/sha512.c: build failure without arm neon asm, from Open to Testing.
Jan 29 2021, 11:25 AM · libgcrypt, Bug Report
werner changed the status of T5259: Release Libgcrypt 1.9.1, a subtask of T5255: libgcrypt: build "error: invalid operand for instruction" when compiling with Clang & LTO, from Open to Testing.
Jan 29 2021, 11:25 AM · asm, libgcrypt, clang, Bug Report
werner changed the status of T5259: Release Libgcrypt 1.9.1, a subtask of T5271: libgcrypt 1.9.0 compilation fails on Ubuntu xenial, from Open to Testing.
Jan 29 2021, 11:25 AM · Ubuntu, Bug Report, libgcrypt
werner changed the status of T5259: Release Libgcrypt 1.9.1, a subtask of T5269: failure of modular inverse, from Open to Testing.
Jan 29 2021, 11:25 AM · libgcrypt
werner changed the status of T5259: Release Libgcrypt 1.9.1, a subtask of T5268: macOS getentropy, from Open to Testing.
Jan 29 2021, 11:25 AM · libgcrypt, MacOS
werner changed the status of T5259: Release Libgcrypt 1.9.1, a subtask of T5275: Exploitable overflow in Libgcrypt 1.9.0, from Open to Testing.
Jan 29 2021, 11:25 AM · CVE, libgcrypt
werner updated the task description for T5259: Release Libgcrypt 1.9.1.
Jan 29 2021, 11:24 AM · Release Info, libgcrypt
werner created T5276: Release Libgcrypt 1.9.2.
Jan 29 2021, 11:07 AM · Release Info, libgcrypt
werner added a parent task for T5259: Release Libgcrypt 1.9.1: T5271: libgcrypt 1.9.0 compilation fails on Ubuntu xenial.
Jan 29 2021, 10:21 AM · Release Info, libgcrypt
werner added a subtask for T5271: libgcrypt 1.9.0 compilation fails on Ubuntu xenial: T5259: Release Libgcrypt 1.9.1.
Jan 29 2021, 10:21 AM · Ubuntu, Bug Report, libgcrypt
werner removed a subtask for T5259: Release Libgcrypt 1.9.1: T5271: libgcrypt 1.9.0 compilation fails on Ubuntu xenial.
Jan 29 2021, 10:20 AM · Release Info, libgcrypt
werner removed a parent task for T5271: libgcrypt 1.9.0 compilation fails on Ubuntu xenial: T5259: Release Libgcrypt 1.9.1.
Jan 29 2021, 10:20 AM · Ubuntu, Bug Report, libgcrypt
werner added a subtask for T5275: Exploitable overflow in Libgcrypt 1.9.0: T5259: Release Libgcrypt 1.9.1.
Jan 29 2021, 10:14 AM · CVE, libgcrypt
werner added a parent task for T5259: Release Libgcrypt 1.9.1: T5275: Exploitable overflow in Libgcrypt 1.9.0.
Jan 29 2021, 10:14 AM · Release Info, libgcrypt
werner created T5275: Exploitable overflow in Libgcrypt 1.9.0.
Jan 29 2021, 10:13 AM · CVE, libgcrypt
werner updated the task description for T4294: Release Libgcrypt 1.9.0.
Jan 29 2021, 9:06 AM · Release Info, libgcrypt
gniibe added a comment to T5259: Release Libgcrypt 1.9.1.

I linked all related tasks for the release of 1.9.1, so that making release notes can be easier and recording information here.

Jan 29 2021, 1:35 AM · Release Info, libgcrypt
gniibe added a parent task for T5259: Release Libgcrypt 1.9.1: T5243: libgcrypt "check if fips_is_operational and error return if not" patch for FIPS 140.
Jan 29 2021, 1:30 AM · Release Info, libgcrypt
gniibe added a subtask for T5243: libgcrypt "check if fips_is_operational and error return if not" patch for FIPS 140: T5259: Release Libgcrypt 1.9.1.
Jan 29 2021, 1:30 AM · libgcrypt
gniibe added a parent task for T5259: Release Libgcrypt 1.9.1: T5257: 32 bit cross build fails on asm code in gcrypt 1.9.0.
Jan 29 2021, 1:28 AM · Release Info, libgcrypt
gniibe added a subtask for T5257: 32 bit cross build fails on asm code in gcrypt 1.9.0: T5259: Release Libgcrypt 1.9.1.
Jan 29 2021, 1:28 AM · Bug Report, Cross-Compiler, libgcrypt
gniibe added a parent task for T5259: Release Libgcrypt 1.9.1: T5255: libgcrypt: build "error: invalid operand for instruction" when compiling with Clang & LTO.
Jan 29 2021, 1:11 AM · Release Info, libgcrypt