Page MenuHome GnuPG

gnupg26Project
ActivePublic

Members

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

Watchers

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

Details

Description

This is the current development version of GnuPG.

Recent Activity

Yesterday

ebo renamed T6152: Allow giving context to gpg-agent from Text for Import of S/MIME certificates to Allow giving context to gpg-agent.
Wed, Feb 4, 11:56 AM · gnupg26, Feature Request, S/MIME
ebo edited projects for T6152: Allow giving context to gpg-agent, added: gnupg26; removed gnupg, Restricted Project.
Wed, Feb 4, 11:53 AM · gnupg26, Feature Request, S/MIME
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
gniibe added a comment to T8065: gnupg self test hang: clean migration.

@wiz Thank you for your quick feedback.

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

Mon, Feb 2

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

Thank you for the patch. I've tried it in my environment, and gnupg 987c6a398a9505399b2c25a775d4b625753bc962 passes all its self-tests for me now!

Mon, Feb 2, 8:06 PM · gpgrt, NetBSD, gnupg26, Bug Report
werner triaged T8078: GpgAgent: trustlist.txt still requires LF on the last line as Low priority.

Oh yeah, the mentioned patch is bogus because it assumes that fgets has already set the eof flag while reading the last line. This seems not to be the case.

Mon, Feb 2, 3:46 PM · Bug Report, gpgagent, gnupg26
timegrid created T8078: GpgAgent: trustlist.txt still requires LF on the last line.
Mon, Feb 2, 3:20 PM · Bug Report, gpgagent, gnupg26
werner triaged T8076: Kleopatra: Unable to completely delete key with secret subkeys and "offline" primary key as Normal priority.
Mon, Feb 2, 12:08 PM · gnupg26, gpd5x, kleopatra, Bug Report
gniibe added a comment to T8065: gnupg self test hang: clean migration.

Thank you for the log.

Mon, Feb 2, 8:14 AM · gpgrt, NetBSD, gnupg26, Bug Report

Sun, Feb 1

ametzler1 added a comment to T8045: Stack-based buffer overflow in TPM2 `PKDECRYPT`.

CVE-2026-24882 has been assigned to this issue.

Sun, Feb 1, 4:45 PM · gnupg26, CVE, TPM, Bug Report

Fri, Jan 30

timegrid added a comment to T8052: GnuPG: First listing of secret keys is empty.

I added the gpgsm log output (same error as in the gpg log)

Fri, Jan 30, 11:25 AM · gpgrt, Bug Report, gpgagent, gpd5x, gnupg26
timegrid updated the task description for T8052: GnuPG: First listing of secret keys is empty.
Fri, Jan 30, 11:24 AM · gpgrt, Bug Report, gpgagent, gpd5x, gnupg26
timegrid closed T8053: GpgSM: `log-file` is ignored as Invalid.

Ah, thanks for the pointer, I did not expect gpgsm to behave differently here. Then it's probably intentional and I'll close this as invalid.

Fri, Jan 30, 11:18 AM · gpd5x, Bug Report, S/MIME, gnupg26
pl13 added a comment to T8053: GpgSM: `log-file` is ignored.

The gnupg manual (page 113) mentions:

Fri, Jan 30, 10:30 AM · gpd5x, Bug Report, S/MIME, gnupg26
wiz added a comment to T8065: gnupg self test hang: clean migration.

Thank you for looking at this.
I'm testing with gnupg git head as of today, please let me know if you prefer 2.5.17 instead.

Fri, Jan 30, 9:46 AM · gpgrt, NetBSD, gnupg26, Bug Report
gniibe claimed T8065: gnupg self test hang: clean migration.
Fri, Jan 30, 9:02 AM · gpgrt, NetBSD, gnupg26, Bug Report
gniibe added a comment to T8065: gnupg self test hang: clean migration.

Thank you for your report.

Fri, Jan 30, 9:00 AM · gpgrt, NetBSD, gnupg26, Bug Report

