Remix.run Logo
▲ teiferer a day ago

I hope you don't mind me asking .. so your tool doesn't actually save anything, you are only inputting a seed essentially which is the name of the service? How do you ensure that you enter it the same way every time? Normalization goes only so far (force case, remove whitespace, ...) and can't account for things like spelling differences. How do you deal with potentially not remembering?

▲wzyboy a day ago | parent | next [-]

I've used this kind of password generation in the past: nothing is stored, the tool just computes the password of a website by hash(master_key, website_domain).

This works, until a website (or a corporate IT admin) requires to change your password.

▲zahlman a day ago | parent | next [-]

There are dozens of us!

> This works, until a website (or a corporate IT admin) requires to change your password.

I save a list of "domains", and don't require them to be actually valid domain names or to correspond to the service. So I can just put a number on the value in the file, and the hash function computes something completely different. Of course, that does leak the information about what websites I have accounts on, but that sort of thing is probably easily guessed anyway.

▲teiferer 15 hours ago | parent [-]

And how is storing that list (together with the algorithm deriving the passwords from it) different from just storing randomly generated passwords?

▲zahlman 9 hours ago | parent [-]

Because the list doesn't contain secret information, even in encrypted form. The algorithm requires input that's only available from my own head. (To be clear, my threat model here doesn't include RATs, or specific malware that could read the process memory of my program and know how to interpret it, because I figure either of those would be game over regardless.)

If I were to generate random data and encrypt it, and I lost that data somehow, I would have to worry about whether I implemented the encryption properly. But I can't really mess up the implementation of "hash an arbitrary amount of data with a standard algorithm". Even if it were a bad hash, the attacker would be missing information on both the input and output side.

▲hamburglar 17 hours ago | parent | prev [-]

Yes and no. The metadata that is hashed per site includes an arbitrary serial number. SerialNumber++ rotates your password. It’s even reversible!

▲hamburglar 17 hours ago | parent | prev [-]

If I don’t remember, I get a different, wrong, password. It’s that simple. Unforgiving UX but not fatal.