From 5e0007c7fd911edf898aec32ac9cf5c29728f4d0 Mon Sep 17 00:00:00 2001 From: Heiko Schaefer Date: Thu, 27 Jan 2022 16:09:37 +0100 Subject: [PATCH] Add FIXME for construction of EdDSA public keys from a card --- openpgp-card-sequoia/src/util.rs | 3 +++ 1 file changed, 3 insertions(+) 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(),