1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-06-08 03:53:57 +00:00

Updated client kdf iterations to 100000 and fixed some lints

This commit is contained in:
Daniel García 2019-09-05 21:56:12 +02:00
parent dda244edd8
commit df8114f8be
No known key found for this signature in database
GPG key ID: FC8A7D14C3CD543A
7 changed files with 105 additions and 116 deletions

View file

@ -46,7 +46,7 @@ enum UserStatus {
/// Local methods
impl User {
pub const CLIENT_KDF_TYPE_DEFAULT: i32 = 0; // PBKDF2: 0
pub const CLIENT_KDF_ITER_DEFAULT: i32 = 5_000;
pub const CLIENT_KDF_ITER_DEFAULT: i32 = 100_000;
pub fn new(mail: String) -> Self {
let now = Utc::now().naive_utc();