Page MenuHome GnuPG

libgcryptProject
ActivePublic

Recent Activity

Thu, Dec 4

gniibe added a comment to T7894: libgcrypt, scute, gpgrt/argparse, gnupg/dirmngr: Hard-coded /etc.

@werner For rCd5e3cbfd , my mingw (GCC version 14) complains about the function-return-type difference of the prototype with GetProcAddress.

Thu, Dec 4, 7:19 AM · libgcrypt, scute, gpgrt, Bug Report

Fri, Nov 28

gniibe added a comment to T7894: libgcrypt, scute, gpgrt/argparse, gnupg/dirmngr: Hard-coded /etc.

Scute fixed in rSc3dc9c581631: w32: Use CSIDL_COMMON_APPDATA if available.

Fri, Nov 28, 6:13 AM · libgcrypt, scute, gpgrt, Bug Report

Thu, Nov 27

werner updated the task description for T7894: libgcrypt, scute, gpgrt/argparse, gnupg/dirmngr: Hard-coded /etc.
Thu, Nov 27, 11:44 AM · libgcrypt, scute, gpgrt, Bug Report

Wed, Nov 26

werner added a comment to T7894: libgcrypt, scute, gpgrt/argparse, gnupg/dirmngr: Hard-coded /etc.

Okay, forward porting that patch is the easiest solution. Actually this is not enough: Users of Libgcrypt also need to make sure that the new sysconfig dir has the right permissions. That's a part for the installer and concrete ACLs may differ.

Wed, Nov 26, 2:04 PM · libgcrypt, scute, gpgrt, Bug Report

Tue, Nov 25

gniibe added a comment to T7894: libgcrypt, scute, gpgrt/argparse, gnupg/dirmngr: Hard-coded /etc.

I examined the code of gnupg_sysconfdir in gnupg/common/homedir.c, if we could factor out things to gpgrt, so that something like gpgrt_fconcat with GPGRT_SYSCONFDIR can be implemented.

Tue, Nov 25, 3:10 AM · libgcrypt, scute, gpgrt, Bug Report

Wed, Nov 12

gniibe added a comment to T7894: libgcrypt, scute, gpgrt/argparse, gnupg/dirmngr: Hard-coded /etc.

I checked the code under gnupg/dirmngr. Those are no harm.

Wed, Nov 12, 6:31 AM · libgcrypt, scute, gpgrt, Bug Report

Fri, Nov 7

werner updated the task description for T7887: Release Libgcrypt 1.8.12.
Fri, Nov 7, 3:36 PM · libgcrypt, Release Info

Nov 6 2025

werner updated the task description for T6335: Release Libgcrypt 1.8.11.
Nov 6 2025, 4:28 PM · libgcrypt, Release Info
gniibe added a comment to T7633: libgcrypt fails to build on NetBSD due to the systems bswap32 macro defintion..

Applied to 1.11 branch.

Nov 6 2025, 2:33 AM · NetBSD, libgcrypt, Bug Report

Nov 5 2025

werner added a comment to T7894: libgcrypt, scute, gpgrt/argparse, gnupg/dirmngr: Hard-coded /etc.

I think this is correct even on Unix in case someone really uses /usr/local/etc (which I consider problematic). But for Windows we need to determine this at runtime.

Nov 5 2025, 3:49 PM · libgcrypt, scute, gpgrt, Bug Report
gniibe added a comment to T7894: libgcrypt, scute, gpgrt/argparse, gnupg/dirmngr: Hard-coded /etc.

For gpgrt/argparse this could be an option (to remove hard-coded /etc):

Nov 5 2025, 7:44 AM · libgcrypt, scute, gpgrt, Bug Report

Nov 3 2025

werner triaged T7894: libgcrypt, scute, gpgrt/argparse, gnupg/dirmngr: Hard-coded /etc as Normal priority.
Nov 3 2025, 4:47 PM · libgcrypt, scute, gpgrt, Bug Report

Oct 30 2025

gniibe added a comment to T7889: libgcrypt: HAVE_BROKEN_MLOCK.

Note that:
If we consider backporting this to 1.10/1.11 branch, we also need to apply: rCdef1d4ea8f66: random:jent: Fix build with address sanitizer.

Oct 30 2025, 2:31 AM · libgcrypt, Bug Report
gniibe added a comment to T7889: libgcrypt: HAVE_BROKEN_MLOCK.

@jukivili
Thanks for your feedback.

Oct 30 2025, 2:27 AM · libgcrypt, Bug Report
gniibe updated the task description for T7889: libgcrypt: HAVE_BROKEN_MLOCK.
Oct 30 2025, 2:21 AM · libgcrypt, Bug Report

Oct 29 2025

jukivili added a comment to T7889: libgcrypt: HAVE_BROKEN_MLOCK.

