this post was submitted on 20 Jul 2024
1627 points (98.7% liked)
linuxmemes
20880 readers
4 users here now
I use Arch btw
Sister communities:
- LemmyMemes: Memes
- LemmyShitpost: Anything and everything goes.
- RISA: Star Trek memes and shitposts
Community rules
- Follow the site-wide rules and code of conduct
- Be civil
- Post Linux-related content
- No recent reposts
Please report posts and comments that break these rules!
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Words are the least secure way to generate a password of a given length because you are limiting your character set to 26, and character N gives you information about the character at position N+1
The most secure way to generate a password is to uniformly pick bytes from the entire character set using a suitable form of entropy
Edit: for the dozens of people still feeling the need to reply to me: RSA keys are fixed length, and you don't need to memorize them. Using a dictionary of words to create your own RSA key is intentionally kneecapping the security of the key.
Good luck remembering random bytes. That infographic is about memorable passwords.
You memorize your RSA keys?
you memorize the password required to decrypt whatever container your RSA key is in. Hopefully.
Sure but we aren't talking about that
I think this specific chain of replies is talking about that actually.. though it is a pretty big tangent from the original post
"can you string words to form a valid RSA key"
"Yes this is the most secure way to do it"
"No, it's not when there is a fixed byte length"
-> where we are now
the direct chain I can see is
"can you string words to form a valid RSA key"
"I would hope so, [xkcd about password strength]"
"words are the least secure way to generate random bytes"
"Good luck remembering random bytes. That infographic is about memorable passwords."
"You memorize your RSA keys?"
so between comments 2 and 3 and 4 I'd say it soundly went past the handcrafted RSA key stuff.