mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 13:32:16 +00:00
Decrease number of rounds for app token hash
This commit is contained in:
@@ -198,7 +198,7 @@ impl AuthenticationProvider for SqlitePrincipalStore {
|
||||
None,
|
||||
None,
|
||||
Params {
|
||||
rounds: 1000,
|
||||
rounds: 100,
|
||||
..Default::default()
|
||||
},
|
||||
&salt,
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user