Support v6 (RFC 9580) and post-quantum (RFC 9980) GPG keys for commit signature verification #214716
Unanswered
lizthegrey
asked this question in
Other Feature Feedback, Questions, & Ideas
Replies: 1 comment
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
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.
🏷️ Discussion Type
Product Feedback
💬 Feature/Topic Area
Profile
Body
Summary
This is the GPG counterpart to the post-quantum SSH key request: #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