Page MenuHome GnuPG
Feed Advanced Search

Nov 6 2025

ikloecker edited projects for T7914: Card s/n number missing in gpgsm, added: gnupg; removed kleopatra.

This is caused by a bug in gpgsm. The card serial numbers are missing in the with-colon key listing.

Nov 6 2025, 3:09 PM · gnupg22 (gnupg-2.2.52), scd, S/MIME, Feature Request, gnupg26
ikloecker requested review of D616: gpgsm: Fix output of card serial numbers in colon listing.
Nov 6 2025, 3:06 PM · gnupg
ebo edited projects for T6859: S/MIME keys are not deleted, added: gpd5x; removed Restricted Project.
Nov 6 2025, 11:51 AM · gpd5x, S/MIME, kleopatra, gnupg
werner changed the status of T7896: Escape binary data in NOTATION* for status-fd from Open to Testing.
Nov 6 2025, 9:06 AM · gnupg, OpenPGP, Feature Request
ikloecker added a revision to T7885: Kleopatra: Unsupported backup of secret kyber key should be handled more gracefully: D615: gpg: Emit status error for unsupported export of secret dual key.
Nov 6 2025, 8:11 AM · gnupg, kleopatra
gniibe changed the status of T7893: GnuPG: Decryption fails if the pinentry dialog for the first tried recipient is canceled from Open to Testing.

That's my mistake with KEM API.

Nov 6 2025, 6:14 AM · gnupg26, gnupg
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 T7896: Escape binary data in NOTATION* for status-fd.

Alright, I change it from for notation data (and name).

[GNUPG:] NOTATION_NAME foo@foo.org
[GNUPG:] NOTATION_FLAGS 0 1
[GNUPG:] NOTATION_DATA bla%20bla%20��%20blub

with change:

[GNUPG:] NOTATION_NAME foo@foo.org
[GNUPG:] NOTATION_FLAGS 0 1
[GNUPG:] NOTATION_DATA bla%20bla%20%81%82%20blub
Nov 5 2025, 4:49 PM · gnupg, OpenPGP, Feature Request
werner added a comment to T7896: Escape binary data in NOTATION* for status-fd.

Since rfc2440 the PGP specs say:

Nov 5 2025, 3:55 PM · gnupg, OpenPGP, Feature Request
gniibe added a comment to T7902: OpenPGP Cleartext Signature Framework.

Here is a patch (revised since the email of mine):

Nov 5 2025, 6:26 AM · Not A Bug, OpenPGP, FAQ, gnupg
gniibe claimed T7909: Other bugs reported by 49016 et al..
Nov 5 2025, 6:11 AM · gnupg, g10code, Bug Report
gniibe added a comment to T7909: Other bugs reported by 49016 et al..

For t-stringhelp.c, here is a fix.

Nov 5 2025, 6:11 AM · gnupg, g10code, Bug Report
gniibe added a comment to T7909: Other bugs reported by 49016 et al..

For

openpgp_oid_from_str has a wrong memory-safety assumption

Nov 5 2025, 6:00 AM · gnupg, g10code, Bug Report
gniibe added a comment to T7909: Other bugs reported by 49016 et al..

For Integer Overflow in literals_seen, I think that the claim is wrong.
When literals_seen becomes two, GnuPG stops processing to return an error.
It's not possible for GnuPG to keep processing.

Nov 5 2025, 3:51 AM · gnupg, g10code, Bug Report
gniibe added a comment to T7909: Other bugs reported by 49016 et al..

For Integer Truncation of Arguments report, since the int value is limited to one-octet value, we could add check for the length of input when we use strtol.

Nov 5 2025, 3:30 AM · gnupg, g10code, Bug Report

Nov 4 2025

werner triaged T7904: GnuPG may downgrade digest algorithm to SHA1 as High priority.
Nov 4 2025, 1:26 PM · gnupg, Bug Report
werner added a comment to T7903: Multiple Plaintext Attack on Detached PGP Signatures in GnuPG.

We have fixed it but the commit also states:

Nov 4 2025, 1:25 PM · Not A Bug, OpenPGP, gnupg
werner claimed T7901: Cleartext Signature Forgery in NotDashEscaped header implementation in GnuPG.

