this post was submitted on 25 Sep 2026
130 points (95.1% liked)

Technology

89005 readers
3115 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] solrize@lemmy.ml 1 points 3 weeks ago (1 children)

Fwiw, bitcoin mining amounts to brute forcing SHA256 rather than ECC. Tendency these days for ECC (like in TLS) is to use Curve25519 rather than secp256k1. PQ (post quantum) is an entirely different topic and is in the direction of much more complicated schemes. RSA (or rather, integer factoring) has a long history of falling to better and better attacks, with a (now expired) 512 bit CA certificate recently having been factored on a single workstation. The first fielded deployment was at a nuclear lab and it used 336 bit keys! The big crypto nerds all seem to prefer ECC to RSA now. I tend to defer to them.

[–] MangoCats@feddit.it 1 points 3 weeks ago (1 children)

I've moved to ECC because the software packages fight me less in using it (except Microsoft DevOps ssh keys which insist on using RSA - making them the biggest pain in the process lately.)

RSA is eroding slowly - as all cryptographic algorithms have done historically. The 3072 bit RSA keys I put into practice 10 years ago are still "secure enough" - but I expect after a century they'll look pretty quaint and easily broken as well.

On the other hand: ECC seems great from all kinds of metrics, easy to implement, small keys, etc. - it just feels like the kind of thing that a clever insight is going to demolish all at once some day, unlike RSA that's sort of gracefully degrading with time.

[–] solrize@lemmy.ml 3 points 3 weeks ago (1 children)

I would say, there are known sub-exponential algorithms for factoring, while nothing better than (exponential) brute force is known for ECC. So, slightly better algorithms that erode RSA further are incremental improvements, while anything sub-exponential at all for ECC would be a breakthrough. Of course as someone once said, predictions are hard to make, especially about the future.

[–] MangoCats@feddit.it 1 points 3 weeks ago (1 children)

Just looking at the keys in authorized_keys, that short ECC key feels like any algorithmic breakthrough is going to turn it trivial... RSA already has those easier algorithms, but it also has the brute force bits to make the easier algorithms harder.

Difficult to see, always moving the future is.

[–] solrize@lemmy.ml 1 points 3 weeks ago (1 children)

You could say the same things about AES keys being short.

[–] MangoCats@feddit.it 1 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

And I do...

Academically, I trust the more modern algorithms with the shorter keys - not least because all the guidance says to trust them.

Viscerally, looking at the keys, the short ones just feel more vulnerable.

[–] solrize@lemmy.ml 1 points 3 weeks ago (1 children)

Most of us don't have control over the public keys we use. We connect to a web site with a browser, and the server supplies the public key.

If you want public keys for your own purposes, I guess nothing stops you from generating 4096 bit (or whatever) ECC keys. Of course the arithmetic will be slow.

If you're really paranoid about potential math advances affecting ECC and/or RSA, then you may be best off avoiding public key schemes altogether. Just use secret keys, and maybe Merkle tree signatures.

[–] MangoCats@feddit.it 1 points 3 weeks ago (1 children)

Just use secret keys

You mean symmetric keys? They're great, but they aren't terribly practical in MANY application scenarios.

[–] solrize@lemmy.ml 1 points 3 weeks ago (1 children)

They can be less convenient, yes, but a situation where you need truly public keys is probably not that secure to begin with. If you're just trying to talk to your friends from your tree house, symmetric encryption is completely practical, including using something like DUKPT for forward secrecy.

[–] MangoCats@feddit.it 1 points 3 weeks ago

a situation where you need truly public keys is probably not that secure to begin with.

A banking website?