this post was submitted on 17 Jul 2023
420 points (88.6% liked)

Programmer Humor

32483 readers
416 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] conciselyverbose@kbin.social 8 points 1 year ago (1 children)

Knowing that it's already in use is.

Basically all of these constraints are bad practice, though. It's obviously better to have a long, complex password, and not to reuse passwords between sites, but if you make shit impossible for people to remember they're going to write it down, and a lot of people don't use password managers (or use shared devices where they aren't possible).

Length limits (that aren't like 1000 characters) are unconditionally terrible practice. It means your password is probably plain text, because hashes don't really care or take meaningfully longer based on the length of the input.

A string of (random) words is a perfectly fine password. There's an xkcd I'm too lazy to get demonstrating it, but it genuinely does add enough randomness to break brute force.

[โ€“] HeavyRust@lemm.ee 9 points 1 year ago

A string of (random) words is a perfectly fine password. There's an xkcd I'm too lazy to get demonstrating it, but it genuinely does add enough randomness to break brute force.

Here's the xkcd.