Page MenuHome GnuPG
Feed Advanced Search

Fri, Apr 10

gniibe added a comment to T8208: Missing bounds check in libgcrypt's Dilithium context handling.

The minimum fix avoids changes needed, thus, a bit confusing as a whole.
Here are better changes:


Fri, Apr 10, 11:07 AM · Security, PQC, Bug Report, libgcrypt

Thu, Apr 9

gniibe claimed T8208: Missing bounds check in libgcrypt's Dilithium context handling.

Minimum fix is:

Thu, Apr 9, 8:48 AM · Security, PQC, Bug Report, libgcrypt

Mon, Apr 6

werner added a project to T8208: Missing bounds check in libgcrypt's Dilithium context handling: Security.
Mon, Apr 6, 5:13 PM · Security, PQC, Bug Report, libgcrypt
werner triaged T8208: Missing bounds check in libgcrypt's Dilithium context handling as High priority.
Mon, Apr 6, 5:09 PM · Security, PQC, Bug Report, libgcrypt

Wed, Apr 1

gniibe triaged T8204: libgcrypt: Add optimized implementation of Kyber/Dilithium using CPU specific vector extention as Wishlist priority.
Wed, Apr 1, 7:30 AM · PQC, libgcrypt, Bug Report
gniibe created T8204: libgcrypt: Add optimized implementation of Kyber/Dilithium using CPU specific vector extention.
Wed, Apr 1, 7:30 AM · PQC, libgcrypt, Bug Report

Feb 27 2026

gniibe claimed T8092: GnuPG: Add algorithm info for all kyber choices on certificate generation.
Feb 27 2026, 1:55 AM · Feature Request, PQC, gnupg26

Feb 25 2026

ebo moved T8092: GnuPG: Add algorithm info for all kyber choices on certificate generation from Backlog to WIP on the gnupg26 board.
Feb 25 2026, 8:43 AM · Feature Request, PQC, gnupg26
gniibe changed the status of T8092: GnuPG: Add algorithm info for all kyber choices on certificate generation from Open to Testing.
Feb 25 2026, 5:16 AM · Feature Request, PQC, gnupg26

Feb 23 2026

werner edited Description on PQC.
Feb 23 2026, 2:01 PM
werner edited Description on PQC.
Feb 23 2026, 9:14 AM

Feb 19 2026

timegrid added a comment to T8092: GnuPG: Add algorithm info for all kyber choices on certificate generation.

I haven't tested it, but it looks good

Feb 19 2026, 12:52 PM · Feature Request, PQC, gnupg26
ebo moved T7875: GnuPG: Deletion of kyber key fails from Backlog to WIP on the gnupg26 board.
Feb 19 2026, 10:25 AM · Bug Report, PQC, gnupg26
gniibe changed the status of T7875: GnuPG: Deletion of kyber key fails from Open to Testing.
Feb 19 2026, 5:20 AM · Bug Report, PQC, gnupg26
gniibe added a comment to T8092: GnuPG: Add algorithm info for all kyber choices on certificate generation.

Like this patch?

Feb 19 2026, 2:35 AM · Feature Request, PQC, gnupg26

Feb 17 2026

gniibe claimed T7875: GnuPG: Deletion of kyber key fails.
Feb 17 2026, 8:48 AM · Bug Report, PQC, gnupg26

Feb 13 2026

gniibe added a comment to T7875: GnuPG: Deletion of kyber key fails.

Here is an attempt of mine this week:

diff --git a/g10/call-agent.c b/g10/call-agent.c
index 5e13a3e52..8949fad17 100644
--- a/g10/call-agent.c
+++ b/g10/call-agent.c
@@ -3290,13 +3290,14 @@ confirm_status_cb (void *opaque, const char *line)
    message.  If FORCE is true the agent is advised not to ask for
    confirmation. */
 gpg_error_t
