An unofficial, read-only Hacker News reader.

1Password Security Incident (opens external site)

1714 points by lxhrstn 3 days ago | 1password.com | 732 comments on HN

View full thread · View on Hacker News

Comment thread (6)

  1. 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.

    Replies (2)
    1. 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.

      Replies (1)
      1. And how is storing that list (together with the algorithm deriving the passwords from it) different from just storing randomly generated passwords?
        Replies (1)
        1. 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.

          Replies (1)
          1. Ah because there is still the master key being hashed in. Got it, thanks.
    2. Yes and no. The metadata that is hashed per site includes an arbitrary serial number. SerialNumber++ rotates your password. It’s even reversible!