auth: User faster app token hash

This commit is contained in:
Lennart
2025-07-22 16:10:19 +02:00
parent 18af1b9aa2
commit ea43876410

View File

@@ -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,