fix(rosenpass): Fix the error message if the secret key is invalid (#669)

This commit is contained in:
Karolin Varner
2025-07-29 14:15:22 +02:00
committed by GitHub

View File

@@ -364,7 +364,7 @@ impl Rosenpass {
// check the secret-key file is a valid key
ensure!(
SSk::load(&keypair.secret_key).is_ok(),
"could not load public-key file {:?}: invalid key",
"could not load secret-key file {:?}: invalid key",
keypair.secret_key
);
}