mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 19:22:26 +00:00
auth: User faster app token hash
This commit is contained in:
@@ -206,7 +206,10 @@ impl AuthenticationProvider for SqlitePrincipalStore {
|
||||
None,
|
||||
None,
|
||||
Params {
|
||||
rounds: 10,
|
||||
// The app token has a high entropy so we are quite safe from quessing attacks
|
||||
// Also if an attacker got access to the hashes they'd have already gotten
|
||||
// access to the whole database.
|
||||
rounds: 2,
|
||||
..Default::default()
|
||||
},
|
||||
&salt,
|
||||
|
||||
Reference in New Issue
Block a user