News for hackers. Stuff that matters.
Re:A password generator inspired by the Xkcd password spec by thesuitonym on Thursday February 20, 2025 @09:34AM (#43115132)
You've got to remember that this comic came out at a time when password managers were not extremely common, and the general consensus for a "good" password looked something like this: X8woi$SD

The big thing (in my opinion) that the comic gets wrong, and that all implementations of the password spec follow, is that if an attacker has reason to assume you might be using this style of password, then each word sort of becomes a single "character," albeit from a much larger list of possible characters. But if you introduce some random numbers or special characters into the words, it's still easy to remember and type, but becomes much more difficult to crack.

Re:A password generator inspired by the Xkcd password spec by logifail on Thursday February 20, 2025 @09:47AM (#43115302)
> it's still easy to remember and type

I think the "ah-ha" moment for me was realising that I needed neither to be able to remember nor to type my passwords.

Once that happens, passwords like 5Ze2vz7AdDjWbXXq start to look great rather than awful :)

Re:A password generator inspired by the Xkcd password spec by thesuitonym on Thursday February 20, 2025 @10:28AM (#43115850)
That is a much better password, but there are occasions where you need to type a password. For instance, bootstrapping a new device that doesn't have your password manager installed already.
Re:A password generator inspired by the Xkcd password spec by logifail on Thursday February 20, 2025 @01:22PM (#43118215)
> there are occasions where you need to type a password. For instance, bootstrapping a new device that doesn't have your password manager installed already

Right, but the whole point is that the (hopefully) one-time pain of doing this is worth it in the long run.

Re:A password generator inspired by the Xkcd password spec by zokier on Thursday February 20, 2025 @09:55AM (#43115416)
> The big thing (in my opinion) that the comic gets wrong, and that all implementations of the password spec follow, is that if an attacker has reason to assume you might be using this style of password, then each word sort of becomes a single "character," albeit from a much larger list of possible characters.

Why you think that is "wrong"? It's the whole idea behind passphrases to consider each word as a symbol, and it's also what the xkcd entropy calculation is based on.

Re:A password generator inspired by the Xkcd password spec by nullc on Thursday February 20, 2025 @09:39AM (#43115206)
> introduce some random numbers or special characters into the words, it's still easy to remember and type

If you ask users to do so themselves they tend to do so in extremely predictable ways that add l1ttle entropy!

If you do it automatically and in a way that has high entropy the result is a lot less memorable.

Probably just adding an additional word adds more entropy at less memorability cost.

Re:A password generator inspired by the Xkcd password spec by thesuitonym on Thursday February 20, 2025 @10:28AM (#43115838)
>If you do it automatically and in a way that has high entropy the result is a lot less memorable.

I find it just as easy to remember correcthor_sebatTerystaple, and it effectively changes the attack from guessing which four words were used from a well known dictionary.

Re:A password generator inspired by the Xkcd password spec by nullc on Thursday February 20, 2025 @02:19PM (#43118910)
Attackers have made extremely good models of mangling that humans perform on passwords, so this kind of change just adds whatever bits of entropy there are in your selection of mangling approaches. It's almost certainly less than you think.

It might help to understand what people have done here: There have been absolutely gigantic plaintext password leaks. Armed with plaintext passwords and collections of very good 'dictionaries' (might not actually be dictionaries) attackers design rules to turn the dictionary into as many passwords as possible without duplication.