I agree because the original purpose from the 90ies to enable the use of signed patch files in the Linux kernel community was never actually used and GnuPG stopped the distribution of patches from version to version many years ago. Thus I agree we should hide this option behind a compatibility flag.

Nov 4 2025, 1:22 PM · gnupg, Bug Report
gniibe updated the task description for T7909: Other bugs reported by 49016 et al..
Nov 4 2025, 7:32 AM · gnupg, g10code, Bug Report
gniibe created T7909: Other bugs reported by 49016 et al..
Nov 4 2025, 7:18 AM · gnupg, g10code, Bug Report
gniibe added a comment to T7908: GnuPG Accepts Path Separators and Path Traversals in Literal Data "Filename" Field.

Added a compatibility flag in: rGad0c6c33c3d6: gpg: Do not use a default when asking for another output filename.

Nov 4 2025, 7:08 AM · gnupg, Bug Report
gniibe created T7908: GnuPG Accepts Path Separators and Path Traversals in Literal Data "Filename" Field.
Nov 4 2025, 7:07 AM · gnupg, Bug Report
gniibe created T7907: Encrypted Message Malleability Checks are Incorrectly Enforced Causing Plaintext Recovery Attacks.
Nov 4 2025, 7:01 AM · Not A Bug, gnupg
gniibe added a comment to T7906: Memory Corruption in ASCII-Armor Parsing.

Fixed in rG115d138ba599: gpg: Fix possible memory corruption in the armor parser.

Nov 4 2025, 6:57 AM · gnupg, Bug Report
gniibe created T7906: Memory Corruption in ASCII-Armor Parsing.
Nov 4 2025, 6:56 AM · gnupg, Bug Report
gniibe created T7905: Radix64 Line-Truncation Enabling Polyglot Attacks.
Nov 4 2025, 6:50 AM · gnupg, g10code, Bug Report
gniibe added a comment to T7904: GnuPG may downgrade digest algorithm to SHA1.

Fixed in rGdb9705ef594d: gpg: Avoid potential downgrade to SHA1 in 3rd party key signatures.

Nov 4 2025, 6:46 AM · gnupg, Bug Report
gniibe created T7904: GnuPG may downgrade digest algorithm to SHA1.
Nov 4 2025, 6:45 AM · gnupg, Bug Report
gniibe added a comment to T7903: Multiple Plaintext Attack on Detached PGP Signatures in GnuPG.

Fixed in rG8abc320f2a75: gpg: Error out on unverified output for non-detached signatures.

Nov 4 2025, 6:43 AM · Not A Bug, OpenPGP, gnupg
gniibe created T7903: Multiple Plaintext Attack on Detached PGP Signatures in GnuPG.
Nov 4 2025, 6:41 AM · Not A Bug, OpenPGP, gnupg
gniibe added a comment to T7901: Cleartext Signature Forgery in NotDashEscaped header implementation in GnuPG.

This feature should be only enabled with a compatibility flag.

Nov 4 2025, 6:28 AM · gnupg, Bug Report
gniibe added a comment to T7902: OpenPGP Cleartext Signature Framework.

Mitigation would be: adding context validation in add_onepass_sig function, which checks WHAT of armored input.

Nov 4 2025, 6:27 AM · Not A Bug, OpenPGP, FAQ, gnupg
gniibe created T7902: OpenPGP Cleartext Signature Framework.
Nov 4 2025, 6:25 AM · Not A Bug, OpenPGP, FAQ, gnupg
gniibe created T7901: Cleartext Signature Forgery in NotDashEscaped header implementation in GnuPG.
Nov 4 2025, 6:13 AM · gnupg, Bug Report
gniibe shifted T7900: Cleartext Signature Forgery in GnuPG from the S1 Public space to the Restricted Space space.
Nov 4 2025, 6:07 AM · Not A Bug, OpenBSD, gnupg
gniibe created T7900: Cleartext Signature Forgery in GnuPG.
Nov 4 2025, 6:07 AM · Not A Bug, OpenBSD, gnupg

Nov 3 2025

mgorny added a comment to T7896: Escape binary data in NOTATION* for status-fd.

