Lurker News

Comments (203) 34 threads

Show all comments

Showing thread 8 of 34

wybiral1 reply#
As for the crypto, am I correct in seeing that it uses PBKDF2 to derive an AES key from their password. And then it uses SJCL's encrypt/decrypt methods?
twiss1 reply#
Yes, that's correct. Unless Web Crypto is available, in which case it uses that.
mr_toad1 reply#
How does password / key recovery work?
twiss#
When you create an account, it downloads a file which contains

- Your username
- Your password, encrypted with a random key.
That random key (but not your encrypted password) is sent to the server. When you request a password recovery, we send you a file by email which contains that key and with which you can decrypt your password.
That way,
- We don't have your encrypted password
- A random person / application can't grab your password from your computer
- We verify that it's you who wants a password recovery (by sending you an email).