r/git • u/wjrasmussen • 22h ago
support post-quantum encryption
NSA advisory about changing to post-quantum encryption. Does git have anything specific for ssh we can use to comply? Also, since I use github, I hope they are on the same page with it.
Thanks.
0
Upvotes
View all comments
9
u/latkde 21h ago edited 21h ago
There are two aspects here: the long-lived keys for authenticating yourself to an SSH server, and the concrete SSH session, which involves negotiating of a session key for the actual encryption. For SSH sessions, PQC is already common.
No Git-level changes are needed, this all depends on the SSH client library and the servers you connect to. The GH blog post shows how you can check your SSH connections.
Similarly, PQC is already common for HTTPS connections.
Long-lived PQC keys (for authentication/signing) aren't common though. While OpenSSH supports the hybrid mldsa44-ed25519 key type, it's not yet widely supported in other libraries – but expect the ecosystem to catch up quickly over the next few months. GitHub doesn't currently support it, but there's a community feedback ticket about this:
The situation here is less urgent. Authentication is interactive, so there's no collect-now-decrypt-later threat scenario. We should move to PQC authentication before ECC and RSA are broken, but there's no plausible indication that they're already broken. For the foreseeable future, current keys are still secure for authentication.