Wireguard doesn't support anything pqc, github barely, there are a huge list of servers and clients that don't support pqc, and a lot of os' don't have official packages supporting it either?
I'm not sure what people think of a timeline for all of this...but for smaller businesses, it feels like there is little to do at this stage but wait.
vinni2 16 hours ago [-]
Ya like there is not even OpenSSH 10.6 Ubuntu package to support mldsa44 or such.
frangonf 1 days ago [-]
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 1 days ago [-]
> 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?
adrian_b 13 hours ago [-]
I have some 9-year old devices, on which upgrading OpenSSH would be difficult.
On such old OpenSSH versions, there are only 2 valid options for "KexAlgorithms" in the "sshd_config" file, which are "ecdh-sha2-nistp521" and "ecdh-sha2-nistp384".
P-521 is significantly more secure, but slower. I left enabled only "ecdh-sha2-nistp521", whose slower speed cannot be noticed on a server where I am the only one who connects through SSH, for its management. If the server would have thousands of SSH connections being established every second, then I assume that the speed difference would become noticeable.
For the server host key and also for the client key, when connecting to such an ancient OpenSSH version, there are 4 acceptable choices: "ssh-keygen -t rsa -b 3072", "ssh-keygen -t rsa -b 4096", "ssh-keygen -t ecdsa -b 384", "ssh-keygen -t ecdsa -b 521".
I have chosen also P-521 for the keys, and in such circumstances, with only a single administrator connecting to a device, I cannot feel a difference in speed, the connections are still instantaneous (but the ancient device is a mini-PC used as router/firewall/DNS/e-mail server/Web server, using an Intel Coffee Lake U CPU, not some slow ARM CPU).
Curve448 would have been a better choice than P-521 or P-384, but it is not supported by OpenSSH, not even in new versions, much less in ancient versions.
If you have a recent OpenSSH 10.5 or 10.6, quantum-resistant algorithms can be selected both for the key exchange and for the digital signatures of the host and client keys.
Nonetheless, in the current OpenSSH and TLS 1.3, the security level for quantum-resistant algorithms is lower than recommended by NSA, who has prepared 2 drafts of Internet standards: "draft-becker-cnsa2-ssh-profile-08.txt" and "draft-becker-cnsa2-tls-profile-06.txt", which update the SSH and TLS protocols with more secure variants of ML-KEM and ML-DSA, conforming to the "Commercial National Security Algorithm (CNSA) Suite 2.0".
I expect that in a few months there will be a version of OpenSSH that supports the CNSA 2.0 profile. For long term usage, it would be prudent, when the updated OpenSSH arrives, to upgrade the host and client keys and the sshd_config file to the stronger algorithms.
stock_toaster 1 days ago [-]
P-521 cons, really only that it is a bit slower.
varispeed 1 days ago [-]
Why will notice that?
linsomniac 22 hours ago [-]
P-384 is supported in more places than P-521
dropdropteam 1 days ago [-]
[dead]
rubyalgo89 1 days ago [-]
Tried it, the client side is the holdup, half our images still ship OpenSSH without ML-KEM.
ibotty 1 days ago [-]
> 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 1 days ago [-]
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 1 days ago [-]
> 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.
... but I have updated the post to reflect your correct observation.
13415 1 days ago [-]
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.
hparadiz 1 days ago [-]
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.
That's unfortunate. Of course I don't use those keys for my servers.
dantillberg 22 hours ago [-]
Replying both to you and siblings: I agree, it's a sort of decision that I think made more sense in the zeitgeist of startup opsec in the early 2010s. We were all learning to embrace the idea that we should treat non-secrets _as if_ they were public.
When I discovered this myself (iirc reading [1]) I was pretty flabbergasted. Github users may choose to consider these keys public, but it was not right for Github to decide that for them.
The keys are called "public" to indicate that they're not the secret key. But making them _actually_ public reveals hidden information: anyone can present github-provided public keys to ssh servers to test if the server accepts them. And any keys reused across multiple accounts connect those identities.
I actually really like this. It's a simple way to verify trust for _any_ github user. You can sign messages with your ssh key or encrypt age messages towards an ssh key.
Of course you have to trust github, and it's better to exchange out of band, but if you want to bootstrap simple encrypted comms with someone you know is a certain github user, it's hard to beat.
hparadiz 1 days ago [-]
This is incredibly irresponsible of github to arbitrarily decide this with no opt out.
zackify 1 days ago [-]
it's unfortunate that a public key is public?
hparadiz 1 days ago [-]
"Public" keys can be used to derive identity, be brute forced in the future, and therefore inherently should be treated like semi secrets. It's like leaking an unsalted password hash.
pmbauer 1 days ago [-]
No. Public keys are intended to be public. If your security model requires public keys be private, something has gone horribly wrong.
hparadiz 23 hours ago [-]
So it's cool if I just spider them all and start brute forcing them with better compute in 15 years?
adrian_b 13 hours ago [-]
Supposing that 15 years would be enough to break them, all you will get is that starting at that time in the future you will be able to impersonate the owner of the keys, but that will work only if the owner of the keys has not changed them meanwhile.
For keys used in connection establishment protocols, breaking them will become worthwhile only if it can be done in a short time, perhaps of a few months at most.
Working for years to break a public key could be worthwhile only if there would exist a digitally signed act with legal value, like a document proving the ownership of something that is valuable. For such digital signatures with legal value, much stronger algorithms should be used than for Internet communication protocols.
pmbauer 23 hours ago [-]
Yes. Good luck.
what 1 days ago [-]
Huh? Your public key is meant to be public.
hamburglar 16 hours ago [-]
Personally, I think it’s fine for them to be public but people should be aware that they can be used to track you if you use the same one for identity across multiple services. If you’re going to use one for GitHub, that’s public in a way people maybe don’t intend. I have multiple GitHub accounts and I have always made sure to use different ssh identities for each.
Rendered at 01:42:01 GMT+0000 (Coordinated Universal Time) with Vercel.
I'm not sure what people think of a timeline for all of this...but for smaller businesses, it feels like there is little to do at this stage but wait.
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.
P-384 seems to be considered 'good enough', but would P-521 be any worse? Pros/cons?
On such old OpenSSH versions, there are only 2 valid options for "KexAlgorithms" in the "sshd_config" file, which are "ecdh-sha2-nistp521" and "ecdh-sha2-nistp384".
P-521 is significantly more secure, but slower. I left enabled only "ecdh-sha2-nistp521", whose slower speed cannot be noticed on a server where I am the only one who connects through SSH, for its management. If the server would have thousands of SSH connections being established every second, then I assume that the speed difference would become noticeable.
For the server host key and also for the client key, when connecting to such an ancient OpenSSH version, there are 4 acceptable choices: "ssh-keygen -t rsa -b 3072", "ssh-keygen -t rsa -b 4096", "ssh-keygen -t ecdsa -b 384", "ssh-keygen -t ecdsa -b 521".
I have chosen also P-521 for the keys, and in such circumstances, with only a single administrator connecting to a device, I cannot feel a difference in speed, the connections are still instantaneous (but the ancient device is a mini-PC used as router/firewall/DNS/e-mail server/Web server, using an Intel Coffee Lake U CPU, not some slow ARM CPU).
Curve448 would have been a better choice than P-521 or P-384, but it is not supported by OpenSSH, not even in new versions, much less in ancient versions.
If you have a recent OpenSSH 10.5 or 10.6, quantum-resistant algorithms can be selected both for the key exchange and for the digital signatures of the host and client keys.
Nonetheless, in the current OpenSSH and TLS 1.3, the security level for quantum-resistant algorithms is lower than recommended by NSA, who has prepared 2 drafts of Internet standards: "draft-becker-cnsa2-ssh-profile-08.txt" and "draft-becker-cnsa2-tls-profile-06.txt", which update the SSH and TLS protocols with more secure variants of ML-KEM and ML-DSA, conforming to the "Commercial National Security Algorithm (CNSA) Suite 2.0".
I expect that in a few months there will be a version of OpenSSH that supports the CNSA 2.0 profile. For long term usage, it would be prudent, when the updated OpenSSH arrives, to upgrade the host and client keys and the sshd_config file to the stronger algorithms.
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?
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.
https://words.filippo.io/nsa-advisory/
... but I have updated the post to reflect your correct observation.
When I discovered this myself (iirc reading [1]) I was pretty flabbergasted. Github users may choose to consider these keys public, but it was not right for Github to decide that for them.
The keys are called "public" to indicate that they're not the secret key. But making them _actually_ public reveals hidden information: anyone can present github-provided public keys to ssh servers to test if the server accepts them. And any keys reused across multiple accounts connect those identities.
1: https://news.ycombinator.com/item?id=9645703 "Auditing GitHub users’ SSH key quality"
Of course you have to trust github, and it's better to exchange out of band, but if you want to bootstrap simple encrypted comms with someone you know is a certain github user, it's hard to beat.
For keys used in connection establishment protocols, breaking them will become worthwhile only if it can be done in a short time, perhaps of a few months at most.
Working for years to break a public key could be worthwhile only if there would exist a digitally signed act with legal value, like a document proving the ownership of something that is valuable. For such digital signatures with legal value, much stronger algorithms should be used than for Internet communication protocols.