Thu, Jan 29

timegrid removed a project from T6545: Support CRL extension issuingDistributionPoint: Restricted Project.
Thu, Jan 29, 3:23 PM · workaround, gnupg26, libksba, Feature Request
werner closed T8054: Key expiration year during key creation only shown with 2 digits as Wontfix.

This string comes from the Windows API and thus it is a Windows bug. It maye take some decades until this get fixed but at least they have meanwhile sfxed the "Westeuropäische Zeit" zu the correct "Mitteleuropäische Zeit" - Modulo Umlaut problems.

Thu, Jan 29, 2:32 PM · gnupg26
wiz added a comment to T8065: gnupg self test hang: clean migration.

I bisected it and found the commit that introduced this test failure:

Thu, Jan 29, 2:07 PM · gpgrt, NetBSD, gnupg26, Bug Report
wiz added a comment to T8065: gnupg self test hang: clean migration.

In the same environment, 2.4.9 passes its self tests.
I've reverted the update in pkgsrc until this can be resolved.

Thu, Jan 29, 8:56 AM · gpgrt, NetBSD, gnupg26, Bug Report

Wed, Jan 28

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

The previous pkgsrc version was 2.4.9. However, I've just tested 2.5.14 and saw the same behaviour (so I guess there is no point in testing 2.5.16).

Wed, Jan 28, 5:17 PM · gpgrt, NetBSD, gnupg26, Bug Report
werner added projects to T8065: gnupg self test hang: clean migration: gnupg26, NetBSD.

Do you remember wether you had the same problem also with 2.5.14 or 2.5.16? Or can you test with these versions? Which version of libgpg-error are you using?

Wed, Jan 28, 4:13 PM · gpgrt, NetBSD, gnupg26, Bug Report
werner added a comment to T8029: IPC error on batch import of secret kyber cert.

