mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-05-13 23:23:55 +00:00
bump state/nonce length
This commit is contained in:
parent
328c4a3e3c
commit
41f94e2f52
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ use crate::{
|
|||
};
|
||||
|
||||
// State length must be at least 16 characters and at most 1024 characters.
|
||||
const STATE_LENGTH: usize = 36;
|
||||
const STATE_LENGTH: usize = 64;
|
||||
|
||||
// Pool of characters for state and nonce generation
|
||||
// 0-9 -> 0x30-0x39
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue