Nitrokey / opcard-rs

OpenPGP card implementation
49 stars 1 forks source link

ECC support key import with both private and public key #197

Open sosthene-nitrokey opened 6 months ago

sosthene-nitrokey commented 6 months ago

This is indicated by adding 0xFF to the end of the attributes.We can just discard the public key on import if these attributes are use. See 4.4.3.9 of the specification. Another option is to do like for RSA CRT, we could just accept setting to the 0xFF variant and discarding the 0xFF.