-agent_delete_key (ctrl_t ctrl, const char *hexkeygrip, const char *desc,
+agent_delete_key (ctrl_t ctrl, const char *keygrip, const char *desc,
                   int force)
 {
   gpg_error_t err;
   char line[ASSUAN_LINELENGTH];
   struct default_inq_parm_s dfltparm;
   struct confirm_parm_s confirm_parm;
+  const char *keygrip2 = NULL;
Feb 13 2026, 8:07 AM · Bug Report, PQC, gnupg26

Feb 9 2026

timegrid added a comment to T8092: GnuPG: Add algorithm info for all kyber choices on certificate generation.

Sorry for the ambiguity. The request was only about mentioning (bpX) for the first two choices, not to add more combinations.

Feb 9 2026, 11:45 AM · Feature Request, PQC, gnupg26
werner triaged T8091: Kleopatra: Add kyber choices for x25519/x448 as Low priority.

Physical experiment feature support should better not be widely used.

Feb 9 2026, 9:41 AM · gpd5x, PQC, Feature Request, kleopatra
werner triaged T8092: GnuPG: Add algorithm info for all kyber choices on certificate generation as Low priority.
Feb 9 2026, 9:40 AM · Feature Request, PQC, gnupg26
werner added a comment to T8092: GnuPG: Add algorithm info for all kyber choices on certificate generation.

Although it is technicall possible to use all combinations, we should limit in the menu them to those as listed above. Too many algorithms pose an interop problem. Thus we provide brainpool because it is required in Germany and the two IETF curves for the general internet (for those who are playing mitigation against against physical experiments).

Feb 9 2026, 9:40 AM · Feature Request, PQC, gnupg26

Feb 6 2026

timegrid created T8092: GnuPG: Add algorithm info for all kyber choices on certificate generation.
Feb 6 2026, 2:31 PM · Feature Request, PQC, gnupg26
timegrid added a comment to T8091: Kleopatra: Add kyber choices for x25519/x448.

Note: In vsd it must be restricted to the bp algorithms then

Feb 6 2026, 2:00 PM · gpd5x, PQC, Feature Request, kleopatra
timegrid created T8091: Kleopatra: Add kyber choices for x25519/x448.
Feb 6 2026, 1:57 PM · gpd5x, PQC, Feature Request, kleopatra

Jan 29 2026

werner closed T7640: ML-DSA for libgcrypt, a subtask of T6637: PQC for Libgcrypt, as Resolved.
Jan 29 2026, 2:19 PM · PQC, libgcrypt
werner closed T7640: ML-DSA for libgcrypt as Resolved.
Jan 29 2026, 2:19 PM · PQC, libgcrypt

Jan 13 2026

ebo edited projects for T7397: Kleopatra: Support Kyber generation, added: gpd5x (gpd-5.0.0); removed gpd5x.
Jan 13 2026, 12:46 PM · gpd5x (gpd-5.0.0), kleopatra, PQC

Jan 9 2026

werner removed a project from T6815: PQC encryption for GnuPG: gnupg26.

it does not make sense to have a workboard item for this parent ticket.

Jan 9 2026, 1:40 PM · OpenPGP, PQC, gnupg
ebo closed T7315: Allow export and import of PQC secret keys., a subtask of T6815: PQC encryption for GnuPG, as Resolved.
Jan 9 2026, 12:29 PM · OpenPGP, PQC, gnupg
ebo closed T7315: Allow export and import of PQC secret keys. as Resolved.

Tested with Gpg4win-5.0.0-beta479

Jan 9 2026, 12:29 PM · gnupg26, OpenPGP, PQC, gnupg

Nov 24 2025

werner triaged T7944: GnuPG: full-gen-key for kyber keys without passphrase will ask for passphrase twice as Low priority.

That is a feature not a bug. Make also sense if your threat model is store-trafic-no-decrypt-later. If you can get the key you will also be abale to get the cleartext. Any nobody can remember a passphrase on par with the claimed Kyber security level.

Nov 24 2025, 6:01 PM · PQC, Feature Request, gnupg26

Nov 19 2025

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

Nov 16 2025

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 · OpenPGP, PQC, gnupg

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

Oct 27 2025

timegrid added a comment to T7875: GnuPG: Deletion of kyber key fails.

Note that currently Kleopatra (gpg4win 5 beta) fails to delete the key, which might impact other operations. I'm currently trying to figure out, if some other bugs/quirks are a subsequent error or not.

Oct 27 2025, 12:33 PM · Bug Report, PQC, gnupg26
werner triaged T7875: GnuPG: Deletion of kyber key fails as Normal priority.

Workaround is to use --with-keygrip and delete both <keygrip>.key files. Problem here is that one part may be on a smartcard or one part might be shared (although not allowed) with other keys.

Oct 27 2025, 12:17 PM · Bug Report, PQC, gnupg26

Sep 19 2025

William closed T7791: encryption fails with "Invalid Length" error when using Kyber1024 keys as Resolved.
Sep 19 2025, 6:21 PM · PQC, gnupg26, Bug Report

Aug 27 2025

werner changed the status of T7791: encryption fails with "Invalid Length" error when using Kyber1024 keys from Open to Testing.
Aug 27 2025, 9:54 AM · PQC, gnupg26, Bug Report
gniibe claimed T7791: encryption fails with "Invalid Length" error when using Kyber1024 keys.

Thank you for the report.

Aug 27 2025, 8:10 AM · PQC, gnupg26, Bug Report

Aug 25 2025

werner closed T7792: Adding four additional options after selecting Kyber (encrypt only) when using addkey as Resolved.

Thanks for reporting/requesting.

Aug 25 2025, 4:53 PM · PQC, gnupg26, Feature Request
werner triaged T7791: encryption fails with "Invalid Length" error when using Kyber1024 keys as High priority.
Aug 25 2025, 4:34 PM · PQC, gnupg26, Bug Report
werner triaged T7792: Adding four additional options after selecting Kyber (encrypt only) when using addkey as Normal priority.
Aug 25 2025, 4:30 PM · PQC, gnupg26, Feature Request

Aug 21 2025

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
werner renamed T7787: Support exporting for of Kyber+ECC keys and subkeys from Cannot export secret keys to Support exporting for of Kyber+ECC keys and subkeys.
Aug 21 2025, 11:17 AM
werner triaged T7787: Support exporting for of Kyber+ECC keys and subkeys as Normal priority.

Well, I will re-use this as a feature request to add this feature. Workaround is to list the key with --with-keygrip and backup the ~/.gnupg/private-keys-v1.d/<keygrip>.key files.

Aug 21 2025, 11:16 AM

Jul 3 2025

gniibe closed T7648: Decryption to a Ky768_Cv25519 key does not work if the Cv25519 key is on a token as Resolved.
Jul 3 2025, 7:14 AM · PQC, Bug Report

Jun 18 2025

werner closed T7014: agent: Enhancement of PKDECRYPT for KEM interface, a subtask of T6815: PQC encryption for GnuPG, as Resolved.
Jun 18 2025, 9:29 AM · OpenPGP, PQC, gnupg

Jun 17 2025

gniibe closed T7277: libgcrypt: Adding Known Answer Tests for KEM as Resolved.

Done in 1.11.1.

Jun 17 2025, 2:28 AM · PQC, libgcrypt

Jun 13 2025

gniibe added a comment to T7640: ML-DSA for libgcrypt.

Reading https://openssl-library.org/files/blog/Request_to_Extend_IETF_WGLC_for_PQ_Key_Specifications.pdf ,
seed (with "S") is included in the private-key.

Jun 13 2025, 3:40 AM · PQC, libgcrypt
gniibe added a comment to T7640: ML-DSA for libgcrypt.

The commit rC23543b6c1497: Add mldsa_compute_keygrip and let private-key include "p". works well for me.

Jun 13 2025, 2:51 AM · PQC, libgcrypt
gniibe added a comment to T7640: ML-DSA for libgcrypt.

To support Dilithium, we need to extend data handling of libgcrypt.
I propose following changes:

  • internal flag of PUBKEY_FLAG_BYTE_STRING to ask opaque MPI for data to be signed/verified.
  • The format of data as: (data(raw)[(flags no-prefix)](value ...)[(label ...)][(random-override ...)]): message, context, and random. Optional no-prefix flag to ask specific way of signing, controlling the internal, for Known Answer Tests (siggen).
Jun 13 2025, 2:50 AM · PQC, libgcrypt

May 19 2025

gniibe added a comment to T7640: ML-DSA for libgcrypt.

Looking the FIPS 204 document, using the following functions (API) is good:

May 19 2025, 7:47 AM · PQC, libgcrypt

May 15 2025

gniibe changed the status of T7648: Decryption to a Ky768_Cv25519 key does not work if the Cv25519 key is on a token from Open to Testing.
May 15 2025, 1:54 AM · PQC, Bug Report

May 14 2025

gouttegd added a comment to T7648: Decryption to a Ky768_Cv25519 key does not work if the Cv25519 key is on a token.

Thank you again for the reactivity! Applied, everything seems to work just fine.

May 14 2025, 10:17 AM · PQC, Bug Report
gniibe added a comment to T7648: Decryption to a Ky768_Cv25519 key does not work if the Cv25519 key is on a token.

For prompting, I pushed a fix in rG45a11327f3bd: agent: Support the use case of composite PQC for prompting.
Thank you for testing.

May 14 2025, 4:48 AM · PQC, Bug Report

May 13 2025

gouttegd added a comment to T7648: Decryption to a Ky768_Cv25519 key does not work if the Cv25519 key is on a token.

Thanks! With that patch applied, decryption works fine.

May 13 2025, 10:04 PM · PQC, Bug Report
gniibe added a comment to T7648: Decryption to a Ky768_Cv25519 key does not work if the Cv25519 key is on a token.

Thank you for the concrete test case, it helps me.

May 13 2025, 8:47 AM · PQC, Bug Report
gniibe claimed T7648: Decryption to a Ky768_Cv25519 key does not work if the Cv25519 key is on a token.
May 13 2025, 4:42 AM · PQC, Bug Report

May 11 2025

gouttegd created T7648: Decryption to a Ky768_Cv25519 key does not work if the Cv25519 key is on a token.
May 11 2025, 10:39 PM · PQC, Bug Report

May 7 2025

gniibe triaged T7640: ML-DSA for libgcrypt as Wishlist priority.
May 7 2025, 7:43 AM · PQC, libgcrypt

Feb 3 2025

werner closed T7472: Cannot decrypt a message encrypted to a Kyber subkey with AES128 as Resolved.

@gouttegd: Good idea. I did this with the above patches.

Feb 3 2025, 12:00 PM · PQC, gnupg26, Bug Report

Jan 8 2025

werner moved T7472: Cannot decrypt a message encrypted to a Kyber subkey with AES128 from Backlog to QA on the gnupg26 board.
Jan 8 2025, 5:25 PM · PQC, gnupg26, Bug Report

Jan 3 2025

gouttegd added a comment to T7472: Cannot decrypt a message encrypted to a Kyber subkey with AES128.

Change the encryption code to only allow 256 bit session keys with Kyber regardless of the preferences, iff --require-pqc-encryption is set. […] We could as well also encforce AES-256 also without that option.

What if we encrypt to several recipients, only some of them having a Kyber encryption key? Should we still enforce AES-256 in that case regardless of the preferences, and assume that by now everybody should support AES-256?

Jan 3 2025, 4:50 PM · PQC, gnupg26, Bug Report
gouttegd added a comment to T7472: Cannot decrypt a message encrypted to a Kyber subkey with AES128.

Love it! I think I am going to use “post-heffalump crypto” from now on. :D

Jan 3 2025, 11:43 AM · PQC, gnupg26, Bug Report
werner added a comment to T7472: Cannot decrypt a message encrypted to a Kyber subkey with AES128.

But keep https://www.cs.auckland.ac.nz/~pgut001/pubs/heffalump_crypto.pdf in mind ;-)

Jan 3 2025, 10:04 AM · PQC, gnupg26, Bug Report

Jan 2 2025

gouttegd added a comment to T7472: Cannot decrypt a message encrypted to a Kyber subkey with AES128.

I wrote it with PQC security level in mind which requires AES256 for the session key as well.

Jan 2 2025, 4:39 PM · PQC, gnupg26, Bug Report
werner added a comment to T7472: Cannot decrypt a message encrypted to a Kyber subkey with AES128.

That is what I expected. Meanwhile I re-read the code and history and can tell that the comment is not correct. I wrote it with PQC security level in mind which requires AES256 for the session key as well. However, during the migration phase and as long as --require-pqc-encryption is not enable we should allow an AES-128 session key. This is for the rare case that encryption is also done for non pqc keys which don't have the AES-256 capability set.

Jan 2 2025, 4:23 PM · PQC, gnupg26, Bug Report
gouttegd added a comment to T7472: Cannot decrypt a message encrypted to a Kyber subkey with AES128.

Here you are:

Jan 2 2025, 4:09 PM · PQC, gnupg26, Bug Report
werner triaged T7472: Cannot decrypt a message encrypted to a Kyber subkey with AES128 as High priority.

At gnupg/g10/pubkey-enc.c you will find

Jan 2 2025, 3:33 PM · PQC, gnupg26, Bug Report

Dec 13 2024

dg added a watcher for PQC: dg.
Dec 13 2024, 2:27 AM

Dec 5 2024

werner closed T7316: Curve25519/v5 key cannot be exported, a subtask of T7315: Allow export and import of PQC secret keys., as Resolved.
Dec 5 2024, 4:32 PM · gnupg26, OpenPGP, PQC, gnupg
werner closed T7316: Curve25519/v5 key cannot be exported as Resolved.
Dec 5 2024, 4:32 PM · gnupg26, OpenPGP, PQC, gnupg

Dec 4 2024

werner closed T7397: Kleopatra: Support Kyber generation, a subtask of T6636: PQC Implementation, as Resolved.
Dec 4 2024, 2:46 PM · PQC, gnupg, libgcrypt
werner closed T7397: Kleopatra: Support Kyber generation as Resolved.

Works for me in an NSIS installer. The VSD beta thing also works with copied conf files.
(gpg4win-5.0.0-beta27 with some local mods)

Dec 4 2024, 2:46 PM · gpd5x (gpd-5.0.0), kleopatra, PQC

Nov 14 2024

ikloecker changed the status of T7397: Kleopatra: Support Kyber generation, a subtask of T6636: PQC Implementation, from Open to Testing.
Nov 14 2024, 4:39 PM · PQC, gnupg, libgcrypt
ikloecker changed the status of T7397: Kleopatra: Support Kyber generation from Open to Testing.

Ready for testing. Note that you also need gpgme master.

Nov 14 2024, 4:39 PM · gpd5x (gpd-5.0.0), kleopatra, PQC
ikloecker renamed T7397: Kleopatra: Support Kyber generation from Support Kyber generation in Kleopatra to Kleopatra: Support Kyber generation.
Nov 14 2024, 4:38 PM · gpd5x (gpd-5.0.0), kleopatra, PQC
werner triaged T7397: Kleopatra: Support Kyber generation as High priority.
Nov 14 2024, 2:22 PM · gpd5x (gpd-5.0.0), kleopatra, PQC

Oct 8 2024

gniibe changed the status of T7316: Curve25519/v5 key cannot be exported, a subtask of T7315: Allow export and import of PQC secret keys., from Open to Testing.
Oct 8 2024, 8:38 AM · gnupg26, OpenPGP, PQC, gnupg
gniibe changed the status of T7316: Curve25519/v5 key cannot be exported from Open to Testing.
Oct 8 2024, 8:38 AM · gnupg26, OpenPGP, PQC, gnupg
gniibe added a comment to T7316: Curve25519/v5 key cannot be exported.

Pushed the fix for exporting OpenPGP v5 key: rG57dce1ee62c2: common,gpg,scd,sm: Fix for Curve25519 OID supporting new and old.

Oct 8 2024, 8:38 AM · gnupg26, OpenPGP, PQC, gnupg

Oct 3 2024

gniibe added a comment to T7316: Curve25519/v5 key cannot be exported.

The OID is used for fingerprint computation, which complicates things.

Oct 3 2024, 7:37 AM · gnupg26, OpenPGP, PQC, gnupg
gniibe claimed T7316: Curve25519/v5 key cannot be exported.
Oct 3 2024, 2:43 AM · gnupg26, OpenPGP, PQC, gnupg

Oct 2 2024

werner added a comment to T7316: Curve25519/v5 key cannot be exported.

Using the shorter OID for v5 is on purpose; thus we need to fix the export.

Oct 2 2024, 8:36 AM · gnupg26, OpenPGP, PQC, gnupg
gniibe triaged T7316: Curve25519/v5 key cannot be exported as Normal priority.
Oct 2 2024, 7:20 AM · gnupg26, OpenPGP, PQC, gnupg

Oct 1 2024

werner triaged T7315: Allow export and import of PQC secret keys. as Normal priority.
Oct 1 2024, 6:12 PM · gnupg26, OpenPGP, PQC, gnupg

Sep 17 2024

gniibe changed the status of T7277: libgcrypt: Adding Known Answer Tests for KEM from Open to Testing.

Pushed the change in: rC38742196c04c: cipher:kyber: Add gcry_kem_genkey to support deterministic op.
rC4876a1a45c25: tests:kyber: Add genkey and encap KAT tests.

Sep 17 2024, 9:39 AM · PQC, libgcrypt

Sep 12 2024

werner changed the status of T6815: PQC encryption for GnuPG from Open to Testing.

See new subtask T7290 for smartcards and the link entries mentioned above.

Sep 12 2024, 2:32 PM · OpenPGP, PQC, gnupg
werner changed the status of T6815: PQC encryption for GnuPG, a subtask of T6638: PQC for GnuPG, from Open to Testing.
Sep 12 2024, 2:32 PM · OpenPGP, PQC, gnupg
werner triaged T7290: Handle creation date in private key files for re-use of an existing key. as Normal priority.
Sep 12 2024, 2:31 PM · gnupg26, OpenPGP, gnupg

Sep 6 2024

gniibe added a project to T7277: libgcrypt: Adding Known Answer Tests for KEM: PQC.
Sep 6 2024, 8:50 AM · PQC, libgcrypt

Jul 11 2024

fse added a comment to T6637: PQC for Libgcrypt.

We hereby deliver with some delay our completed version of the integration of PQC algorithms into Libgcrypt from our project. The code features the following algorithms:

Jul 11 2024, 12:26 PM · PQC, libgcrypt

Jun 19 2024

werner closed T6755: libgcrypt: KEM API as Resolved.
Jun 19 2024, 12:08 PM · PQC, libgcrypt
werner closed T6755: libgcrypt: KEM API, a subtask of T6637: PQC for Libgcrypt, as Resolved.
Jun 19 2024, 12:08 PM · PQC, libgcrypt

Apr 24 2024

werner moved T6815: PQC encryption for GnuPG from Backlog to QA on the gnupg26 board.
Apr 24 2024, 10:04 AM · OpenPGP, PQC, gnupg
werner added a project to T6815: PQC encryption for GnuPG: gnupg26.
Apr 24 2024, 10:02 AM · OpenPGP, PQC, gnupg
werner added a comment to T6815: PQC encryption for GnuPG.

Most things are done. Missing stuff

Apr 24 2024, 10:01 AM · OpenPGP, PQC, gnupg