Add FIXME for construction of EdDSA public keys from a card

This commit is contained in:
Heiko Schaefer 2022-01-27 16:09:37 +01:00
parent 65e192d728
commit 5e0007c7fd
No known key found for this signature in database
GPG key ID: 4A849A1904CCBD7D

View file

@ -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(),