Page MenuHome GnuPG
Feed Advanced Search

Tue, Feb 10

gniibe added a comment to T8066: gpgrt: Static linking support.

Investigating GNU ld, I learned that there is no easy way (~= no way) to suppress the warnings (other than 2>/dev/null). It was implemented by the special section named gnu.warning.SYM where SYM is a symbol. I think that this is not-so-good for glibc to notify its users about possible static link problem, by gnu.warning.SYM.

Tue, Feb 10, 2:42 AM · Linux, Feature Request, gpgrt

Wed, Feb 4

gniibe claimed T8052: GnuPG: First listing of secret keys is empty.

I found two issues in libgpg-error for spawning functions.

Wed, Feb 4, 7:21 AM · gpgrt, Bug Report, gpgagent, gpd5x, gnupg26
gniibe added a comment to T8065: gnupg self test hang: clean migration.

POSIX documentation never says that PSHARED=0 prevents sharing among processes. In my opinion, it still conforms to POSIX even when a PSHARED=0 semaphore can be shared between parent and child processes.

Wed, Feb 4, 1:29 AM · gpgrt, NetBSD, gnupg26, Bug Report

Tue, Feb 3

wiz added a comment to T8065: gnupg self test hang: clean migration.

I've tried the new patch in my environment, and it fixes the gnupg HEAD self tests as well. Thank you!

Tue, Feb 3, 10:51 AM · gpgrt, NetBSD, gnupg26, Bug Report
gniibe changed the status of T8065: gnupg self test hang: clean migration from Open to Testing.
Tue, Feb 3, 6:48 AM · gpgrt, NetBSD, gnupg26, Bug Report
gniibe added a project to T8065: gnupg self test hang: clean migration: gpgrt.

In tests/migrations, (unlike tests/openpgp and tests/cms), the tests do not prepare gpg-agent, but it is gpg which invokes gpg-agent if needed.
Because of that, on NetBSD (where POSIX semaphore has a different semantics), it hangs with gpg --list-secret-key, when gpg tries to spawn the gpg-agent process.
In the old code of 2.4, it simply ignore the npth_protect and npth_unprotect when calling fork to spawn a process.
New code in libgpg-error cares about npth_protect and npth_unprotect but it was not sufficient; We need to care about NetBSD's semantics. Child process should not call npth_protect. With shared semantics, child process's calling npth_protect affects to cause parent process: it hangs.

Tue, Feb 3, 6:48 AM · gpgrt, NetBSD, gnupg26, Bug Report

Fri, Jan 30

gniibe added a comment to T8066: gpgrt: Static linking support.

TL;DR
This ticket was created because building static-linked gpgv shows warnings from glibc for getpwnam and getpwuid.
Basically, we can/should ignore the warnings from glibc at link time (for normal use cases), because it is irrelevant.

Fri, Jan 30, 2:19 AM · Linux, Feature Request, gpgrt

Thu, Jan 29

werner triaged T8066: gpgrt: Static linking support as Low priority.

Let us mark this as a feature requests. gepwnam(3) is a standard libc function and if glibc does not support it; this is more likely a glibc bug than a bug in an application.

Thu, Jan 29, 2:26 PM · Linux, Feature Request, gpgrt
wiz added a comment to T6275: gnupg26: Improve gnupg_spawn_process function.

It seems this broke the self tests (and gpgme, and notmuch) on NetBSD: https://dev.gnupg.org/T8065

Thu, Jan 29, 2:09 PM · gnupg, libassuan, gpgrt
gniibe created T8066: gpgrt: Static linking support.
Thu, Jan 29, 5:21 AM · Linux, Feature Request, gpgrt

Jan 9 2026

werner edited projects for T6421: Improve error message if no reset code (PUK) is set, added: gnupg26; removed gnupg22, gnupg24.

I think we won't fix that for 2.2

Jan 9 2026, 11:32 AM · gnupg26, Feature Request, gpgrt

Dec 12 2025

werner updated the task description for T7970: Release GpgRT 1.58.
Dec 12 2025, 3:45 PM · gpgrt, Release Info
werner triaged T7974: Release GpgRT 1.59 as Normal priority.
Dec 12 2025, 3:42 PM · gpgrt, Release Info

Dec 10 2025

