Decrease number of rounds for app token hash

This commit is contained in:
Lennart
2025-05-10 11:54:09 +02:00
parent d14ded7179
commit 3af9b3b8b4
2 changed files with 2 additions and 2 deletions

View File

@@ -198,7 +198,7 @@ impl AuthenticationProvider for SqlitePrincipalStore {
None,
None,
Params {
rounds: 1000,
rounds: 100,
..Default::default()
},
&salt,

View File

@@ -60,7 +60,7 @@ pub struct PwhashArgs {
long,
short = 'r',
help = "ONLY for pbkdf2: Number of rounds to calculate",
default_value_t = 1000
default_value_t = 100
)]
rounds: u32,
}