4 ms·
personally I've always just done: </dev/urandom base64 | head and picked a bit I liked
by blibble 9y ago
personally I've always just done:
</dev/urandom base64 | head
and picked a bit I liked
- ChrisSD 9y agoPicking the bit you like makes it hard to reason about how secure that is. It could be your preferences are much narrower than you realise. If you're going for something you find aesthetically pleasing or memorable then that's probably going to seriously limit password entropy. On the other hand if you're trying to pick something that "looks random" then you should know humans are terrible at that.
- recursive 9y ago20 perfectly random characters from a base64 stream have 20*6 = 120 bits of entropy. If you pick 20 characters from out of 1000 choices you can see on the screen, that would seem to remove at most 10 bits of entropy, no? (2^10 ~~ 1000)
- blibble 9y ago"picked a bit I liked" means selecting a length suitable for the site without any weird characters that the site will reject, not trying to find my place of birth in the output!
- ChrisSD 9y agoAh ok, that makes more sense! I'm just so use to people telling me they "like" their password to be the name of their cat. :P
- deleted 9y ago[deleted]
- cookiecaper 9y agoI dunno, I wouldn't discount this entirely. An advanced targeted attack could likely profile a user for their "likes" in a random string (e.g., favorite letters appearing often), but in the case of anonymous, brute-force-style attacks, "I just click things and scroll around until I see something I like" is probably really useful. It could, for example, protect against a somewhat predictable generator, since you won't know "the user always uses the first password, and the first password is always seeded incorrectly", or some other specific implementation flaw.
- pbhjpbhj 9y agoI do similar filtering to :graph:, or :alnum:, and dropping some characters. What I keep meaning to do is optimise for different entry mechanisms, I know it reduces strength but going from lower to UPPER to specials to UPPER to lower to additional-specials, etc., is a huge pain on a 5-key entry system (eg FireTV).