36 points lumpa 1 hour ago 15 comments

regecks 47 minutes ago | parent

There are a bunch of iOS terminal apps + other hardware keys where the SSH keys are generated on the "Secure Enclave", but P-256 is the only key type supported.

Should we be moving off these as well?

drum55 24 minutes ago | parent

Doesn’t really matter where they are if they’re vulnerable, but we don’t really know how vulnerable. If the security is brought down to 90 bits does that matter for most things? Probably not, at least in the medium term. Bitcoin's entire proof of work is in the order of 90 bits, for over 15 years of compute time on dedicated hardware.

sscarduzio 37 minutes ago | parent

We need time for tooling to catch up before we can move to heavier cryptography.

Also, many web apps using JWT tokens embedded in cookies will hit the 8K max header length just because of the humongous signatures

quantummagic 32 minutes ago | parent

The advice to use ssh-agent is only going to list currently loaded keys; better to just scan manually:

       find ~/.ssh -type f -name "*.pub" -exec ssh-keygen -lf {} \;

binaryturtle 32 minutes ago | parent

So ssh-ed25519 is bad too? I just "upgraded" my RSA keys to that. I guess it's going back to RSA for now? Yikes. :)

(I wonder how many others waste their time like me with this "security" theatre and miss-information/ half-information)

anon7725 21 minutes ago | parent

IMO as an individual without particular security concerns, it’s best to a) figure out what you’ve got now and b) make any upgrades like Ubuntu 24 lts to 26 lts like the article mentions and c) pay attention as new capabilities are rolled out.

cogman10 16 minutes ago | parent

> So ssh-ed25519 is bad too?

Currently, no. But there's a lot of speculation going around that it likely has some vulnerability that's on the precipice of being disclosed. The NSA "Move to post quantum crypto now" notice and Anthropic's research into lattice crypto has people spooked.

binaryturtle 8 minutes ago | parent

My understanding from this was that in a OpenSSH context the "key exchange" was the most critical part. With my rusty OpenSSH 9.x it's already using some "sntrup761x25519-sha512@openssh.com" when connecting to my server which supposedly is "quantum safe".

The ssh keys are only used for auth (like a HUGE A** password), and if you don't share your public keys with random 3rd parties (like you wouldn't share your password hashes either) it should be relatively safe, I think.

But it's all very confusing now for sure.

debayande 28 minutes ago | parent

> Seems that my PGP key is using RSA-4096 which is not a concern for today.

Am I reading this wrong, or is the author's example showing an Ed25519 key?

SethMLarson 2 minutes ago | parent

That's an SSH key! My PGP key returned no hits, but I can see why that section is confusing. I'll fix that to be clearer :)

lousken 24 minutes ago | parent

Why would you upgrade from ed25519 ssh key? It is not used in encryption but for auth

For auth they are perfectly fine - it's like saying 17 character passwords are no longer good enough...

wolvoleo 22 minutes ago | parent

Yes, as the attacker normally won't have the public part of the key pair, they have nothing to crack.

I would stop publishing them on eg GitHub etc but I've never done that anyway.

drum55 11 minutes ago | parent

Github has always published all keys for all users though, it's the source of some really stupid vulnerabilities that they seem to think "public key" means "should be public".

noodletheworld 3 minutes ago | parent

It depends; you don't reuse ssh keys right? That would be lazy and bad.

If you did for example, use the same key for github and login, anyone could access your public keys on this unauthenticated url:

https://github.com/yourname.keys

wpollock 2 minutes ago | parent

[delayed]