diff --git a/openpgp-card-sequoia/src/util.rs b/openpgp-card-sequoia/src/util.rs index c6e3350..e00163d 100644 --- a/openpgp-card-sequoia/src/util.rs +++ b/openpgp-card-sequoia/src/util.rs @@ -227,6 +227,9 @@ pub fn public_key_material_to_key( } KeyType::Decryption => { if algo_ecc.curve() == Curve::Cv25519 { + // FIXME: not setting `hash` and `sym` is not + // ok when a cert already exists + // EdDSA let k4 = Key4::import_public_cv25519( ecc.data(),