openpgp-card: add algorithm to PublicKeyMaterial Display for EccPub
This commit is contained in:
parent
fe0a8565e8
commit
535c9e6e0a
1 changed files with 6 additions and 1 deletions
|
@ -128,7 +128,12 @@ impl std::fmt::Display for PublicKeyMaterial {
|
|||
)
|
||||
}
|
||||
Self::E(ecc) => {
|
||||
write!(f, "ECC, data: {:02X}", ecc.data.plain_hex(false))
|
||||
write!(
|
||||
f,
|
||||
"ECC [{}], data: {:02X}",
|
||||
ecc.algo(),
|
||||
ecc.data.plain_hex(false)
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue