diff options
author | maximilien <me@mricher.fr> | 2024-08-09 06:47:11 +0000 |
---|---|---|
committer | maximilien <me@mricher.fr> | 2024-08-09 06:47:11 +0000 |
commit | 3a87bd1370eb9fefc67deec9d7dfa2187ddf9763 (patch) | |
tree | 21044a13236211cefeec805bd79ff75700066aed /src/model/garage.rs | |
parent | 060ad0da3231e20cc57b7c3435b1f373dc01d724 (diff) | |
parent | 9302cd42f024e5f55dc5bce28203f70da8ea0b4e (diff) | |
download | garage-3a87bd1370eb9fefc67deec9d7dfa2187ddf9763.tar.gz garage-3a87bd1370eb9fefc67deec9d7dfa2187ddf9763.zip |
Merge pull request 'Improve error message for malformed RPC secret key' (#846) from improve-secret-error-message into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/846
Reviewed-by: Quentin <quentin@dufour.io>
Diffstat (limited to 'src/model/garage.rs')
-rw-r--r-- | src/model/garage.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/garage.rs b/src/model/garage.rs index 273690db..363b02dd 100644 --- a/src/model/garage.rs +++ b/src/model/garage.rs @@ -141,7 +141,7 @@ impl Garage { )?) .ok() .and_then(|x| NetworkKey::from_slice(&x)) - .ok_or_message("Invalid RPC secret key")?; + .ok_or_message("Invalid RPC secret key: expected 32 bits of entropy, please check the documentation for requirements")?; let (replication_factor, consistency_mode) = parse_replication_mode(&config)?; |