My actual plan is to rework the imp[ort/export of secret keys to gpg-agent. Right now gpg-agent has knowledge of OpenPGP for import/export. This is not good and the required conversion should be moved to a helper tools for easier testing and to have this out of the gpg-agent process. For Kyber we right now don't use any conversion mut store the secret keys in gpg-agent's native format. Thus the passphrase is not necessary. We need to figure out why we have this problem here.

Wed, Jan 28, 11:47 AM · gnupg26, Bug Report, gpd5x, kleopatra

Tue, Jan 27

werner closed T8045: Stack-based buffer overflow in TPM2 `PKDECRYPT` as Resolved.
Tue, Jan 27, 5:18 PM · gnupg26, CVE, TPM, Bug Report
werner closed T8049: Null pointer dereference with overlong signature packet as Resolved.
Tue, Jan 27, 5:17 PM · segv, gnupg26, Bug Report
werner renamed T8049: Null pointer dereference with overlong signature packet from Security (internal) - Aisle Research report: Null pointer dereference with overlong signature packet to Null pointer dereference with overlong signature packet.
Tue, Jan 27, 5:16 PM · segv, gnupg26, Bug Report
werner changed the visibility for T8045: Stack-based buffer overflow in TPM2 `PKDECRYPT`.
Tue, Jan 27, 5:12 PM · gnupg26, CVE, TPM, Bug Report
werner closed T8044: gpg-agent stack buffer overflow in pkdecrypt using KEM as Resolved.
Tue, Jan 27, 5:12 PM · CVE, gnupg26, gpgagent, Bug Report
ebo moved T8045: Stack-based buffer overflow in TPM2 `PKDECRYPT` from Backlog to Done on the gnupg26 board.
Tue, Jan 27, 2:34 PM · gnupg26, CVE, TPM, Bug Report
ebo edited projects for T8045: Stack-based buffer overflow in TPM2 `PKDECRYPT`, added: gnupg26; removed gnupg.
Tue, Jan 27, 2:33 PM · gnupg26, CVE, TPM, Bug Report
ebo moved T8044: gpg-agent stack buffer overflow in pkdecrypt using KEM from Backlog to Done on the gnupg26 board.
Tue, Jan 27, 2:31 PM · CVE, gnupg26, gpgagent, Bug Report
ebo closed T7990: export-minimal unexpectedly omits expired key as Resolved.

Option works in Gpg4win-5.0.1 with GnuPG 2.5.17

Tue, Jan 27, 2:29 PM · gnupg26, Feature Request, Gentoo
ebo moved T8026: Kleopatra: Export of multiple S/MIME certificates only exports one from Done to gpd-5.0.1 on the gpd5x board.
Tue, Jan 27, 1:58 PM · gpd5x (gpd-5.0.1), gnupg26, Bug Report
ebo closed T8026: Kleopatra: Export of multiple S/MIME certificates only exports one as Resolved.
Tue, Jan 27, 1:54 PM · gpd5x (gpd-5.0.1), gnupg26, Bug Report
ebo moved T8026: Kleopatra: Export of multiple S/MIME certificates only exports one from WIP to Done on the gnupg26 board.

works in Gpg4win 5.0.1 with GnuPG 2.5.17

Tue, Jan 27, 1:52 PM · gpd5x (gpd-5.0.1), gnupg26, Bug Report

Mon, Jan 26

timegrid added a comment to T8052: GnuPG: First listing of secret keys is empty.

To reproduce the hang, a loop will suffice (usually happens within the first 15 times, once it needed 50 runs):

Mon, Jan 26, 11:39 AM · gpgrt, Bug Report, gpgagent, gpd5x, gnupg26
timegrid added a comment to T8053: GpgSM: `log-file` is ignored.

There's no other configuration, this happens with a clean gnupghome with one smime cert + root cert and the above gpgsm.conf (output on stdin/stderr):

Mon, Jan 26, 11:18 AM · gpd5x, Bug Report, S/MIME, gnupg26

Sun, Jan 25

werner added a comment to T8049: Null pointer dereference with overlong signature packet.

Reconsidering this all I don't think it makes any sense to distinguish between (-1) and GPG_ERR_INV_PACKET. We use (-1) for a too short read of the hashed or unhashed area (premature eof). INV_PACKET is for unknown versions, too much data (arbitrary limit), bad parameters, and underflow. Let's forget my previous comment and always use INV_PACKET.

Sun, Jan 25, 5:23 PM · segv, gnupg26, Bug Report

Fri, Jan 23

werner lowered the priority of T8049: Null pointer dereference with overlong signature packet from Unbreak Now! to Normal.
Fri, Jan 23, 9:18 PM · segv, gnupg26, Bug Report
werner added a comment to T8053: GpgSM: `log-file` is ignored.

Please run with --debug 0 which should show you which confiration files are read in which order. Is there anything in a common.conf file? A log-file statement tehre would overwrite the command line option.

Fri, Jan 23, 9:16 PM · gpd5x, Bug Report, S/MIME, gnupg26
ebo created T8054: Key expiration year during key creation only shown with 2 digits.
Fri, Jan 23, 3:48 PM · gnupg26
timegrid updated the task description for T8052: GnuPG: First listing of secret keys is empty.
Fri, Jan 23, 2:43 PM · gpgrt, Bug Report, gpgagent, gpd5x, gnupg26
timegrid created T8053: GpgSM: `log-file` is ignored.
Fri, Jan 23, 2:28 PM · gpd5x, Bug Report, S/MIME, gnupg26
timegrid added a project to T8052: GnuPG: First listing of secret keys is empty: Bug Report.
Fri, Jan 23, 2:22 PM · gpgrt, Bug Report, gpgagent, gpd5x, gnupg26
timegrid created T8052: GnuPG: First listing of secret keys is empty.
Fri, Jan 23, 2:14 PM · gpgrt, Bug Report, gpgagent, gpd5x, gnupg26