Page MenuHome GnuPG
Feed Advanced Search

Nov 19 2025

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 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
ikloecker abandoned D616: gpgsm: Fix output of card serial numbers in colon listing.

The revision was actually applied (rG0947a20c28cf: gpgsm: Fix output of card serial number in colon listing.), but Phabricator doesn't allow me to set it as applied because not all reviewers have approved it.

Nov 17 2025, 9:08 AM · gnupg

Nov 16 2025

werner changed the status of T7914: Card s/n number missing in gpgsm from Open to Testing.

Fix applied. Thanks.

Nov 16 2025, 7:10 PM · gnupg22, scd, S/MIME, Feature Request, gnupg26
werner renamed T7290: Handle creation date in private key files for re-use of an existing key. from Handle creation date in private key files for re-use of an existing. to Handle creation date in private key files for re-use of an existing key..
Nov 16 2025, 6:57 PM · gnupg26, OpenPGP, gnupg
werner added a comment to T7290: Handle creation date in private key files for re-use of an existing key..

This is not a composite key specific thing despite that this is an extra challenge. The creation date is used to reconstruct a key if the public key has been lost and only the fingerprint is still available. A solution might be to test the all combinations of stored creation dates to match the fingerprint.

Nov 16 2025, 6:57 PM · gnupg26, OpenPGP, gnupg
werner renamed T7290: Handle creation date in private key files for re-use of an existing key. from Kyber+ECC with smartcards to Handle creation date in private key files for re-use of an existing..
Nov 16 2025, 6:54 PM · gnupg26, OpenPGP, gnupg
werner changed the status of T7315: Allow export and import of PQC secret keys. from Open to Testing.
Nov 16 2025, 6:50 PM · gnupg26, OpenPGP, PQC, gnupg
werner changed the status of T7315: Allow export and import of PQC secret keys., a subtask of T6815: PQC encryption for GnuPG, from Open to Testing.
Nov 16 2025, 6:50 PM · gnupg26, OpenPGP, PQC, gnupg

Nov 15 2025

werner closed T7896: Escape binary data in NOTATION* for status-fd as Resolved.
Nov 15 2025, 4:50 PM · gnupg, OpenPGP, Feature Request
mgorny added a comment to T7896: Escape binary data in NOTATION* for status-fd.

I can confirm that the patch fixes the issue. Thanks!

Nov 15 2025, 9:16 AM · gnupg, OpenPGP, Feature Request

Nov 14 2025

werner moved T7315: Allow export and import of PQC secret keys. from Backlog to WIP on the gnupg26 board.
Nov 14 2025, 4:01 PM · gnupg26, OpenPGP, PQC, gnupg
werner renamed T7315: Allow export and import of PQC secret keys. from Allow exporting of PQC keys. to Allow export and import of PQC secret keys..
Nov 14 2025, 3:56 PM · gnupg26, OpenPGP, PQC, gnupg
werner triaged T7932: Support gpg --passwd for Kyber as Normal priority.
Nov 14 2025, 3:45 PM · OpenPGP, PQC, gnupg
werner triaged T7914: Card s/n number missing in gpgsm as Normal priority.
Nov 14 2025, 12:42 PM · gnupg22, scd, S/MIME, Feature Request, gnupg26
werner renamed T7914: Card s/n number missing in gpgsm from Kleopatra: wrong info given for S/MIME secret key location on card to Card s/n number missing in gpgsm.
Nov 14 2025, 12:40 PM · gnupg22, scd, S/MIME, Feature Request, gnupg26
werner added projects to T7914: Card s/n number missing in gpgsm: gnupg26, Feature Request.
Nov 14 2025, 12:38 PM · gnupg22, scd, S/MIME, Feature Request, gnupg26

Nov 13 2025

werner closed T7885: Kleopatra: Unsupported backup of secret kyber key should be handled more gracefully as Invalid.
Nov 13 2025, 12:26 PM · gnupg, gpd5x, kleopatra
werner added a comment to T7885: Kleopatra: Unsupported backup of secret kyber key should be handled more gracefully.

I am currently working on backup/restore of Kyber keys. The error message will go away.

Nov 13 2025, 12:26 PM · gnupg, gpd5x, kleopatra

Nov 11 2025

werner triaged T7902: OpenPGP Cleartext Signature Framework as Normal priority.

There are a lot of other ways to confuse the user. We can't fix them all because the whole purpose of a cleartext signature is to make it easy to use in legacy environments like an BBS. Modern systems use MIME to handle this in a more stringent specified way. For any use it is stongly suggested to check the actual signed data which is avaialable with the --output options. At least a sanitizing viewer should be used which filters out all escape characters (something like cat -v |less).

Nov 11 2025, 10:02 AM · Not A Bug, OpenPGP, FAQ, gnupg
werner closed T7905: Radix64 Line-Truncation Enabling Polyglot Attacks as Resolved.

We have seen wrong encodings quite often in the past and thus we won't apply the patch. After all the armor header is a different layer and could also be applied or removed by other software or tools. The integrity of an OpenPGP message does not depend on its concrete outer encoding.

Nov 11 2025, 9:53 AM · gnupg, g10code, Bug Report
gniibe added a comment to T7905: Radix64 Line-Truncation Enabling Polyglot Attacks.

For someone who considers the rejection is the requirement of the spec., here is a change:

Nov 11 2025, 7:00 AM · gnupg, g10code, Bug Report
gniibe updated the task description for T7905: Radix64 Line-Truncation Enabling Polyglot Attacks.
Nov 11 2025, 6:59 AM · gnupg, g10code, Bug Report
gniibe added a comment to T7902: OpenPGP Cleartext Signature Framework.

Here is a revised patch (hopefully the last one):

Nov 11 2025, 6:37 AM · Not A Bug, OpenPGP, FAQ, gnupg

Nov 10 2025

ikloecker retitled D616: gpgsm: Fix output of card serial numbers in colon listing from Fix output of card serial numbers in colon listing to gpgsm: Fix output of card serial numbers in colon listing.
Nov 10 2025, 8:39 AM · gnupg

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, 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, gpd5x, 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
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 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 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

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, 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, 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, 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, gpd5x, 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, 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, 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, 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