Page MenuHome GnuPG

g10codeOrganization
ActivePublic

Details

Description

Employees of g10 Code and close friends

Recent Activity

Mon, Dec 29

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

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

Dec 3 2025

ebo added a member for g10code: tfry.
Dec 3 2025, 10:54 AM

Nov 20 2025

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 updated the task description for T7900: Cleartext Signature Forgery in GnuPG.
Nov 19 2025, 5:49 PM · Not A Bug, OpenBSD, 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 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 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 14 2025

werner updated the task description for T7900: Cleartext Signature Forgery in GnuPG.
Nov 14 2025, 1:27 PM · Not A Bug, OpenBSD, gnupg

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, a subtask of T7900: Cleartext Signature Forgery in GnuPG, as Resolved.
Nov 11 2025, 9:53 AM · Not A Bug, OpenBSD, 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

werner added a member for g10code: pl13.
Nov 10 2025, 11:09 AM

Nov 5 2025

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