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