Page MenuHome GnuPG
Feed Advanced Search

Mon, Jan 5

werner changed the visibility for T7901: Cleartext Signature Forgery in NotDashEscaped header implementation in GnuPG.
Mon, Jan 5, 11:26 AM · gnupg, Bug Report
werner changed the visibility for T7900: Cleartext Signature Forgery in GnuPG.
Mon, Jan 5, 11:26 AM · Not A Bug, OpenBSD, gnupg

Fri, Jan 2

werner changed the status of T7900: Cleartext Signature Forgery in GnuPG from Open to Testing.

(Testing for now for better visibility. Real or Semi-real bugs with fixes are already set to Resolved)

Fri, Jan 2, 4:38 PM · Not A Bug, OpenBSD, gnupg
werner changed the status of T7902: OpenPGP Cleartext Signature Framework, a subtask of T7900: Cleartext Signature Forgery in GnuPG, from Open to Testing.
Fri, Jan 2, 4:35 PM · Not A Bug, OpenBSD, gnupg
werner changed the status of T7902: OpenPGP Cleartext Signature Framework from Open to Testing.
Fri, Jan 2, 4:35 PM · Not A Bug, OpenPGP, FAQ, gnupg
werner closed T7903: Multiple Plaintext Attack on Detached PGP Signatures in GnuPG, a subtask of T7900: Cleartext Signature Forgery in GnuPG, as Resolved.
Fri, Jan 2, 4:24 PM · Not A Bug, OpenBSD, gnupg
werner closed T7903: Multiple Plaintext Attack on Detached PGP Signatures in GnuPG as Resolved.
Fri, Jan 2, 4:24 PM · Not A Bug, OpenPGP, gnupg
werner changed the status of T7907: Encrypted Message Malleability Checks are Incorrectly Enforced Causing Plaintext Recovery Attacks, a subtask of T7900: Cleartext Signature Forgery in GnuPG, from Open to Testing.
Fri, Jan 2, 4:22 PM · Not A Bug, OpenBSD, gnupg
werner changed the status of T7907: Encrypted Message Malleability Checks are Incorrectly Enforced Causing Plaintext Recovery Attacks from Open to Testing.

The described attack is not easy to understand and as of today the
gpg.fail website seems to have the same content as the draft we
received on 2025-10-23. There it states:

Fri, Jan 2, 4:22 PM · Not A Bug, gnupg

Wed, Dec 31

William closed T7941: gpg: keydb_search_first failed: SQL error as Resolved.

Fixed in 2.5.16

Wed, Dec 31, 2:19 AM · workaround, gnupg, Bug Report

Tue, Dec 30

werner updated the task description for T8001: Release GnuPG 2.4.9.
Tue, Dec 30, 1:49 PM · gnupg, Release Info
werner updated the task description for T7428: Release GnuPG 2.4.8.
Tue, Dec 30, 1:48 PM · gnupg, Release Info
werner triaged T8001: Release GnuPG 2.4.9 as Normal priority.
Tue, Dec 30, 1:48 PM · gnupg, Release Info
werner set External Link to https://lists.gnupg.org/pipermail/gnupg-announce/2025q4/000500.html on T7995: Release GnuPG 2.5.16.
Tue, Dec 30, 10:19 AM · gnupg, Release Info
werner closed T7906: Memory Corruption in ASCII-Armor Parsing as Resolved.

Also fixed in the other active branches.

Tue, Dec 30, 9:56 AM · gnupg, Bug Report
werner closed T7906: Memory Corruption in ASCII-Armor Parsing, a subtask of T7900: Cleartext Signature Forgery in GnuPG, as Resolved.
Tue, Dec 30, 9:56 AM · Not A Bug, OpenBSD, gnupg
werner updated the task description for T7940: Release GnuPG 2.5.15.
Tue, Dec 30, 9:18 AM · gnupg, Release Info
werner updated the task description for T7995: Release GnuPG 2.5.16.
Tue, Dec 30, 9:16 AM · gnupg, Release Info
werner updated the task description for T7996: Release GnuPG 2.5.17.
Tue, Dec 30, 9:15 AM · gnupg, Release Info
werner updated the task description for T7996: Release GnuPG 2.5.17.
Tue, Dec 30, 9:15 AM · gnupg, Release Info