werner closed T7625: Release GpgRT 1.56 as Resolved.
Dec 10 2025, 1:45 PM · Release Info, gpgrt
werner updated the task description for T7847: Release GpgRT 1.57.
Dec 10 2025, 1:45 PM · Release Info, gpgrt
werner triaged T7970: Release GpgRT 1.58 as Normal priority.
Dec 10 2025, 1:39 PM · gpgrt, Release Info

Dec 9 2025

werner closed T5005: Unified single header file if it offers same API as Wontfix.
Dec 9 2025, 2:41 PM · libassuan, gpgrt
werner closed T7478: _gpg_close_all_fds hangs on nwer Linux systems in a simple chroot w/o /proc/self/fd as Resolved.
Dec 9 2025, 2:39 PM · Linux, gnupg, gpgrt, Bug Report
werner added a comment to T7894: libgcrypt, scute, gpgrt/argparse, gnupg/dirmngr: Hard-coded /etc.

gpgrt 1.57 will come with gpgrt_fconcat. This can be used to get the sysconfig in a portable way:

Dec 9 2025, 11:51 AM · libgcrypt, scute, gpgrt, Bug Report

Dec 4 2025

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.

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

Nov 28 2025

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.

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

Nov 27 2025

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

Nov 26 2025

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.

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

Nov 25 2025

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.

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

Nov 20 2025

gniibe changed the status of T7720: w32: Synchronous spawning gpg-agent/dirmngr/keyboxd, a subtask of T7716: gpgrt:w32: Synchronous spawning detached process, with standard input and standard error, from Open to Testing.
Nov 20 2025, 7:07 AM · gpgrt, Feature Request, Bug Report
gniibe closed T7716: gpgrt:w32: Synchronous spawning detached process, with standard input and standard error as Resolved.
Nov 20 2025, 7:06 AM · gpgrt, Feature Request, Bug Report
gniibe added a comment to T7716: gpgrt:w32: Synchronous spawning detached process, with standard input and standard error.

For GnuPG, applied the change to master: rG57affc4e98ab: common,agent,dirmngr,kbx:w32: Synchronous spawning daemon process.

Nov 20 2025, 7:00 AM · gpgrt, Feature Request, Bug Report

Nov 12 2025

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.

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

Nov 6 2025

gniibe closed T7194: gnupg_ -> gpgrt_ : Pipe API as Resolved.
Nov 6 2025, 1:55 AM · gpgrt, gnupg

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 8 2025

gniibe closed T7723: gpgrt:w32: Fix for inheriting stdin/stdout/stderr with "NUL", a subtask of T7716: gpgrt:w32: Synchronous spawning detached process, with standard input and standard error, as Resolved.
Oct 8 2025, 9:09 AM · gpgrt, Feature Request, Bug Report
gniibe closed T7723: gpgrt:w32: Fix for inheriting stdin/stdout/stderr with "NUL" as Resolved.

Fixed in 1.56.

Oct 8 2025, 9:09 AM · Windows, gpgrt, Feature Request, Bug Report
gniibe closed T7696: POSIX: spawn fixes as Resolved.
Oct 8 2025, 9:05 AM · gpgrt, Bug Report

Oct 7 2025

werner updated the task description for T7625: Release GpgRT 1.56.
Oct 7 2025, 5:38 PM · Release Info, gpgrt
werner triaged T7847: Release GpgRT 1.57 as Low priority.
Oct 7 2025, 5:34 PM · Release Info, gpgrt

Jul 18 2025

gniibe changed the status of T7723: gpgrt:w32: Fix for inheriting stdin/stdout/stderr with "NUL" from Open to Testing.
Jul 18 2025, 9:04 AM · Windows, gpgrt, Feature Request, Bug Report
gniibe changed the status of T7723: gpgrt:w32: Fix for inheriting stdin/stdout/stderr with "NUL", a subtask of T7716: gpgrt:w32: Synchronous spawning detached process, with standard input and standard error, from Open to Testing.
Jul 18 2025, 9:04 AM · gpgrt, Feature Request, Bug Report
gniibe changed the status of T7716: gpgrt:w32: Synchronous spawning detached process, with standard input and standard error from Open to Testing.
Jul 18 2025, 9:04 AM · gpgrt, Feature Request, Bug Report

Jul 17 2025

gniibe closed T7623: gpgscm: Fix fixed-size characters (for portability, specifically for GCC 15 or later) as Resolved.
Jul 17 2025, 4:25 AM · gnupg, gpgrt, Bug Report

Jul 16 2025

