[PATCH gpgme] Add RFC 9980 post-quantum public-key algorithms

Stavros Kousidis stavros.kousidis at th-koeln.de
Mon Sep 21 15:26:02 CEST 2026


Hello,

this patch adds the OpenPGP public-key algorithm identifiers 30 through 
36 defined by RFC 9980 to GPGME.

It adds:

- public API constants for the new algorithms,
- mapping of the OpenPGP algorithm identifiers to GPGME values,
- human-readable algorithm names,
- regression tests for the numeric values and names.

The patch was rebased onto the current GPGME master (2.2.1-beta3) and 
validated with:

- a clean build,
- the complete `make check` test suite,
- dedicated regression tests for algorithm identifiers 30 through 36,
- a live RFC 9980 OpenPGP certificate through GPGME, exercising 
ML-DSA-65+Ed25519 (algorithm 30) and ML-KEM-768+X25519 (algorithm 35).

The complete upstream test suite passes.

The patch was generated with `git format-patch` and is attached.

Best regards,
Stavros Kousidis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-gpgme-add-rfc9980-public-key-algorithms.patch
Type: text/x-patch
Size: 5086 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-devel/attachments/20260921/e6b7ed10/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <https://lists.gnupg.org/pipermail/gnupg-devel/attachments/20260921/e6b7ed10/attachment.sig>


More information about the Gnupg-devel mailing list