Posted by jvdheyden 3 hours ago
This is not true. RSA is still allowed temporarily, but only with a size of at least 3072-bit.
Moreover, "starting in 2027, no new product for NSS should have a burned-in root of trust relying on a non-quantum-resistant primitive".
Also: "by the end of 2030, all available devices should fully support quantum-resistant algorithms".
Therefore, after the New Year new products should not use RSA in root certificates, and by the end of 2030 the use of RSA and elliptic curves in non-hybrid algorithms should be discontinued.
Among the non-public-key algorithms, only 3 are permitted: AES-256, SHA-384 and SHA-512. Older or weaker algorithms are deprecated.
There is an exception for the digital signatures specified in NIST SP 800-208, inside which SHA-256 and SHA-192 are allowed, but these smaller hashes are not permitted for general usage.
It is notable that SHA3 is not among the algorithms permitted by the "Commercial National Security Algorithm Suite 2" promoted by NSA, despite being significantly stronger than SHA-512 and SHA-384.
Unlike with many other algorithms that are mentioned and about which it is said that there are no plans to include them among the algorithms that are allowed for owners and operators of "National Security Systems", for SHA3 it is said that even if NSA currently has no plans to allow the use of SHA3, "it would be prudent from a cryptographic agility perspective for NSS customers to have larger versions of SHA-3/SHAKE available in FIPS 140 validated products", which appears to imply that they might reconsider this decision in the future.
1. TLS 2. Hardware ssh keys
TLS -> we can configure X25519MLKEM768 for key exchange, but Let's Encrypt doesn't offer PQ auth yet. Should we switch to RSA 4096?
SSH -> there aren't any commercially available hardware keys that support ML-DSA or a hybrid
Seems kind of like shouting fire in a crowded room with no fire escapes, fire alarm pulls, or sprinklers. We just have to wait for the firefighters to come?
Last month they got funding for exactly this it seems: https://letsencrypt.org/2026/11/05/sta-pq-funding
You can use them with apps like Secretive https://secretive.dev
The secure enclave only supports ML-DSA-65 and 87 as far as I know, so it seems unlikely that Secretive will ever support mldsa44-ed25519, but maybe they will eventually agree on a hybrid.
25-ish years ago, I was in 6.857, Ron Rivest's security class (mostly crypto, but much less math-intensive than Silvio Micali's crypto class). I asked him about the utility of either using 1024-bit El Gamal wrapped in 2048-bit RSA or 2048-bit RSA wrapped in 2048-bit El Gamal. (These size relationships avoid waisted bits in the wrapping.) His response was that it was very unlikely to have a significant breakthrough against one without having a breakthrough against the other.
> This, to me, says this is a classical attack, because no quantum algorithm would “present a significant threat to cryptographic systems” without also a big progress in CRQC development, which is not mentioned anywhere.
These advisories seem very urgent, could it be they found a classical attack?
https://www.reddit.com/r/ProgrammerHumor/comments/5yhl93/ran...
25519 alone is probably not a good idea anymore.
Your recommendations, like RFC 9941 sntrup761x25519-sha512 and those based on ML-KEM are for the key encapsulation mechanism.
I am among those who believe that the arguments that ML-KEM is significantly weaker than NTRU Prime are correct, and that the recent attack by Anthropic has confirmed the predictions made about ML-KEM long ago, even if for now the attack is completely impractical (but it might be improved in the future).
The only reason why NIST has preferred ML-KEM is that when implemented in dedicated hardware, not in software, the cost of ML-KEM can be lower than for NTRU Prime. The reason is exactly the same for which the weaker polynomial hash of GCM has been preferred by NIST instead of the stronger Poly1305. Both ML-KEM and the GCM hash can be cheaper than NTRU Prime and Poly1305 in dedicated hardware, because they can replace some integer multipliers with other simpler circuits (due to making computations in powers-of-two fields instead of prime fields).
So I recommend to use in SSH sntrup761x25519-sha512.
The algorithm mentioned by you, RFC 10042 mlkem1024nistp384-sha384, is designed for a higher security level than the algorithms currently available in TLS 1.3 and in SSH. I believe that it will be available only in a future version of OpenSSH.
The current version has only mlkem768x25519-sha256, which is equivalent with what TLS 1.3 has.
For digital signatures, OpenSSH for now offers ssh-mldsa44-ed25519, which should be chosen when generating host keys.
So one needs to both generate new host keys with ssh-mldsa44-ed25519, and edit the client and server configuration files, to prefer sntrup761x25519-sha512 and mlkem768x25519-sha256, in what order you like.
Actually, how can ML-DSA and ML-KEM both be answers to the same question? One is a signature algorithm, one is a key exchange algorithm!
There’s also a built in ssh server in Forgejo but it has to be explicitly enabled.
If you have START_SSH_SERVER set to true in the [server] section of the Forgejo config, you are running the built-in ssh server of Forgejo itself. Otherwise it will be whatever ssh server your host OS is running.
Moving to MLKEM768-X25519 hybrids for key exchange as soon as possible and building in agility for authorisation.
There are a lot of high-volume environments where people weren't doing any key exchange whatsoever and had to be dragged kicking and screaming into doing so with x25519 only recently. They are going to be slow to adopt this.
Ask me how I know.
Not doing any key exchange means? Hopefully static, rarely changed symmetric keys?
Plus the packet fragmentation issues.
In OpenSSH, if all your machines are up to date? It's a config change. Not difficult.
In OpenSSH, if you have machines with older OpenSSH versions? Well how difficult is it to update OpenSSH on those machines?
In TLS? Well, I use Let's Encrypt, and they don't support any post-quantum algorithms, hybrid or not. In any case, it seems like the path they're going towards is Merkle Tree Certificates according to https://letsencrypt.org/2026/06/03/pq-certs, which means they might not ever support MLKEM768-X25519, but that might not matter. In any case, it means that moving to any post-quantum cryptography on my HTTPS sites would mean finding another TLS cert provider...
You can override it back in your ~/.ssh/config with
Host *
KexAlgorithms ^mlkem768x25519-sha256 > ssh -V
OpenSSH_10.3p1, LibreSSL 3.3.6
> ssh -v git@github.com 2>&1 | grep -i "kex: algorithm"
debug1: kex: algorithm: mlkem768x25519-sha256More precisely curves over fields of small characteristic and over extension fields have been weakened to the point of insecurity. But so far curves over prime fields have had a quite stable security story.