Page MenuHome GnuPG

gpgrtProject
ActivePublic

Members

  • This project does not have any members.
  • View All

Watchers

  • This project does not have any watchers.
  • View All

Recent Activity

Thu, Feb 19

gniibe closed T8065: gnupg self test hang: clean migration as Resolved.

Fixed in libgpg-error 1.59.

Thu, Feb 19, 5:32 AM · gpgrt, NetBSD, gnupg26, Bug Report
gniibe triaged T8052: GnuPG: First listing of secret keys is empty as Normal priority.
Thu, Feb 19, 5:21 AM · gpgrt, Bug Report, gpgagent, gpd5x, gnupg26

Wed, Feb 18

werner updated the task description for T7974: Release GpgRT 1.59.
Wed, Feb 18, 9:48 AM · gpgrt, Release Info
werner triaged T8112: Release GpgRT 1.60 as Normal priority.
Wed, Feb 18, 9:47 AM · gpgrt, Release Info

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