That's a good question. Looking at https://datatracker.ietf.org/doc/draft-koch-librepgp/, it doesn't really specify what encoding is used for "human-readable" notation, so I'd personally lean towards encoding it to stay on the safe side. Unless I'm mistaken, status-fd will only be used locally, so escaping overhead should not be a problem.

Nov 3 2025, 5:43 PM · gnupg, OpenPGP, Feature Request
werner triaged T7881: Public key URL cannot be cleared on ZeitControl OpenPGP v3.4 card as Normal priority.
Nov 3 2025, 5:08 PM · gpd5x (gpd-5.0.0), kleopatra
werner edited projects for T7896: Escape binary data in NOTATION* for status-fd, added: Feature Request, OpenPGP, gnupg; removed Bug Report.

The question is who shall correct the wrong encoding of notation data (assuming it is flagged as human readable). Escaping is a solution but needs a lot of extra bytes.

Nov 3 2025, 9:58 AM · gnupg, OpenPGP, Feature Request
werner renamed T7892: keyboxd: subkey listing issue with ADSKs from keyboxd: subkey issue connected to ADSK to keyboxd: a new subkey is sometimes not stored in the fingerprint table..
Nov 3 2025, 9:54 AM · gnupg26, Bug Report, keyboxd, gnupg
werner triaged T7892: keyboxd: subkey listing issue with ADSKs as High priority.

It is not an ADSK issue. The problem is that the new subkey has not been entered into the fingerprint table and can thus not be found.

Nov 3 2025, 9:52 AM · gnupg26, Bug Report, keyboxd, gnupg
ikloecker added a comment to T7881: Public key URL cannot be cleared on ZeitControl OpenPGP v3.4 card.

That's what gpg-card url --clear does

if (!strcmp (argstr, "--clear"))
  url = xstrdup (" "); /* No real way to clear; set to space instead. */
Nov 3 2025, 9:24 AM · gpd5x (gpd-5.0.0), kleopatra
gniibe closed T7138: Windows (Semi-hosted environment): filename and network access as Resolved.

Fixed in 2.5.13.

Nov 3 2025, 3:41 AM · gnupg, Bug Report

Nov 2 2025

thesamesam added a project to T6500: Keyserver access via http-proxy isn't attempted when using standard-resolver: Gentoo.
Nov 2 2025, 5:29 AM · Gentoo, gnupg, dns, Bug Report

Oct 30 2025

ikloecker claimed T7881: Public key URL cannot be cleared on ZeitControl OpenPGP v3.4 card.

So we need to find out what gpg-card url --clear does to avoid the card error for the ZeitControl cards.

Oct 30 2025, 8:40 PM · gpd5x (gpd-5.0.0), kleopatra
timegrid added a comment to T7893: GnuPG: Decryption fails if the pinentry dialog for the first tried recipient is canceled.

In gpg4win-4.4.1 it works too.

Oct 30 2025, 3:03 PM · gnupg26, gnupg
timegrid added a comment to T7893: GnuPG: Decryption fails if the pinentry dialog for the first tried recipient is canceled.

Note: In the current vsd beta (29) it works (pinentry for the next key is opened):

Oct 30 2025, 2:58 PM · gnupg26, gnupg
ikloecker added a project to T7885: Kleopatra: Unsupported backup of secret kyber key should be handled more gracefully: gnupg.

@werner Proposed patch for gpg:

diff --git a/g10/export.c b/g10/export.c
index 5dcb9c665..908a6b6a0 100644
--- a/g10/export.c
+++ b/g10/export.c
@@ -1961,7 +1961,9 @@ do_export_one_keyblock (ctrl_t ctrl, kbnode_t keyblock, u32 *keyid,
           if (strchr (hexgrip, ','))
             {
               log_error ("exporting a secret dual key is not yet supported\n");
-              return gpg_error (GPG_ERR_NOT_IMPLEMENTED);
+              err = gpg_error (GPG_ERR_NOT_IMPLEMENTED);
+              write_status_error ("export_keys.secret", err);
+              return err;
             }
Oct 30 2025, 11:28 AM · gnupg, kleopatra
timegrid added a comment to T7881: Public key URL cannot be cleared on ZeitControl OpenPGP v3.4 card.

Note: It works with gpg-card url --clear.

Oct 30 2025, 10:22 AM · gpd5x (gpd-5.0.0), kleopatra
ikloecker renamed T7881: Public key URL cannot be cleared on ZeitControl OpenPGP v3.4 card from Kleopatra: Card URL cannot be cleared to Public key URL cannot be cleared on ZeitControl OpenPGP v3.4 card.
Oct 30 2025, 10:06 AM · gpd5x (gpd-5.0.0), kleopatra
ikloecker edited projects for T7881: Public key URL cannot be cleared on ZeitControl OpenPGP v3.4 card, added: gnupg, scd; removed gpd5x, kleopatra.

I could reproduce this with a ZeitControl OpenPGP v3.4 card, but (as Tobias) not with an (old) Yubikey. Looks like a bug in the card firmware.

Oct 30 2025, 10:02 AM · gpd5x (gpd-5.0.0), kleopatra
ebo renamed T7893: GnuPG: Decryption fails if the pinentry dialog for the first tried recipient is canceled from GnuPG: Decryption failes if the pinentry dialog for the first tried recipient is canceled to GnuPG: Decryption fails if the pinentry dialog for the first tried recipient is canceled.
Oct 30 2025, 9:40 AM · gnupg26, gnupg

Oct 29 2025

timegrid created T7893: GnuPG: Decryption fails if the pinentry dialog for the first tried recipient is canceled.
Oct 29 2025, 4:57 PM · gnupg26, gnupg
ebo updated the task description for T7892: keyboxd: subkey listing issue with ADSKs.
Oct 29 2025, 3:51 PM · gnupg26, Bug Report, keyboxd, gnupg
ebo updated the task description for T7892: keyboxd: subkey listing issue with ADSKs.
Oct 29 2025, 3:42 PM · gnupg26, Bug Report, keyboxd, gnupg
ebo created T7892: keyboxd: subkey listing issue with ADSKs.
Oct 29 2025, 3:40 PM · gnupg26, Bug Report, keyboxd, gnupg

Oct 27 2025

timegrid created T7875: GnuPG: Deletion of kyber key fails.
Oct 27 2025, 9:34 AM · Bug Report, PQC, gnupg26

Oct 22 2025

werner set External Link to https://lists.gnupg.org/pipermail/gnupg-announce/2025q4/000498.html on T7801: Release GnuPG 2.5.13.
Oct 22 2025, 4:17 PM · gnupg, Release Info
werner updated the task description for T7869: Release GnuPG 2.5.14.
Oct 22 2025, 2:22 PM · gnupg, Release Info
werner closed T7756: Release GnuPG 2.5.12 as Resolved.
Oct 22 2025, 2:21 PM · Release Info, gnupg
werner updated the task description for T7801: Release GnuPG 2.5.13.
Oct 22 2025, 2:21 PM · gnupg, Release Info
werner updated the task description for T7869: Release GnuPG 2.5.14.
Oct 22 2025, 2:18 PM · gnupg, Release Info
werner triaged T7869: Release GnuPG 2.5.14 as Normal priority.
Oct 22 2025, 2:16 PM · gnupg, Release Info

Oct 21 2025

gniibe changed the status of T7805: Permission denied on batch deletion of mixed (openpgp+smime) certs from Open to Testing.

This issue should be fixed in 2.6, too.

Oct 21 2025, 7:14 AM · gnupg, vsd, kleopatra
gniibe changed the status of T7138: Windows (Semi-hosted environment): filename and network access from Open to Testing.
Oct 21 2025, 4:57 AM · gnupg, Bug Report
gniibe added a comment to T7138: Windows (Semi-hosted environment): filename and network access.

Pushed the change to gnupg master: rG61ff3759e827: common,dirmngr:w32: Fix for semi-hosted environment.

Oct 21 2025, 4:56 AM · gnupg, Bug Report
gniibe claimed T7138: Windows (Semi-hosted environment): filename and network access.

In libgpg-error, I pushed thread-safe version : rE0313b660f8bd: w32: Don't convert slash->backslash when it's under Wine.
I'm going to push similar code to gnupg master.

Oct 21 2025, 3:26 AM · gnupg, Bug Report

Oct 19 2025

thesamesam added a comment to T5993: gpg should reject compressed packets outside of messages.

For completeness, that's https://gitlab.freedesktop.org/poppler/poppler/-/issues/1595. dkg obviously filed that but it may be useful for others finding themselves here.

Oct 19 2025, 7:52 PM · Feature Request, gnupg

Oct 15 2025

gniibe triaged T7805: Permission denied on batch deletion of mixed (openpgp+smime) certs as High priority.
Oct 15 2025, 9:37 AM · gnupg, vsd, kleopatra
gniibe added a parent task for T7805: Permission denied on batch deletion of mixed (openpgp+smime) certs: T7855: keybox/keydb locking issue in 2.6 .
Oct 15 2025, 9:36 AM · gnupg, vsd, kleopatra
gniibe added a comment to T7805: Permission denied on batch deletion of mixed (openpgp+smime) certs.

I'm fixing this issue under T7855. So, I move this ticket as a child of T7855.

Oct 15 2025, 9:36 AM · gnupg, vsd, kleopatra

Oct 14 2025

gniibe added a comment to T7805: Permission denied on batch deletion of mixed (openpgp+smime) certs.

@timegrid Thank you for your confirmation.

Oct 14 2025, 3:39 AM · gnupg, vsd, kleopatra

Oct 13 2025

timegrid added a comment to T7805: Permission denied on batch deletion of mixed (openpgp+smime) certs.

I can't reproduce this in vsd-3.3.90.19 @ win10 anymore.
Probably the fixes in https://dev.gnupg.org/T7827 or https://dev.gnupg.org/T7855 solved this, too.

Oct 13 2025, 10:10 AM · gnupg, vsd, kleopatra
gniibe claimed T7805: Permission denied on batch deletion of mixed (openpgp+smime) certs.
Oct 13 2025, 7:53 AM · gnupg, vsd, kleopatra

Oct 10 2025

werner triaged T7849: gpg returns "unknown system error" when given an empty file as Normal priority.

The problem here is that iobuf_readbyte returns -1 on error and on EOF. parse_packet is not able to distinguish that because for histroic reasons we do not return a gpg-error code (GPG_ERR_EOF). To fix this we need to change all callers of parse_packet to not act upon -1 but only on an error code.

Oct 10 2025, 2:04 PM · Bug Report, gnupg

Oct 9 2025

ebo renamed T7805: Permission denied on batch deletion of mixed (openpgp+smime) certs from Kleopatra: Permission denied on batch deletion of mixed (openpgp+smime) certs to Permission denied on batch deletion of mixed (openpgp+smime) certs.
Oct 9 2025, 10:59 AM · gnupg, vsd, kleopatra
ebo added a project to T7805: Permission denied on batch deletion of mixed (openpgp+smime) certs: gnupg.
Oct 9 2025, 10:58 AM · gnupg, vsd, kleopatra

Oct 8 2025

m.eik created T7849: gpg returns "unknown system error" when given an empty file.
Oct 8 2025, 10:53 AM · Bug Report, gnupg

Oct 6 2025

gniibe closed T7541: libassuan AC_DEFINE_UNQUOTED m4 fix needs propagating to pinentry and gnupg2 as Resolved.
Oct 6 2025, 2:05 AM · gpgme, gnupg, pinentry

Oct 3 2025

gniibe added a comment to T7720: w32: Synchronous spawning gpg-agent/dirmngr/keyboxd.

I updated the branch.

Oct 3 2025, 4:55 AM · gnupg, Feature Request, Bug Report

Sep 18 2025

ikloecker closed T7815: Preferred key-server predefined by default? as Invalid.

Since GnuPG 2.5.3 there is no predefined keyserver anymore: https://dev.gnupg.org/T7442

Sep 18 2025, 3:51 PM · gnupg, Bug Report
Rycky_Tigg created T7815: Preferred key-server predefined by default?.
Sep 18 2025, 1:40 PM · gnupg, Bug Report

Sep 5 2025

werner added a comment to T7756: Release GnuPG 2.5.12.

For the full fledged Windows installer see https://files.gpg4win.org/Beta/gpg4win-5.0.0-beta369/gpg4win-5.0.0-beta369.exe

Sep 5 2025, 2:37 PM · Release Info, gnupg

Sep 4 2025

werner added a project to T7335: S/MIME keys are not listed correctly: gnupg26.

Is that really the same bug? I would be interested in seeing a more detailed report. BTW, Windows or Linux? Used standard beta installer on Windows?

Sep 4 2025, 9:52 PM · gnupg26, gnupg, Bug Report

Sep 2 2025

werner closed T7743: Release GnuPG 2.5.11 as Resolved.
Sep 2 2025, 3:00 PM · gnupg, Release Info
werner moved T7491: Confusing additional pinentry on creation of new keypair with ADSK configured from WIP to QA on the gnupg26 board.
Sep 2 2025, 2:57 PM · gpgagent, gnupg26, gnupg
werner updated the task description for T7756: Release GnuPG 2.5.12.
Sep 2 2025, 2:55 PM · Release Info, gnupg
werner triaged T7801: Release GnuPG 2.5.13 as Normal priority.
Sep 2 2025, 2:54 PM · gnupg, Release Info

Aug 28 2025

alexk added a project to T2380: Auto-refresh key if it is close to its expiration date.: vsd34.

Especially when an LDAP is configured, keys should be automatically refreshed in short intervals (5 days? Configurable?) to notify users about revoked keys or signatures from a trusted key.
Keys that are close to their expiration dates should be prioritized.
Maybe users want to configure for what mail domains a lookup on a configured LDAP should be done.

Aug 28 2025, 2:31 PM · vsd34, gnupg, OpenPGP, Feature Request

Aug 27 2025

werner changed the status of T7491: Confusing additional pinentry on creation of new keypair with ADSK configured from Open to Testing.
Aug 27 2025, 4:02 PM · gpgagent, gnupg26, gnupg
werner moved T7491: Confusing additional pinentry on creation of new keypair with ADSK configured from Backlog to WIP on the gnupg26 board.
Aug 27 2025, 3:40 PM · gpgagent, gnupg26, gnupg
werner renamed T7491: Confusing additional pinentry on creation of new keypair with ADSK configured from Kleopatra: Confusing additional pinentry on creation of new keypair with ADSK configured to Confusing additional pinentry on creation of new keypair with ADSK configured .
Aug 27 2025, 3:09 PM · gpgagent, gnupg26, gnupg

Aug 26 2025

werner closed T7794: gpg pick the wrong username as Resolved.

You may also specify a mail address in which case gpg tries to find the best matching key. For example the latest key with that mail address. See gnupg/g10/getkey.c:get_best_pubkey_byname

Aug 26 2025, 9:41 AM · gnupg, FAQ

Aug 21 2025

werner triaged T7768: Kleopatra: Improve notepad result messages for corrupted OpenPGP data as Low priority.

Nope: There are many different error codes returned, Kleopatra may want to map them to a common one.

Aug 21 2025, 11:32 AM · gpd5x, kleopatra
werner merged T7787: Support exporting for of Kyber+ECC keys and subkeys into T7315: Allow export and import of PQC secret keys..
Aug 21 2025, 11:19 AM · gnupg26, OpenPGP, PQC, gnupg

Aug 13 2025

ebo added a comment to T7768: Kleopatra: Improve notepad result messages for corrupted OpenPGP data.

We need a better error code from gpg to change this

Aug 13 2025, 2:43 PM · gpd5x, kleopatra
ebo updated the task description for T7755: Kleopatra: Show error if a certification did not succeed, even if the cause is crash of background process.
Aug 13 2025, 2:40 PM · gnupg, gpgme, gpd5x, kleopatra
ebo added a project to T7768: Kleopatra: Improve notepad result messages for corrupted OpenPGP data: gnupg.
Aug 13 2025, 2:32 PM · gpd5x, kleopatra

Aug 4 2025

gniibe added a comment to T7720: w32: Synchronous spawning gpg-agent/dirmngr/keyboxd.

Pushed the changes in {gniibe/synch-spawn} branch.
It consists of three commits:

Aug 4 2025, 7:52 AM · gnupg, Feature Request, Bug Report

Jul 30 2025

werner closed T7754: gpg segfaults when signing a key with --edit-key and --set-notation=rem@gnupg.org=foo as Resolved.
Jul 30 2025, 12:54 PM · gnupg, Bug Report