diff --git a/openpgp-card/src/crypto_data.rs b/openpgp-card/src/crypto_data.rs index 1867617..075e301 100644 --- a/openpgp-card/src/crypto_data.rs +++ b/openpgp-card/src/crypto_data.rs @@ -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) + ) } } }