4 ms·
It appears like you're using the flawed '2a' bcrypt implementation from 2011, ex: <input type="hidden" name="hash" value="$2a$11$1aRIk1567CsvOEGMEKlalOteGi
by peterwwillis 14y ago
It appears like you're using the flawed '2a' bcrypt implementation from 2011, ex:
<input type="hidden" name="hash" value="$2a$11$1aRIk1567CsvOEGMEKlalOteGiqsy9APgBfI/5ZtPJvQgQkvxC1.G">
Use the '$2y$' form to ensure you're using the fixed version, at least, though I recommend something more along the lines of scrypt to be more robust against attack. And do you really need to pass the value in plaintext in the returned form? Just pass the hash value of the master password and put some fake stars in the form field to reduce the possibility of an attacker gaining the plaintext version of the master password from the browser.
All of this of course ignoring the problem of just generating lists of passwords based on commonly-used master passwords and service names, but i'm sure you all realize that problem.