![]() |
Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
|
Classes | |
| struct | Response |
Public Attributes | |
| optional string | password_salt = 1 |
| optional int32 | n = 2 |
| optional int32 | r = 3 |
| optional int32 | p = 4 |
| optional bytes | nonce = 5 |
| optional bool | needs_migration = 6 |
| optional string | scrypt_salt = 7 |
| optional int32 Response_PasswordSalt::n = 2 |
scrypt cost parameters for the verifier. Absent/zero for legacy accounts.
| optional bool Response_PasswordSalt::needs_migration = 6 |
True when the account still uses the legacy password format and should be migrated to the scrypt format after a successful login.
| optional bytes Response_PasswordSalt::nonce = 5 |
Server-generated challenge. When present the client must authenticate with a challenge-response instead of transmitting the password hash.
| optional int32 Response_PasswordSalt::p = 4 |
| optional string Response_PasswordSalt::password_salt = 1 |
Salt for the legacy password hash. Pre-challenge clients derive and send that hash from it. For migrated accounts holding a fresh legacy backup this carries the backup's salt so those clients can still log in; clients that speak challenge-response must use scrypt_salt instead when present.
| optional int32 Response_PasswordSalt::r = 3 |
| optional string Response_PasswordSalt::scrypt_salt = 7 |
Salt of the stored scrypt verifier. Present for migrated accounts; challenge-response clients derive the verifier from this rather than from password_salt, which may carry a legacy backup salt.