It's hardly a crisis if you only have a 2048 bit RSA key on your hardware key and that key won't go any bigger. There still doesn't seem to be any more real possibility of anyone being able to break RSA2048 since I looked into this 3 years ago:
AI could in theory come up with a better algorithm, but there is no reason to think that that algorithm could threaten RSA2048 but not, say RSA3072. Such a breakthrough would be huge...
> AI could in theory come up with a better algorithm, but there is no reason to think that that algorithm could threaten RSA2048 but not, say RSA3072. Such a breakthrough would be huge...
If it is enough to lower the required time to attack an RSA2048 key from 700-ish years down to, say, 100 years of a BTC equivalent compute system, it now becomes feasible for at least nation-state entities even as RSA3072 remains out of reach.
Anyway, no matter what, RSA crypto falls apart once the first actually usable quantum computer is built. That is something I'm much more worried about.
The issue is not just as simple as compute. You would need something like an exabyte of memory somehow connected to enough compute to actually do something. Breaking RSA2048 is wildly out of the reach of current capabilities.
I feel like the markets and everything else are in extreme hysteria mode about this still. We are nowhere near anything. AI people regurgitating nonsense that spreads fear and fattens their pockets is all I see.
After reading the negative comments on Damien Miller's post about additional energy usage, I wondered what the real impact would be. It seems to me that the biggest impact of changing recommendations will actually be e-waste from obsolete hardware and not the added complexity in key-exchange or additional storage néeds.
With all this uncertainty and movement in the cryptography world, being unable to update the firmware on your Yubikey seems like a big potential problem to me. Simply because it can't adapt to any future discoveries. While the idea of not having a firmware-upgrade attack surface might have made sense in a pre-AI world, I'm not so sure it does now.
Personally I've ordered a Nitrokey (which has updatable firmware) so I can do some experimenting to see if its a good replacement.
It's a double edged sword tho. I don't think we should underestimate the firmware attack surface. IIRC crypto wallets have been targeted for such attacks before.
Yeah, bought, modified with a gsm modem, resealed and returned to the seller, then just resold and then anytime they were used, they reported back to the scammers and then the all got drained. Don't buy 3rd party
A reminder that if you use Yubikeys (you should!), you can use them for authenticating SSH sessions with rsa4096 using the OpenPGP app (see guide here: https://github.com/drduh/YubiKey-Guide).
I've been happily doing so for many years now and intend to continue doing so.
These same keys, incidentally, can also be:
* backed up on paper
* duplicated to multiple YubiKeys if you create them yourself
* be used for encrypting your backups (using gpg)
* and of course, be used for PGP, if you know people who use it (an elegant weapon for a more civilized age)
drduh's guide is a great starting point to getting one's workflow right.
Add paperkey[0], pass[1], aerc[2] using passwords stored in pass and integrated GPG signing, and for something more convenient than a paper copy but lasting far longer than USB or SSD, consider a USB "storage" device using ferroelectric RAM [3] for your master key.
I have been helping friends and family get started with Yubikeys for a few months now, but it's becoming more difficult. The last set I bought (from Canada) will take more than two weeks to deliver.
If you know of another way to do "all that" with a physical device where the private key can't be read and that provides a physical touch requirement feature, I'm all ears.
What's the best option now or in the near future for securing SSH keys? I've been toying with the idea of putting them on a Yubikey, so that they're not stored persistently on the PC. But now the best move seems to be to also use a stronger algorithm, which does seem to have very limited hardware support at this moment.
Or would it be a more worthwhile path to add 2FA to the SSH servers using FIDO2 or something like that?
I think for the foreseeable future, the name of the game is crypto agility. Shorter lived keys, and being able to adopt new ciphers as existing (and new ones) are proven to be inadequate.
> Shorter lived keys, and being able to adopt new ciphers
Only if you have significant constraints on storage or (more likely) transfer size. If you're okay with large encryption keys (but small encapsulations) and large signatures (but small verification keys), you can just use McElice encryption and Lamport signatures and basically ignore almost anything short of P=NP (in which case you're screwed regardless).
I could just have my own agent look at this stuff instead of slogging through the domain name owner's poor taste in LLM output.
How am I supposed know I'm getting any of the site owner's own expertise?
EDIT: It doesn't appear that I'm getting anything of the sort; basically all findings and insights are pulled from the sources. This is just synthesis of the kind LLMs are great at, but why is it worth a four thousand word post?
It's hardly a crisis if you only have a 2048 bit RSA key on your hardware key and that key won't go any bigger. There still doesn't seem to be any more real possibility of anyone being able to break RSA2048 since I looked into this 3 years ago:
* https://articles.59.ca/doku.php?id=em:20482030
AI could in theory come up with a better algorithm, but there is no reason to think that that algorithm could threaten RSA2048 but not, say RSA3072. Such a breakthrough would be huge...
> AI could in theory come up with a better algorithm, but there is no reason to think that that algorithm could threaten RSA2048 but not, say RSA3072. Such a breakthrough would be huge...
If it is enough to lower the required time to attack an RSA2048 key from 700-ish years down to, say, 100 years of a BTC equivalent compute system, it now becomes feasible for at least nation-state entities even as RSA3072 remains out of reach.
Anyway, no matter what, RSA crypto falls apart once the first actually usable quantum computer is built. That is something I'm much more worried about.
The issue is not just as simple as compute. You would need something like an exabyte of memory somehow connected to enough compute to actually do something. Breaking RSA2048 is wildly out of the reach of current capabilities.
Can quantum computers factor anything more complex than about 5x3=15 yet?
https://www.reddit.com/r/QuantumComputing/comments/1535lii/w...
I feel like the markets and everything else are in extreme hysteria mode about this still. We are nowhere near anything. AI people regurgitating nonsense that spreads fear and fattens their pockets is all I see.
I believe they factored 21 in the last few years.
Yes, but using a priori knowledge of 3 x 7 = 21. Mind that the paper's title starts with "Pretending to factor..." though.
while(safe(RSA4096)) sleep(180 * 86400);
Not even that...
"Any claims before November 2026 of breaking RSA with a Shor's computer are fake."
https://articles.59.ca/doku.php?id=em:qanalog#a_shor_s_compu...
People think discovering groundbreaking mathematical concepts is the same as finding bugs in code.
After reading the negative comments on Damien Miller's post about additional energy usage, I wondered what the real impact would be. It seems to me that the biggest impact of changing recommendations will actually be e-waste from obsolete hardware and not the added complexity in key-exchange or additional storage néeds.
[0] https://hachyderm.io/@damienmiller/117721161860082546
With all this uncertainty and movement in the cryptography world, being unable to update the firmware on your Yubikey seems like a big potential problem to me. Simply because it can't adapt to any future discoveries. While the idea of not having a firmware-upgrade attack surface might have made sense in a pre-AI world, I'm not so sure it does now.
Personally I've ordered a Nitrokey (which has updatable firmware) so I can do some experimenting to see if its a good replacement.
It's a double edged sword tho. I don't think we should underestimate the firmware attack surface. IIRC crypto wallets have been targeted for such attacks before.
Yeah, bought, modified with a gsm modem, resealed and returned to the seller, then just resold and then anytime they were used, they reported back to the scammers and then the all got drained. Don't buy 3rd party
A reminder that if you use Yubikeys (you should!), you can use them for authenticating SSH sessions with rsa4096 using the OpenPGP app (see guide here: https://github.com/drduh/YubiKey-Guide).
I've been happily doing so for many years now and intend to continue doing so.
These same keys, incidentally, can also be:
* backed up on paper
* duplicated to multiple YubiKeys if you create them yourself
* be used for encrypting your backups (using gpg)
* and of course, be used for PGP, if you know people who use it (an elegant weapon for a more civilized age)
drduh's guide is a great starting point to getting one's workflow right.
Add paperkey[0], pass[1], aerc[2] using passwords stored in pass and integrated GPG signing, and for something more convenient than a paper copy but lasting far longer than USB or SSD, consider a USB "storage" device using ferroelectric RAM [3] for your master key.
[0] https://www.jabberwocky.com/software/paperkey/
[1] https://www.passwordstore.org/
[2] https://man.sr.ht/~rjarry/aerc/integrations/password-manager...
[3] https://machdyne.com/product/blaustahl-storage-device/ - or another one of theirs.
I have been helping friends and family get started with Yubikeys for a few months now, but it's becoming more difficult. The last set I bought (from Canada) will take more than two weeks to deliver.
You can do all that with traditional passphrase-protected keys and no reliance on a closed-source device.
If you know of another way to do "all that" with a physical device where the private key can't be read and that provides a physical touch requirement feature, I'm all ears.
That guide is so good!
Thanks for the article, ChatGPT!
What's the best option now or in the near future for securing SSH keys? I've been toying with the idea of putting them on a Yubikey, so that they're not stored persistently on the PC. But now the best move seems to be to also use a stronger algorithm, which does seem to have very limited hardware support at this moment.
Or would it be a more worthwhile path to add 2FA to the SSH servers using FIDO2 or something like that?
I think for the foreseeable future, the name of the game is crypto agility. Shorter lived keys, and being able to adopt new ciphers as existing (and new ones) are proven to be inadequate.
> Shorter lived keys, and being able to adopt new ciphers
Only if you have significant constraints on storage or (more likely) transfer size. If you're okay with large encryption keys (but small encapsulations) and large signatures (but small verification keys), you can just use McElice encryption and Lamport signatures and basically ignore almost anything short of P=NP (in which case you're screwed regardless).
Does someone have a similar blog post summarizing the situation for Wi-Fi?
That's a really interesting idea. Maybe I will write a follow-up on that as I am curious about this myself.
I could just have my own agent look at this stuff instead of slogging through the domain name owner's poor taste in LLM output.
How am I supposed know I'm getting any of the site owner's own expertise?
EDIT: It doesn't appear that I'm getting anything of the sort; basically all findings and insights are pulled from the sources. This is just synthesis of the kind LLMs are great at, but why is it worth a four thousand word post?
I can’t read claudish, get enraged real quick.
This one has “the worked example“ and several others.