gniibe added a comment to T7723: gpgrt:w32: Fix for inheriting stdin/stdout/stderr with "NUL".

Fixed with new GPGRT_PROCESS_STDIO_NUL flag.

Jul 16 2025, 3:34 AM · Windows, gpgrt, Feature Request, Bug Report

Jul 15 2025

gniibe added a comment to T7716: gpgrt:w32: Synchronous spawning detached process, with standard input and standard error.

Pushed the changes:

T7723 fix by rE311fb769d1dd: w32:spawn: New flag GPGRT_PROCESS_STDIO_NUL.

Jul 15 2025, 8:47 AM · gpgrt, Feature Request, Bug Report
gniibe added a comment to T7716: gpgrt:w32: Synchronous spawning detached process, with standard input and standard error.

Before implementing this feature, it's better to fix T7723: gpgrt:w32: Fix for inheriting stdin/stdout/stderr with "NUL", and do some clean up.

Jul 15 2025, 8:35 AM · gpgrt, Feature Request, Bug Report
gniibe updated the task description for T7723: gpgrt:w32: Fix for inheriting stdin/stdout/stderr with "NUL".
Jul 15 2025, 8:21 AM · Windows, gpgrt, Feature Request, Bug Report
gniibe updated the task description for T7723: gpgrt:w32: Fix for inheriting stdin/stdout/stderr with "NUL".
Jul 15 2025, 7:53 AM · Windows, gpgrt, Feature Request, Bug Report
gniibe added a comment to T7723: gpgrt:w32: Fix for inheriting stdin/stdout/stderr with "NUL".

If we will fix gpgconf using GPGRT_PROCESS_STDIO_NUL, we will need to fix gpg-connect-agent to see if it's NUL or not.

Jul 15 2025, 7:52 AM · Windows, gpgrt, Feature Request, Bug Report
gniibe triaged T7723: gpgrt:w32: Fix for inheriting stdin/stdout/stderr with "NUL" as Wishlist priority.
Jul 15 2025, 7:50 AM · Windows, gpgrt, Feature Request, Bug Report

Jul 11 2025

gniibe added a comment to T7716: gpgrt:w32: Synchronous spawning detached process, with standard input and standard error.

Here is an experimental change to support the feature.

Jul 11 2025, 10:50 AM · gpgrt, Feature Request, Bug Report
gniibe renamed T7716: gpgrt:w32: Synchronous spawning detached process, with standard input and standard error from gpgrt:w32: Spawn detached process, with standard input and standard error to gpgrt:w32: Synchronous spawning detached process, with standard input and standard error.
Jul 11 2025, 10:39 AM · gpgrt, Feature Request, Bug Report

Jul 9 2025

gniibe updated the task description for T7716: gpgrt:w32: Synchronous spawning detached process, with standard input and standard error.
Jul 9 2025, 9:07 AM · gpgrt, Feature Request, Bug Report
gniibe triaged T7716: gpgrt:w32: Synchronous spawning detached process, with standard input and standard error as Wishlist priority.
Jul 9 2025, 6:44 AM · gpgrt, Feature Request, Bug Report
gniibe claimed T7716: gpgrt:w32: Synchronous spawning detached process, with standard input and standard error.
Jul 9 2025, 6:44 AM · gpgrt, Feature Request, Bug Report

Jun 26 2025

gniibe changed the status of T7696: POSIX: spawn fixes from Open to Testing.
Jun 26 2025, 6:49 AM · gpgrt, Bug Report

Jun 23 2025

gniibe updated the task description for T7696: POSIX: spawn fixes.
Jun 23 2025, 8:31 AM · gpgrt, Bug Report
gniibe triaged T7696: POSIX: spawn fixes as Normal priority.
Jun 23 2025, 7:21 AM · gpgrt, Bug Report

Jun 11 2025

werner triaged T7677: Duplicate --with-gnu-ld Entries in libgpg-error 1.55 configure Help Output as Wishlist priority.

I looked at it but we probably need to rework/update the entire libtool stuff which has a high regression risk. Thus I give this bug a low priority because it is not a functional bug.

Jun 11 2025, 2:18 PM · gpgrt, Bug Report

Jun 5 2025

Saturneric created T7677: Duplicate --with-gnu-ld Entries in libgpg-error 1.55 configure Help Output.
Jun 5 2025, 5:22 PM · gpgrt, Bug Report

May 15 2025

