logoalt Hacker News

Are Your Hardware Keys Still Safe? Steelmanning the NSA Panic

70 points • by mvip • yesterday at 2:00 PM • 43 comments • view on HN

Comments

upofadown • yesterday at 4:16 PM

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...

➕ show 2 replies
jsiepkes • yesterday at 6:12 PM

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.

➕ show 1 reply
jwr • yesterday at 5:00 PM

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)

➕ show 5 replies
riedel • yesterday at 4:52 PM

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

throwaway198846 • yesterday at 4:16 PM

Does someone have a similar blog post summarizing the situation for Wi-Fi?

➕ show 3 replies
megous • yesterday at 9:37 PM

So the answer is yes, apparently. :) Public key is handled only on the server, so someone would have to first break TLS (exact connection used to transfer the key during enrollment). Or hack the server.

After hacking the server that validates your key, they can do much more than break your one key, they can just issues authentication tokens (if it's a SSO) or access data without one (if the server offers the authenticated service directly).

So if someone has N million dollars for hacking one key, why would they just not use all those resources to just hack the server?

WesSouza • yesterday at 6:36 PM

Thanks for the article, ChatGPT!

fabian2k • yesterday at 5:30 PM

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?

➕ show 3 replies
mpalmer • yesterday at 5:04 PM

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?

eptcyka • yesterday at 4:54 PM

I can’t read claudish, get enraged real quick.

➕ show 2 replies