TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Is your SSH key still safe?

37 pointsby dz0nyabout 3 years ago

4 comments

exabrialabout 3 years ago
&gt; For the ECDSA algorithm, it should be 521.<p>Not that I&#x27;m discouraging people to use stronger security, by P-256 is perfectly safe. If you can wait an extra second or two for some connect operations, use P-521 or ED25519.<p>Honestly, I wish PGP was widely accepted. My &quot;persistent&quot; identity has a very long key, and I create &quot;A&quot; (auth) keys that expire. GPG has an SSH agent it&#x27;s quite beautiful. SSH keys by themselves do all of this key management and rotation by hand and I find it quite silly.
评论 #31042735 未加载
评论 #31043163 未加载
评论 #31047177 未加载
评论 #31045903 未加载
CodesInChaosabout 3 years ago
Ed25519 is defined over the 255 bit field GF(2^255-19) and thus has fixed size keys, so having key size recommendations for it is silly. (The underlying EdDSA can be generalized to other sizes).<p>256-bit ECDSA is fine, it offers the same theoretical security level as Ed25519. Its main problem is that historically implementations were fragile (relying on high quality randomness for signing) and not resistant to side-channel attacks.
评论 #31043180 未加载
walrus01about 3 years ago
i wonder what would happen if you made a site this that looked similar and asked people to upload their private ssh key to &quot;check if it&#x27;s safe&quot;. Sort of like the phishing sites that ask you to type your whole credit card number to &quot;see if it&#x27;s been compromised&quot;.<p>based on the number of people I&#x27;ve seen that totally don&#x27;t understand the concept between the public and private portions of their key, I bet you&#x27;d collect a lot.
评论 #31045198 未加载
moasdaabout 3 years ago
tl;dr - &quot;you need to make sure your keys are using strong encryption by not having old keys laying around.&quot;