Mon, Dec 29

werner updated the task description for T7998: Release GnuPG 2.5.19.
Mon, Dec 29, 11:50 PM · Release Info, gnupg
werner updated the task description for T7999: Release GnuPG 2.5.18.
Mon, Dec 29, 11:49 PM · gnupg, Release Info
werner updated the task description for T7996: Release GnuPG 2.5.17.
Mon, Dec 29, 11:47 PM · gnupg, Release Info
werner updated the task description for T7995: Release GnuPG 2.5.16.
Mon, Dec 29, 11:46 PM · gnupg, Release Info
werner triaged T8000: Release GnuPG 2.6.0 as Low priority.
Mon, Dec 29, 11:45 PM · Release Info, gnupg
werner triaged T7999: Release GnuPG 2.5.18 as Low priority.
Mon, Dec 29, 11:45 PM · gnupg, Release Info
werner triaged T7998: Release GnuPG 2.5.19 as Low priority.
Mon, Dec 29, 11:44 PM · Release Info, gnupg
werner triaged T7997: Release GnuPG 2.5.20 as Low priority.
Mon, Dec 29, 11:43 PM · Release Info, gnupg
werner triaged T7996: Release GnuPG 2.5.17 as Low priority.
Mon, Dec 29, 11:42 PM · gnupg, Release Info
werner updated the task description for T7940: Release GnuPG 2.5.15.
Mon, Dec 29, 11:40 PM · gnupg, Release Info
werner added a project to T7994: Documentation: mention `status-fd` in "Programmatic use of GnuPG": gnupg.

man gpg has a WARNING section right below the RETURN Value section. The 3rd paragraph gives hints on how to use gpg with scripts etc:

Mon, Dec 29, 11:37 PM · gnupg, Documentation
werner added a comment to T7909: Other bugs reported by 49016 et al..

