The version of openSSH on macOS 27 is OpenSSH_10.5p1
Which lets you generate a "mldsa44-ed25519" key (ssh-keygen -t mldsa44-ed25519) but I can't seem to get it to work with my servers running openSSH 10.6
I installed openSSH (10.6) and regenerated my key using the same command and everything just worked
so not really sure what's going on there, other than hoping Apple updates to 10.6 some day
> Which lets you generate a "mldsa44-ed25519" key (ssh-keygen -t mldsa44-ed25519) but I can't seem to get it to work with my servers running openSSH 10.6
From the 10.6 Release Notes (§New features):
* All: enable hybrid post-quantum ssh-mldsa44-ed25519 signature
algorithm. Note that this no longer uses the "@openssh.com"
vendor extension suffix that the previous experimental
implementation used. Keys generated with the previous experimental
support must be regenerated and/or removed.
"mldsa44-ed25519" was added in a commit on 14 Jun 2026, but with "@openssh.com" initially, now removed. But given the recent NSA recommendation,[1] ML-DSA-44 is too small for 'important' US government deployments: they mandate ML-DSA-87, which corresponds to non-PQ algos Ed448, RSA ≥3072, P-384 or P-521 (see RFC 10073 §6).
I mean, there is a chance that it turns out that RSA is actually more secure than ECC for practical purposes. Maybe the real security lies in using obscure schemes that nobody will even bother attacking.
> Maybe the real security lies in using obscure schemes that nobody will even bother attacking.
Security through obscurity was always bad practice, but the use of models for cryptanalysis makes it even worse. We can now automate cryptanalysis at scale.
We do know that RSA resists quantum computers better than ECC because the keys are larger. The extra bits we use because it has been weakened make a difference for unrelated attacks.
> RSA resists quantum computers better than ECC because the keys are larger
A longer key doesn't necessarily translate into greater security. 3DES has 168 bits of entropy (in full triple-key mode) but is less secure than AES-128. Cipher design matters more than key length.
Not for Shor’s algorithm. Shor’s algorithm factors and finds discrete logs with approximately equal ease, and switching between integers-mod—p and an elliptic curve makes approximately no difference.
0. You know that there are more asymmetric primitives than just discrete logs and factoring, yes? Shor is not a silver bullet for all crypto.
1. While it's true that polynomial scaling means users can no longer outrun Shor by doubling or tripling key lengths, wording it as "factors and finds discrete logs with approximately equal ease" (emphasis mine) is misleading.
E.g. summing a linked list of numbers vs an array are both big theta of n, but no-one would call them "approximately equal" because their actual runtimes differ by an order of magnitude on modern cpus thanks to cache coherence (and that's not even considering SIMD).
Shor’s algorithm solves discrete logs and factors with complexity approximately equal to the complexity of exponentiation in the group in question. There’s some space overhead (maybe a factor of 3). There’s some time overhead (maybe a factor of 5? 10?). It’s been a while since I drew this all out on a blackboard (I studied it in grad school).
Read that again, though. We’re not talking about giant constant factors. There are no weird quasipolynomial complexities. It doesn’t even particularly matter whether the group is an elliptic curve. The quantum algorithm literally calculates (using the same circuit a classical computer would, except coherently) an exponentiation, stores some extra state (adding a very small space overhead), does a magical quantum thing (the QFT, which does not need to be done at full precision and is thus very very fast), and repeats it carefully a few (really not very many) times.
The only reason this is hard is that quantum computers are hard.
Yes, I’m aware there are lots of cryptosystems out there. Shor’s algorithm generically solves a problem called Abelian HSP, and both factoring and discrete logs map to it very cleanly with rather simple algebraic tricks.
The lattice systems are hanging in there because, in part, the natural related way to break them involves solving the dihedral HSP, which is a tantalizing problem that has distracted quite a few researchers. It looks so close to being solvable in a quantum computer, but it seems to strenuously resist an actual solution.
I previously relied on Tinyssh to defend a legacy VAX/VMS system.
I left NTRU Prime active there, but the active terminal emulators in our plant were Reflections and Rocket Bluezone, neither of which implemented NTRU Prime. Maybe they will get motivated.
Tinyssh doesn't implement any Kyber/Dilithium post-quantum, just DJB.
Me personally, never, at not least as quantum computer are defined today. The process is too analog, which makes it resistant to the type of shrink-scaling required for useful operations.
What I think will happen is a breakthrough/sidestep that will allow existing digital computers to work in the domain quantum computers promise without the analog circuitry required by a "real quantum computer".
That doesn't make sense. The whole point of qubits is to harness what you call the analog process, and digitize it another way. There is no sidestep. The closest you get is maybe quantum dots, or some other thing where you can leverage existing semiconductor processes. Once it's already a classical computer you can never turn it back into a quantum computer.
> Estimates for when a cryptographically-relevant quantum computer will arrive, based on the rate of progress in the field, range from 5-20 years, with many observers expecting them to arrive in the mid-2030s.
I have this wild idea that something popular got broken but they cannot tell what it is because it would be too likely somebody targeting some research on that before everything is patched. So we're suddenly focusing on post quantum with not much progress happening in quantum computing, eh?
Which lets you generate a "mldsa44-ed25519" key (ssh-keygen -t mldsa44-ed25519) but I can't seem to get it to work with my servers running openSSH 10.6
I installed openSSH (10.6) and regenerated my key using the same command and everything just worked
so not really sure what's going on there, other than hoping Apple updates to 10.6 some day
From the 10.6 Release Notes (§New features):
* https://www.openssh.org/txt/release-10.6"mldsa44-ed25519" was added in a commit on 14 Jun 2026, but with "@openssh.com" initially, now removed. But given the recent NSA recommendation,[1] ML-DSA-44 is too small for 'important' US government deployments: they mandate ML-DSA-87, which corresponds to non-PQ algos Ed448, RSA ≥3072, P-384 or P-521 (see RFC 10073 §6).
[1] https://news.ycombinator.com/item?id=50730738
There is a draft for "ssh-mldsa87-p384" by Damien Miller (of portable OpenSSH):
* https://datatracker.ietf.org/doc/draft-ietf-sshm-composite-s...
There's also an NSA-'sponsored' informational draft on what needs to be set for CNSA 2.0 compliance:
* https://datatracker.ietf.org/doc/draft-becker-cnsa2-ssh-prof...
I'm running the latest beta of macOS 27.3; it has SSH 10.6p1
https://web.archive.org/web/20251101000000*/https://www.open...
https://blog.g3rt.nl/upgrade-your-ssh-keys.html
Security through obscurity was always bad practice, but the use of models for cryptanalysis makes it even worse. We can now automate cryptanalysis at scale.
A longer key doesn't necessarily translate into greater security. 3DES has 168 bits of entropy (in full triple-key mode) but is less secure than AES-128. Cipher design matters more than key length.
1. While it's true that polynomial scaling means users can no longer outrun Shor by doubling or tripling key lengths, wording it as "factors and finds discrete logs with approximately equal ease" (emphasis mine) is misleading.
E.g. summing a linked list of numbers vs an array are both big theta of n, but no-one would call them "approximately equal" because their actual runtimes differ by an order of magnitude on modern cpus thanks to cache coherence (and that's not even considering SIMD).
Read that again, though. We’re not talking about giant constant factors. There are no weird quasipolynomial complexities. It doesn’t even particularly matter whether the group is an elliptic curve. The quantum algorithm literally calculates (using the same circuit a classical computer would, except coherently) an exponentiation, stores some extra state (adding a very small space overhead), does a magical quantum thing (the QFT, which does not need to be done at full precision and is thus very very fast), and repeats it carefully a few (really not very many) times.
The only reason this is hard is that quantum computers are hard.
Yes, I’m aware there are lots of cryptosystems out there. Shor’s algorithm generically solves a problem called Abelian HSP, and both factoring and discrete logs map to it very cleanly with rather simple algebraic tricks.
The lattice systems are hanging in there because, in part, the natural related way to break them involves solving the dihedral HSP, which is a tantalizing problem that has distracted quite a few researchers. It looks so close to being solvable in a quantum computer, but it seems to strenuously resist an actual solution.
https://doesgithubhaveipv6yet.com
https://x.com/sceptive/status/2128360703644119393?a=HVIj13nK...
I left NTRU Prime active there, but the active terminal emulators in our plant were Reflections and Rocket Bluezone, neither of which implemented NTRU Prime. Maybe they will get motivated.
Tinyssh doesn't implement any Kyber/Dilithium post-quantum, just DJB.
https://tinyssh.org/
What I think will happen is a breakthrough/sidestep that will allow existing digital computers to work in the domain quantum computers promise without the analog circuitry required by a "real quantum computer".
> Estimates for when a cryptographically-relevant quantum computer will arrive, based on the rate of progress in the field, range from 5-20 years, with many observers expecting them to arrive in the mid-2030s.
For all we know quantum computers have been available to state actors for years.