Rendered at 15:57:08 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
djhworld 4 days ago [-]
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
throw0101d 4 days ago [-]
> 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).
This is the clearest summary of where we stand in terms of “good” post quantum auth schemes in OpenSSH I’ve seen so far. Thank you!
bitfilped 2 days ago [-]
Apple puts an override in their ssh config that orders the algorithms in a weird way. Override it in your.ssh/config file with ^ for preference to put the exchanges you actually want first.
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.
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.
_alternator_ 4 days ago [-]
> 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.
marcosdumay 4 days ago [-]
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.
ky3 4 days ago [-]
> 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.
amluto 3 days ago [-]
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.
ky3 3 days ago [-]
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).
amluto 3 days ago [-]
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.
yyyk 2 days ago [-]
You can't outrun Shor. You can outrun 'practical quantum computers', at least for now.
panarky 3 days ago [-]
When in doubt, use both.
asveikau 4 days ago [-]
Seems like github does not support mldsa44-ed25519 identity keys.
dboreham 3 days ago [-]
Heck Bitbucket doesn't even support ed25519-sk keys.
When do we think quantum computers are gonna be a thing? macOS 30? When Apple's MX MAX chip releases?
somat 4 days ago [-]
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".
pishpash 3 days ago [-]
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.
monk_grilla 4 days ago [-]
Per the linked page:
> 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.
rcxdude 3 days ago [-]
It seems unlikely they're ever going to be something you personally buy, just by the nature of they're useful for.
4 days ago [-]
comboy 4 days ago [-]
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?
dboreham 3 days ago [-]
Makes one wonder.
4 days ago [-]
dropdropteam 4 days ago [-]
[dead]
minfazhai 3 days ago [-]
[dead]
Iris86901 4 days ago [-]
[dead]
oniconnect 3 days ago [-]
[dead]
jonasbrunner 4 days ago [-]
[flagged]
cobbal 4 days ago [-]
So quiet that it was shipped 5 years ago
clownworld1984 4 days ago [-]
[dead]
clownworld1984 4 days ago [-]
[flagged]
collinfunk 4 days ago [-]
Do you think COVID-19 didn't kill millions of people?
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...
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/
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...
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.