mirror of
https://github.com/Noratrieb/cluelessh.git
synced 2026-01-14 16:35:06 +01:00
refactor
This commit is contained in:
parent
d5794d3ef0
commit
ca4213ba81
7 changed files with 130 additions and 111 deletions
|
|
@ -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, .. } => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue