This commit is contained in:
nora 2024-08-26 19:46:44 +02:00
parent d5794d3ef0
commit ca4213ba81
7 changed files with 130 additions and 111 deletions

View file

@ -137,7 +137,7 @@ fn info(id_file: &Path, decrypt: bool, show_private: bool) -> eyre::Result<()> {
PrivateKey::Ed25519 { private_key, .. } => {
println!(
" private key: {}",
base64::prelude::BASE64_STANDARD.encode(private_key)
base64::prelude::BASE64_STANDARD.encode(private_key.as_bytes())
)
}
PrivateKey::EcdsaSha2NistP256 { private_key, .. } => {