Settings

Theme

Post-Quantum GitHub SSH

bauer.codes

32 points by embeng4096 · 19 comments

Reader

6 threads
frangonf

I use glab auth https at work, so I looked into it and since it goes through cloudflare it does the pq hybrid thingy in TLS 1.3.

I took a look now into gh, and turns out gh auth https to api.github.com does X25519 or p-256 only and not hybrid.

Git over ssh can be configured to either host gitlab or github like the post says, for use hybrid exchange.

So my understanding is that the blog recomendation of git over ssh in gh, scoping the non pq key to only this use while we wait for mldsa44 support or similar, seems to be good advice againts HNDL.

throw0101c

> That’s probably no longer a good idea, and GitHub doesn’t offer anything PQC for auth. The best we can do for now is use RSA-3072 or P-384.

P-384 seems to be considered 'good enough', but would P-521 be any worse? Pros/cons?

rubyalgo89

Tried it, the client side is the holdup, half our images still ship OpenSSH without ML-KEM.

13415

I have compiled a new openssh that supports KEM but the keychain on Linux doesn't support these keys so I still can't use ML-KEM 768. My fallback are 8192 RSA keys instead. These are certainly not post-quantum, on the contrary, but they should be safe for now.

ibotty

> Neither OpenSSH 10.6 nor GitHub offers purely PQC options (ML-KEM/FIPS 203). As of 2026-09-22, GitHub offers mlkem768x25519-sha256, so a hybrid PQC scheme is the best we can do for now — in line with the NSA advisory.

This is bullshit. mlkem768x25519-sha256 is stronger than ml-kem-768, in that both have to be broken for it to be broken. It's at least as strong.

Why do people believe that pure post-quantum crypto is better than hybrid?

  • hxtk

    NSA's recommendations are always at least somewhat targeted at the rest of the government, and for the government it seems like one driving factor in these choices has been the cost of procuring dedicated crypto hardware for things like smart cards, network interfaces, and TACLANEs.

    Some people speculate that NIST picked Rijndael over ChaCha20 for AES (and G-Hash over Poly1305) because their choices are cheaper to implement in hardware, and the government purchases enough hardware to ask for hardware implementations, even though the respective competitors are faster when both are implemented in software. Several of those same people believe Kyber was chosen over NTRU Prime for ML-KEM for the same reasons.

    If you believe that line of reasoning, it seems consistent that the NSA would recommend a cipher suite that is easier to implement in hardware by virtue of only needing to support AES, ML-DSA, and ML-KEM instead of adding the burden of supporting additional ciphers.

  • pmbauer

    > The NSA wants you to move to PQC in such a rush that it’s saying explicitly, against all its previous recommendations, that you can use the X25519MLKEM768 hybrid key exchange since it’s the most widely available solution.

    https://words.filippo.io/nsa-advisory/

    ... but I have updated the post to reflect your correct observation.

hparadiz

are you guys just straight up posting your public keys on your blogs or something? cause this level of paranoia is only warranted if that is the case.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection