Support v6 (RFC 9580) and post-quantum (RFC 9980) GPG keys for commit signature verification #214715
Replies: 1 comment
|
Thank you for your interest in contributing to our community! We currently only accept discussions created through the GitHub UI using our provided discussion templates. Please re-submit your discussion by navigating to the appropriate category and using the template provided. This discussion has been closed because it was not submitted through the expected format. If you believe this was a mistake, please reach out to the maintainers. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Product Feedback
💬 Feature/Topic Area
Other
Body
Summary
This is the GPG counterpart to the post-quantum SSH key request: https://github.com/orgs/community/discussions/214640. Both are needed; this one covers GPG (OpenPGP) commit and tag signing.
GitHub cannot verify commits signed with post-quantum GPG (OpenPGP) keys. RFC 9980 (Post-Quantum Cryptography in OpenPGP, June 2026) defines hybrid ML-DSA+EdDSA signatures (ML-DSA-65+Ed25519, ML-DSA-87+Ed448), and they require RFC 9580 v6 keys. GitHub's supported GPG key algorithms are RSA, ElGamal, DSA, ECDH, ECDSA and EdDSA, with v4 keys.
GitHub rejects v6 keys as such, regardless of algorithm. Both of the following fail via
POST /user/gpg_keyswith HTTP 422"We got an error adding your GPG key. Please verify the input is a valid GPG key.":So the first gap is RFC 9580 v6 key support, published in 2024; post-quantum algorithms come second.
Together with the SSH gap (https://github.com/orgs/community/discussions/214640,
ssh-mldsa44-ed25519keys), this means there is currently no way to produce a "Verified" commit with a post-quantum signature on GitHub, whether signed with GPG or SSH.Why now
Ecosystem readiness
sq1.4+ with the OpenSSL backend) generates and verifies RFC 9980 keys and signatures.Request
POST /user/gpg_keysAPI.All reactions