3 ms·
No, you can use a different system: don't send the password to the server, instead create a private/public key pair from the password (deterministically) and se
by icebraining 13y ago
No, you can use a different system: don't send the password to the server, instead create a private/public key pair from the password (deterministically) and send only the public key to the server.
When you want to authenticate, just have the client sign something with the private key. If you want to encrypt on the client, it can just do PGP-like encryption (encrypt data with random AES key, encrypt that key with public key, send all to the server).
- blueskin_ 13y agoConsidering the average user's password choice tendencies, that's still weaker than a key from a proper source of entropy, then password reuse on top of that. That plus IIRC, RSA isn't deterministic even with the same seed. Not sure about generators for elliptic curve though.
- icebraining 13y agoI think it is, at least that's what Cryptico[1] does, if I understand it correctly. [1] https://github.com/wwwtyro/cryptico https://github.com/wwwtyro/cryptico
- tga_d 13y agoThey're using key-stretching to mitigate the use of bad passphrases, though reuse will still be an issue. https://wiki.mozilla.org/Identity/AttachedServices/KeyServerProtocol#Client-Side_Key_Stretching https://wiki.mozilla.org/Identity/AttachedServices/KeyServer... And RSA is deterministic.