gniibe closed T7621: libgpg-error: __non_string for GCC 15 or later as Resolved.
May 15 2025, 1:51 AM · gpgrt, Bug Report

Apr 24 2025

werner updated the task description for T7625: Release GpgRT 1.56.
Apr 24 2025, 4:25 PM · Release Info, gpgrt
werner closed T7614: Release GpgRT 1.55 as Resolved.
Apr 24 2025, 4:25 PM · gpgrt, Release Info
werner triaged T7625: Release GpgRT 1.56 as Low priority.
Apr 24 2025, 4:22 PM · Release Info, gpgrt

Apr 23 2025

gniibe changed the status of T7621: libgpg-error: __non_string for GCC 15 or later from Open to Testing.
Apr 23 2025, 3:17 AM · gpgrt, Bug Report
gniibe changed the status of T7623: gpgscm: Fix fixed-size characters (for portability, specifically for GCC 15 or later) from Open to Testing.
Apr 23 2025, 3:16 AM · gnupg, gpgrt, Bug Report

Apr 22 2025

gniibe added a comment to T7623: gpgscm: Fix fixed-size characters (for portability, specifically for GCC 15 or later).

doc/HACKING says it's OK to use variadic arg macros (from C99 features).
If it's OK, this patch can fix the initialization (which silences GCC 15 warnings):

Apr 22 2025, 7:53 AM · gnupg, gpgrt, Bug Report
gniibe renamed T7623: gpgscm: Fix fixed-size characters (for portability, specifically for GCC 15 or later) from gpgscm: Don't use fixed size characters (for portability, specifically for GCC 15 or later) to gpgscm: Fix fixed-size characters (for portability, specifically for GCC 15 or later).
Apr 22 2025, 7:50 AM · gnupg, gpgrt, Bug Report
gniibe triaged T7623: gpgscm: Fix fixed-size characters (for portability, specifically for GCC 15 or later) as Normal priority.
Apr 22 2025, 4:06 AM · gnupg, gpgrt, Bug Report

Apr 21 2025

gniibe triaged T7621: libgpg-error: __non_string for GCC 15 or later as Normal priority.
Apr 21 2025, 4:43 AM · gpgrt, Bug Report

Apr 17 2025

werner closed T7597: Release GpgRT 1.54 as Resolved.
Apr 17 2025, 2:55 PM · gpgrt, Release Info
werner triaged T7614: Release GpgRT 1.55 as Low priority.
Apr 17 2025, 2:50 PM · gpgrt, Release Info

Apr 9 2025

werner renamed T7597: Release GpgRT 1.54 from Release GpgRT 1.53 to Release GpgRT 1.54.
Apr 9 2025, 11:04 AM · gpgrt, Release Info
werner added a comment to T7385: Release GpgRT 1.52.

Note that 1.53 was released today which fixes a small regression:

Apr 9 2025, 11:03 AM · Release Info, gpgrt

Apr 8 2025

werner closed T7385: Release GpgRT 1.52 as Resolved.
Apr 8 2025, 9:18 AM · Release Info, gpgrt
werner triaged T7597: Release GpgRT 1.54 as Low priority.
Apr 8 2025, 9:16 AM · gpgrt, Release Info
werner moved T7478: _gpg_close_all_fds hangs on nwer Linux systems in a simple chroot w/o /proc/self/fd from Backlog to QA on the gpgrt board.
Apr 8 2025, 8:44 AM · Linux, gnupg, gpgrt, Bug Report

Jan 22 2025

werner closed T7164: Release GpgRT 1.51 as Resolved.

In case of build problems related to a failed test you may want to apply rEb6df311368133df90c3bf338fbf5c90bd8d950f8.

Jan 22 2025, 9:02 AM · Release Info, gpgrt
werner updated the task description for T7164: Release GpgRT 1.51.
Jan 22 2025, 8:59 AM · Release Info, gpgrt
werner updated the task description for T7164: Release GpgRT 1.51.
Jan 22 2025, 8:58 AM · Release Info, gpgrt

Jan 14 2025

gniibe changed the status of T7478: _gpg_close_all_fds hangs on nwer Linux systems in a simple chroot w/o /proc/self/fd from Open to Testing.

Fixed in: rE0f4fe2edf5e5: spawn: Care about closefrom/close call is interrupted.

Jan 14 2025, 7:12 AM · Linux, gnupg, gpgrt, Bug Report