Add FIXME for construction of EdDSA public keys from a card
This commit is contained in:
parent
65e192d728
commit
5e0007c7fd
1 changed files with 3 additions and 0 deletions
|
@ -227,6 +227,9 @@ pub fn public_key_material_to_key(
|
||||||
}
|
}
|
||||||
KeyType::Decryption => {
|
KeyType::Decryption => {
|
||||||
if algo_ecc.curve() == Curve::Cv25519 {
|
if algo_ecc.curve() == Curve::Cv25519 {
|
||||||
|
// FIXME: not setting `hash` and `sym` is not
|
||||||
|
// ok when a cert already exists
|
||||||
|
|
||||||
// EdDSA
|
// EdDSA
|
||||||
let k4 = Key4::import_public_cv25519(
|
let k4 = Key4::import_public_cv25519(
|
||||||
ecc.data(),
|
ecc.data(),
|
||||||
|
|
Loading…
Reference in a new issue