There's GCRYPT_IN_ASAN_TEST environment variable check in tests/t-secmen.c and tests/t-sexp.c. Are those check needed after this change? Could they be removed?

Oct 29 2025, 8:09 PM · libgcrypt, Bug Report
gniibe added a comment to T7889: libgcrypt: HAVE_BROKEN_MLOCK.

For the initial attempt, I push: rCfe06287003a1: secmem: Handle HAVE_BROKEN_MLOCK for the case with ASAN.
This is better than nothing.

Oct 29 2025, 7:48 AM · libgcrypt, Bug Report
gniibe claimed T7889: libgcrypt: HAVE_BROKEN_MLOCK.
Oct 29 2025, 7:36 AM · libgcrypt, Bug Report
gniibe created T7889: libgcrypt: HAVE_BROKEN_MLOCK.
Oct 29 2025, 7:36 AM · libgcrypt, Bug Report

Oct 28 2025

werner triaged T7887: Release Libgcrypt 1.8.12 as Normal priority.
Oct 28 2025, 8:51 AM · libgcrypt, Release Info

Aug 15 2025

gniibe changed the status of T7775: libgcrypt-1.11.2/mpi/mpi-add.c does not compile on PPC Mac OS X 10.5.8, Leopard, because of redefinition of typedefs from Open to Testing.
Aug 15 2025, 8:45 AM · ppc, MacOS, libgcrypt

Aug 12 2025

gniibe claimed T7775: libgcrypt-1.11.2/mpi/mpi-add.c does not compile on PPC Mac OS X 10.5.8, Leopard, because of redefinition of typedefs.
Aug 12 2025, 9:24 AM · ppc, MacOS, libgcrypt

Aug 11 2025

werner triaged T7775: libgcrypt-1.11.2/mpi/mpi-add.c does not compile on PPC Mac OS X 10.5.8, Leopard, because of redefinition of typedefs as Normal priority.
Aug 11 2025, 4:38 PM · ppc, MacOS, libgcrypt
gniibe closed T7617: libgcrypt: Add __nonstring__ attribute for data for GCC 15 or later as Resolved.

It's in master (to be 1.12), then, it's backported to 1.11.2, which is confirmed build well.
So, closing.

Aug 11 2025, 6:35 AM · libgcrypt, Bug Report

Aug 10 2025

werner closed T7721: libgcrypt build-error with gcc-15 on powerpc and alpha as Resolved.

Thanks for testing.

Aug 10 2025, 1:59 PM · libgcrypt, Bug Report

Aug 9 2025

ametzler1 added a comment to T7721: libgcrypt build-error with gcc-15 on powerpc and alpha.

Hello,
thank you all. I can confirm that 1.11.2 builds successfully on ppc64el with gcc-15 (Debian sid + experimental). Lacking access I have not be able to check alpha. I would suggest closing this report as fixed.
cu Andreas

Aug 9 2025, 10:51 AM · libgcrypt, Bug Report

Aug 5 2025

gniibe changed the status of T7721: libgcrypt build-error with gcc-15 on powerpc and alpha from Open to Testing.
Aug 5 2025, 7:57 AM · libgcrypt, Bug Report

Aug 4 2025

werner updated the task description for T7642: Release Libgcrypt 1.11.2.
Aug 4 2025, 2:38 PM · Release Info, libgcrypt
werner closed T7166: Release Libgcrypt 1.11.1 as Resolved.

1.11.2 has been release see T7642

Aug 4 2025, 2:37 PM · Release Info, libgcrypt
werner closed T7634: libgcrypt's test t-thread-local fails to link on some platforms. as Resolved.
Aug 4 2025, 2:36 PM · NetBSD, libgcrypt, Bug Report
werner closed T7642: Release Libgcrypt 1.11.2 as Resolved.

Release done.

Aug 4 2025, 2:35 PM · Release Info, libgcrypt
werner updated the task description for T7642: Release Libgcrypt 1.11.2.
Aug 4 2025, 2:35 PM · Release Info, libgcrypt

Jul 31 2025

gniibe added a comment to T7642: Release Libgcrypt 1.11.2.

I wonder about GCC 15 preparation for the release. If it's good to have, three patches are needed to apply:

Jul 31 2025, 10:08 AM · Release Info, libgcrypt

Jul 30 2025

jukivili added a comment to T7721: libgcrypt build-error with gcc-15 on powerpc and alpha.

Ok, thanks. I pushed the powerpc patches to master.

Jul 30 2025, 10:00 PM · libgcrypt, Bug Report
gniibe added a comment to T7721: libgcrypt build-error with gcc-15 on powerpc and alpha.

I pushed the longlong patch: rCb61a7661d017: mpi: Provide the function prototype of __udiv_qrnnd.

Jul 30 2025, 8:58 AM · libgcrypt, Bug Report

Jul 23 2025

gniibe added a comment to T7721: libgcrypt build-error with gcc-15 on powerpc and alpha.

IIUC, it's actually binutils version dependency (instead of GCC 15), perhaps.

Jul 23 2025, 7:18 AM · libgcrypt, Bug Report

Jul 21 2025

jukivili added a comment to T7721: libgcrypt build-error with gcc-15 on powerpc and alpha.

I tested Ubuntu's version of GCC-15 (powerpc64le cross-compiler) and did not see this build failure:

Jul 21 2025, 11:04 AM · libgcrypt, Bug Report

Jul 18 2025

ametzler1 added a comment to T7721: libgcrypt build-error with gcc-15 on powerpc and alpha.

For PowerISA 3.00 Instructions issue, following patch may help:

diff --git a/configure.ac b/configure.ac
index 6cc1e189..70d632af 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2448,10 +2448,11 @@ AC_CACHE_CHECK([whether GCC inline assembler supports PowerISA 3.00 instructions
         else
           gcry_cv_gcc_inline_asm_ppc_arch_3_00=no
           AC_LINK_IFELSE([AC_LANG_PROGRAM(
-          [[__asm__(".text\n\t"
+          [[__asm__(".machine        \"any\"\n"
+                    ".text\n\t"
                     ".globl testfn;\n"
                     "testfn:\n"
-                    "stxvb16x %r1,%v12,%v30;\n"
+                    "stxvb16x 47,0,9;\n"
                   );
             void testfn(void);
             ]], [ testfn(); ])],

I figured out that .machine "any" is needed with GCC 15.

Jul 18 2025, 12:08 PM · libgcrypt, Bug Report
gniibe added a comment to T7642: Release Libgcrypt 1.11.2.

I wonder about GCC 15 preparation for the release. If it's good to have, three patches are needed to apply:

Jul 18 2025, 6:55 AM · Release Info, libgcrypt
gniibe added a comment to T7721: libgcrypt build-error with gcc-15 on powerpc and alpha.

I figured out that .machine "any" is needed with GCC 15.

Jul 18 2025, 4:51 AM · libgcrypt, Bug Report
gniibe added a comment to T7721: libgcrypt build-error with gcc-15 on powerpc and alpha.

For Alpha (hppa, and sparc), IIUC, following patch may help:

Jul 18 2025, 4:33 AM · libgcrypt, Bug Report
gniibe claimed T7721: libgcrypt build-error with gcc-15 on powerpc and alpha.

For PowerISA 3.00 Instructions issue, following patch may help:

Jul 18 2025, 4:31 AM · libgcrypt, Bug Report

Jul 17 2025

gniibe closed T7623: gpgscm: Fix fixed-size characters (for portability, specifically for GCC 15 or later), a subtask of T7617: libgcrypt: Add __nonstring__ attribute for data for GCC 15 or later, as Resolved.
Jul 17 2025, 4:25 AM · libgcrypt, Bug Report

Jul 15 2025

ametzler1 added a comment to T7721: libgcrypt build-error with gcc-15 on powerpc and alpha.

The powerpc64le issue (undefined reference to `gcry_poly1305_p10le_4blocks') also applies to GIT master.

Jul 15 2025, 1:35 PM · libgcrypt, Bug Report
gniibe closed T7340: Introduced a context with thread local storage, a subtask of T7338: Revamp the FIPS service indicator, as Resolved.
Jul 15 2025, 7:27 AM · libgcrypt, FIPS, Feature Request
gniibe closed T7340: Introduced a context with thread local storage as Resolved.
Jul 15 2025, 7:27 AM · libgcrypt, FIPS, Feature Request

Jul 14 2025

werner renamed T7721: libgcrypt build-error with gcc-15 on powerpc and alpha from libgcrypt build-error with gcc-15 to libgcrypt build-error with gcc-15 on powerpc and alpha.
Jul 14 2025, 4:54 PM · libgcrypt, Bug Report
ametzler1 added a comment to T7721: libgcrypt build-error with gcc-15 on powerpc and alpha.

Sure that this is about 1.11.0 ? We released 1.11.1 with at least one fix for gcc regression (T7166). In master we had some more fixes for gcc 15 bugs (or what ever you will call such regression in a compiler)

Jul 14 2025, 3:23 PM · libgcrypt, Bug Report
werner added a project to T7721: libgcrypt build-error with gcc-15 on powerpc and alpha: libgcrypt.
Jul 14 2025, 2:44 PM · libgcrypt, Bug Report

Jun 17 2025

gniibe closed T7170: Building libgcrypt-1.11.0 produces a dylib with unresolved symbols at runtime as Resolved.

Done in 1.11.1.

Jun 17 2025, 2:30 AM · MacOS, libgcrypt, Bug Report