The int-truncation change breaks other things. I noticed this by chance in the interactive mode due to warning noticed. Before we ever do such things again we need to have regression tests for setting preferences. Or manually check everything. Need to do a 2.5.16 tomorrow :-(

Mon, Dec 29, 9:18 PM · gnupg, g10code, Bug Report
werner updated the task description for T7940: Release GnuPG 2.5.15.
Mon, Dec 29, 7:16 PM · gnupg, Release Info
werner triaged T7995: Release GnuPG 2.5.16 as Normal priority.
Mon, Dec 29, 7:15 PM · gnupg, Release Info
werner changed the status of T7901: Cleartext Signature Forgery in NotDashEscaped header implementation in GnuPG, a subtask of T7900: Cleartext Signature Forgery in GnuPG, from Open to Testing.
Mon, Dec 29, 7:13 PM · Not A Bug, OpenBSD, gnupg
werner changed the status of T7901: Cleartext Signature Forgery in NotDashEscaped header implementation in GnuPG from Open to Testing.
Mon, Dec 29, 7:13 PM · gnupg, Bug Report
werner triaged T7900: Cleartext Signature Forgery in GnuPG as Normal priority.
Mon, Dec 29, 4:54 PM · Not A Bug, OpenBSD, gnupg
werner triaged T7903: Multiple Plaintext Attack on Detached PGP Signatures in GnuPG as Normal priority.

Note using the output of --decrypt directly on the tty is a Bad Idea(tm). You won't cat arbitrary files to your tty for the same reason.

Mon, Dec 29, 3:46 PM · Not A Bug, OpenPGP, gnupg
werner edited projects for T7902: OpenPGP Cleartext Signature Framework, added: FAQ, OpenPGP, Not A Bug; removed g10code, Bug Report.

https://gnupg.org/blog/20251226-cleartext-signatures.html explains why we have cleartext signatures and how you properly use them. The suggestion of the reporters to remove them entirely is a no-go because there are too many systems (open source or in-house) which rely on that format. If properly used (i.e. using --output to get the signed text) there is no problem. Anyway the suggestion has always been to use detached signatures using two files or PGP/MIME).

Mon, Dec 29, 3:37 PM · Not A Bug, OpenPGP, FAQ, gnupg

Fri, Dec 26

werner renamed T7909: Other bugs reported by 49016 et al. from Bugs reported to Other bugs reported by 49016 et al..
Fri, Dec 26, 3:50 PM · gnupg, g10code, Bug Report
werner shifted T7907: Encrypted Message Malleability Checks are Incorrectly Enforced Causing Plaintext Recovery Attacks from the Restricted Space space to the S1 Public space.
Fri, Dec 26, 3:04 PM · Not A Bug, gnupg
werner added a comment to T7907: Encrypted Message Malleability Checks are Incorrectly Enforced Causing Plaintext Recovery Attacks.

We need to explain and debunk this attack after its publication,

Fri, Dec 26, 3:03 PM · Not A Bug, gnupg
werner shifted T7905: Radix64 Line-Truncation Enabling Polyglot Attacks from the Restricted Space space to the S1 Public space.
Fri, Dec 26, 2:59 PM · gnupg, g10code, Bug Report
werner shifted T7903: Multiple Plaintext Attack on Detached PGP Signatures in GnuPG from the Restricted Space space to the S1 Public space.
Fri, Dec 26, 2:57 PM · Not A Bug, OpenPGP, gnupg
werner shifted T7902: OpenPGP Cleartext Signature Framework from the Restricted Space space to the S1 Public space.
Fri, Dec 26, 2:55 PM · Not A Bug, OpenPGP, FAQ, gnupg
werner shifted T7901: Cleartext Signature Forgery in NotDashEscaped header implementation in GnuPG from the Restricted Space space to the S1 Public space.
Fri, Dec 26, 2:54 PM · gnupg, Bug Report
werner added a comment to T7900: Cleartext Signature Forgery in GnuPG.

Regarding the cleartext signature please see this piece: https://gnupg.org/blog/20251226-cleartext-signatures.html

Fri, Dec 26, 2:53 PM · Not A Bug, OpenBSD, gnupg
werner shifted T7900: Cleartext Signature Forgery in GnuPG from the Restricted Space space to the S1 Public space.
Fri, Dec 26, 2:52 PM · Not A Bug, OpenBSD, gnupg
sihuan triaged T7991: zh_CN: Fix visual misalignment in signature verification output for CJK terminals as Low priority.
Fri, Dec 26, 1:31 PM

Tue, Dec 16

ebo renamed T7892: keyboxd: subkey listing issue with ADSKs from keyboxd: a new subkey is sometimes not stored in the fingerprint table. to keyboxd: subkey listing issue with ADSKs.
Tue, Dec 16, 12:28 PM · gnupg26, Bug Report, keyboxd, gnupg
ebo moved T7892: keyboxd: subkey listing issue with ADSKs from QA to Backlog on the gnupg26 board.

This relates to T7917: Check for revocation of the ADSK's original subkey

Tue, Dec 16, 12:25 PM · gnupg26, Bug Report, keyboxd, gnupg
ebo added a comment to T7892: keyboxd: subkey listing issue with ADSKs.

The expected behavior is that only "Ted" (the key from where the ADSK originates) is listed, regardless of ADSKs, on every listing.
Because for regular keys there can only ever be one, "gpg -k" shows always only one key.
Subkeys which are ADSKs shall therefore never be listed with this command.

Tue, Dec 16, 12:23 PM · gnupg26, Bug Report, keyboxd, gnupg
ebo changed the status of T7892: keyboxd: subkey listing issue with ADSKs from Testing to Open.

Tested with Gpg4win-5.0.0-beta446, identically to the procedure from the description:

Tue, Dec 16, 11:57 AM · gnupg26, Bug Report, keyboxd, gnupg

Fri, Dec 12

timegrid added a project to T7328: Add Kleopatra configs to gpgconf -X: vsd.
Fri, Dec 12, 11:46 AM · vsd, gpd5x, Windows, gnupg, Feature Request

Dec 10 2025

werner closed T7958: Rename thread_init() function to thread_init_dirmngr() to avoid conflict on AIX as Resolved.
Dec 10 2025, 11:20 AM · AIX, gnupg, Bug Report

Dec 9 2025

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

Dec 3 2025

bernhard added a comment to T7965: Remove DANE (DNSSEC) support.

Still good for experiments.

Dec 3 2025, 2:16 PM · Feature Request, gnupg
werner added a comment to T4464: dane refers to draft-ietf-dane-openpgpkey-05, should be RFC 7929 .

That RFC is Experimental anyway

Dec 3 2025, 12:59 PM · gnupg, Documentation, Bug Report
werner closed T4464: dane refers to draft-ietf-dane-openpgpkey-05, should be RFC 7929 as Wontfix.
Dec 3 2025, 12:58 PM · gnupg, Documentation, Bug Report
werner triaged T7965: Remove DANE (DNSSEC) support as Low priority.

Still good for experiments.

Dec 3 2025, 12:57 PM · Feature Request, gnupg

Dec 2 2025

bernhard created T7965: Remove DANE (DNSSEC) support.
Dec 2 2025, 6:01 PM · Feature Request, gnupg

Dec 1 2025

werner updated the task description for T7959: Release GnuPG 2.2.52.
Dec 1 2025, 11:12 AM · gnupg, Release Info
werner triaged T7960: Release GnuPG 2.2.53 as Low priority.
Dec 1 2025, 10:02 AM · gnupg, Release Info
werner triaged T7959: Release GnuPG 2.2.52 as Normal priority.
Dec 1 2025, 9:24 AM · gnupg, Release Info

Nov 27 2025

gniibe updated the task description for T7957: dotlock clean up for error/warning message.
Nov 27 2025, 7:20 AM · gnupg, Bug Report
gniibe updated the task description for T7957: dotlock clean up for error/warning message.
Nov 27 2025, 7:18 AM · gnupg, Bug Report
gniibe claimed T7957: dotlock clean up for error/warning message.

Here is my proposal:

Nov 27 2025, 7:15 AM · gnupg, Bug Report
gniibe created T7957: dotlock clean up for error/warning message.
Nov 27 2025, 7:14 AM · gnupg, Bug Report

Nov 23 2025

William added a comment to T7941: gpg: keydb_search_first failed: SQL error.

git checkout gnupg-2.5.14, reverted the commits 46f4cb66125ee34e87e592cc02d38daead3427af and 0cc7759ed5a3890b4e28563a6b5e97f3aa551530, recompiled, and the error message gpg: keydb_search_first failed: SQL error no longer appeared. Also, in /root/.gnupg/public-keys.d/, the two files pubring.db.lock and .#lk0x0000... are present.

Nov 23 2025, 9:26 AM · workaround, gnupg, Bug Report

Nov 21 2025

timegrid added a comment to T7885: Kleopatra: Unsupported backup of secret kyber key should be handled more gracefully.

Note: Backup/Restore secret kyber keys looks good to me on gpg4win-5.0.0-beta413 @ win11 now.

Nov 21 2025, 2:32 PM · gnupg, gpd5x, kleopatra
gniibe added a comment to T7720: w32: Synchronous spawning gpg-agent/dirmngr/keyboxd.

Let me explain about the change rG57affc4e98ab.

Nov 21 2025, 6:44 AM · gnupg, Feature Request, Bug Report
William added a comment to T7941: gpg: keydb_search_first failed: SQL error.

Additionally, in the /root/.gnupg/public-keys.d/ directory, the two files .#lk0x00007fdcb40043b0.b02bef684bbe.5108 and pubring.db.lock are missing.

Nov 21 2025, 5:16 AM · workaround, gnupg, Bug Report

Nov 20 2025

William added a comment to T7941: gpg: keydb_search_first failed: SQL error.

gpg was compiled with the latest version of SQLite3 at the time as its own private library, without linking against the system's libsqlite3.so.

Nov 20 2025, 12:29 PM · workaround, gnupg, Bug Report
werner added a comment to T7941: gpg: keydb_search_first failed: SQL error.

Can you please schek which Sqlite version you have installed? I have not seen this on my system.

Nov 20 2025, 11:25 AM · workaround, gnupg, Bug Report
William added a comment to T7941: gpg: keydb_search_first failed: SQL error.

keyboxd (GnuPG) 2.5.13

gpg -K
cat keyboxd.log

listening on socket '/root/.gnupg/S.keyboxd'
keyboxd (GnuPG) 2.5.13 started
handler 0x7f2eba314640 for fd 9 started
connection from process 4361 (0:0)
(SQL: PRAGMA foreign_keys = ON)
(SQL: CREATE TABLE IF NOT EXISTS config (name  TEXT NOT NULL UNIQUE,value TEXT NOT NULL ))
database version: 1
database created: 2025-11-20 06:11:12
(SQL: CREATE TABLE IF NOT EXISTS pubkey (ubid     BLOB NOT NULL PRIMARY KEY,type  INTEGER NOT NULL,ephemeral INTEGER NOT NULL DEFAULT 0,revoked INTEGER NOT NULL DEFAULT 0,keyblob BLOB NOT NULL))
(SQL: CREATE TABLE IF NOT EXISTS fingerprint (fpr  BLOB NOT NULL PRIMARY KEY,kid  BLOB NOT NULL,keygrip BLOB NOT NULL,subkey INTEGER NOT NULL,ubid BLOB NOT NULL REFERENCES pubkey))
(SQL: CREATE INDEX IF NOT EXISTS fingerprintidx0 on fingerprint (ubid))
(SQL: CREATE INDEX IF NOT EXISTS fingerprintidx1 on fingerprint (fpr))
(SQL: CREATE INDEX IF NOT EXISTS fingerprintidx2 on fingerprint (keygrip))
(SQL: CREATE TABLE IF NOT EXISTS userid (uid  TEXT NOT NULL,addrspec TEXT,type  INTEGER NOT NULL,uidno INTEGER NOT NULL,ubid BLOB NOT NULL REFERENCES pubkey))
(SQL: CREATE INDEX IF NOT EXISTS userididx0 on userid (ubid))
(SQL: CREATE INDEX IF NOT EXISTS userididx1 on userid (uid))
(SQL: CREATE INDEX IF NOT EXISTS userididx3 on userid (addrspec))
(SQL: CREATE TABLE IF NOT EXISTS issuer (sn TEXT NOT NULL,dn TEXT NOT NULL,ubid BLOB NOT NULL REFERENCES pubkey))
(SQL: CREATE INDEX IF NOT EXISTS issueridx1 on issuer (dn))
database '/root/.gnupg/public-keys.d/pubring.db' created
(SQL: SELECT ubid, type, ephemeral, revoked, keyblob FROM pubkey as p WHERE p.type = 1 ORDER by ubid)
(SQL: SELECT ubid, type, ephemeral, revoked, keyblob FROM pubkey as p WHERE p.type = 1 ORDER by ubid)
command 'NEXT' failed: Not found
handler 0x7f2eba314640 for fd 9 terminated
Nov 20 2025, 9:38 AM · workaround, gnupg, Bug Report
werner triaged T7941: gpg: keydb_search_first failed: SQL error as Low priority.

Interesting. What SQlite version are you using? To see the exact reason and you have a copy of the old pubring.db, please add

Nov 20 2025, 8:58 AM · workaround, gnupg, Bug Report
gniibe changed the status of T7720: w32: Synchronous spawning gpg-agent/dirmngr/keyboxd from Open to Testing.

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

Nov 20 2025, 7:07 AM · gnupg, Feature Request, Bug Report
gniibe changed the status of T7629: gcc 15 warns about -Wunterminated-string-initialization in gnupg from Open to Testing.

I applied a change with GPGRT_ATTR_NONSTRING to master, since 2.6 branch now requires newere gpgrt.
Fix is rGcad79e542d85: agent,common,dirmngr,tests: Silence warnings of a compiler.

Nov 20 2025, 7:04 AM · gnupg, Bug Report
gniibe changed the status of T7909: Other bugs reported by 49016 et al. from Open to Testing.

t-stringhelp change was pushed by rG8a95e963d53a: common: Fix the test of t-stringhelp.
For int-truncation, I pushed the change rGbcd87ea2b2da: misc: Validate the value on the use of strtol.

Nov 20 2025, 6:33 AM · gnupg, g10code, Bug Report
gniibe changed the status of T7909: Other bugs reported by 49016 et al., a subtask of T7900: Cleartext Signature Forgery in GnuPG, from Open to Testing.
Nov 20 2025, 6:33 AM · Not A Bug, OpenBSD, gnupg

Nov 19 2025

werner changed the status of T7904: GnuPG may downgrade digest algorithm to SHA1, a subtask of T7900: Cleartext Signature Forgery in GnuPG, from Open to Testing.
Nov 19 2025, 5:53 PM · Not A Bug, OpenBSD, gnupg
werner changed the status of T7904: GnuPG may downgrade digest algorithm to SHA1 from Open to Testing.
Nov 19 2025, 5:53 PM · gnupg, Bug Report
werner updated the task description for T7900: Cleartext Signature Forgery in GnuPG.
Nov 19 2025, 5:49 PM · Not A Bug, OpenBSD, gnupg
werner updated the task description for T7906: Memory Corruption in ASCII-Armor Parsing.
Nov 19 2025, 5:49 PM · gnupg, Bug Report
werner moved T7315: Allow export and import of PQC secret keys. from WIP to QA on the gnupg26 board.
Nov 19 2025, 5:47 PM · gnupg26, OpenPGP, PQC, gnupg
werner moved T7893: GnuPG: Decryption fails if the pinentry dialog for the first tried recipient is canceled from Backlog to QA on the gnupg26 board.
Nov 19 2025, 5:46 PM · gnupg26, gnupg
werner added a project to T7893: GnuPG: Decryption fails if the pinentry dialog for the first tried recipient is canceled: gnupg26.
Nov 19 2025, 5:45 PM · gnupg26, gnupg
werner moved T7892: keyboxd: subkey listing issue with ADSKs from WIP to QA on the gnupg26 board.
Nov 19 2025, 5:44 PM · gnupg26, Bug Report, keyboxd, gnupg
werner changed the status of T7908: GnuPG Accepts Path Separators and Path Traversals in Literal Data "Filename" Field, a subtask of T7900: Cleartext Signature Forgery in GnuPG, from Open to Testing.
Nov 19 2025, 5:43 PM · Not A Bug, OpenBSD, gnupg
werner changed the status of T7908: GnuPG Accepts Path Separators and Path Traversals in Literal Data "Filename" Field from Open to Testing.
Nov 19 2025, 5:43 PM · gnupg, Bug Report
werner updated the task description for T7869: Release GnuPG 2.5.14.
Nov 19 2025, 5:40 PM · gnupg, Release Info
werner updated the task description for T7940: Release GnuPG 2.5.15.
Nov 19 2025, 5:39 PM · gnupg, Release Info
werner changed the status of T7906: Memory Corruption in ASCII-Armor Parsing, a subtask of T7900: Cleartext Signature Forgery in GnuPG, from Open to Testing.
Nov 19 2025, 5:38 PM · Not A Bug, OpenBSD, gnupg
werner changed the status of T7906: Memory Corruption in ASCII-Armor Parsing from Open to Testing.
Nov 19 2025, 5:38 PM · gnupg, Bug Report
werner shifted T7906: Memory Corruption in ASCII-Armor Parsing from the Restricted Space space to the S1 Public space.
Nov 19 2025, 5:38 PM · gnupg, Bug Report
werner updated the task description for T7940: Release GnuPG 2.5.15.
Nov 19 2025, 5:37 PM · gnupg, Release Info
werner triaged T7940: Release GnuPG 2.5.15 as Normal priority.
Nov 19 2025, 5:27 PM · gnupg, Release Info
werner added a comment to T7908: GnuPG Accepts Path Separators and Path Traversals in Literal Data "Filename" Field.

The problem is that a user may unintentionally use the suggested filename without checking that it does not harm to write to this file. It is better not to present a default name at all.

Nov 19 2025, 4:08 PM · gnupg, Bug Report

Nov 18 2025

werner changed the status of T7892: keyboxd: subkey listing issue with ADSKs from Open to Testing.
Nov 18 2025, 5:29 PM · gnupg26, Bug Report, keyboxd, gnupg

Nov 17 2025

ebo added a project to T7892: keyboxd: subkey listing issue with ADSKs: gnupg26.
Nov 17 2025, 12:09 PM · gnupg26, Bug Report, keyboxd, gnupg