Spiegel von
https://github.com/dani-garcia/vaultwarden.git
synchronisiert 2024-11-17 04:20:29 +01:00
bump state/nonce length
Dieser Commit ist enthalten in:
Ursprung
1a89fbd08b
Commit
542a5d3cb1
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
|
@ -21,7 +21,7 @@ use crate::{
|
||||||
};
|
};
|
||||||
|
|
||||||
// State length must be at least 16 characters and at most 1024 characters.
|
// 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
|
// Pool of characters for state and nonce generation
|
||||||
// 0-9 -> 0x30-0x39
|
// 0-9 -> 0x30-0x39
|
||||||
|
|
Laden …
In neuem Issue referenzieren