mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-21 09:05:10 -07:00
Challenge-response authentication: the client derives a scrypt verifier (RFC 7914, EVP_PBE_scrypt, N=32768, r=8, p=1) and authenticates with HMAC-SHA256(key, nonce), so neither the password nor its hash is transmitted. The stored format becomes "$scrypt$<n>$<r>$<p>$<salt>$<verifier>" and Response_PasswordSalt now carries the cost parameters. Strict servers only accept scrypt verifiers; legacy accounts are migrated after a successful login. Fix #344 for challenge-response servers: a saved profile stores the derived verifier under the password key instead of the plaintext password. The connect dialog loads it without revealing it, autoconnect passes it through, the change-password dialog no longer prefills the old password field with it, and the client only persists the verifier when "Save password" is checked. Took 3 minutes Took 1 minute Took 10 seconds Took 7 minutes |
||
|---|---|---|
| .. | ||
| servatrice_0000_to_0001.sql | ||
| servatrice_0001_to_0002.sql | ||
| servatrice_0002_to_0003.sql | ||
| servatrice_0003_to_0004.sql | ||
| servatrice_0004_to_0005.sql | ||
| servatrice_0005_to_0006.sql | ||
| servatrice_0006_to_0007.sql | ||
| servatrice_0007_to_0008.sql | ||
| servatrice_0008_to_0009.sql | ||
| servatrice_0009_to_0010.sql | ||
| servatrice_0010_to_0011.sql | ||
| servatrice_0011_to_0012.sql | ||
| servatrice_0012_to_0013.sql | ||
| servatrice_0013_to_0014.sql | ||
| servatrice_0014_to_0015.sql | ||
| servatrice_0015_to_0016.sql | ||
| servatrice_0016_to_0017.sql | ||
| servatrice_0017_to_0018.sql | ||
| servatrice_0018_to_0019.sql | ||
| servatrice_0019_to_0020.sql | ||
| servatrice_0020_to_0021.sql | ||
| servatrice_0021_to_0022.sql | ||
| servatrice_0022_to_0023.sql | ||
| servatrice_0023_to_0024.sql | ||
| servatrice_0024_to_0025.sql | ||
| servatrice_0025_to_0026.sql | ||
| servatrice_0026_to_0027.sql | ||
| servatrice_0027_to_0028.sql | ||
| servatrice_0028_to_0029.sql | ||
| servatrice_0029_to_0030.sql | ||
| servatrice_0030_to_0031.sql | ||
| servatrice_0031_to_0032.sql | ||
| servatrice_0032_to_0033.sql | ||
| servatrice_0033_to_0034.sql | ||
| servatrice_0034_to_0035.sql | ||
| servatrice_0035_to_0036.sql | ||
| servatrice_0036_to_0037.sql | ||