[gnutls-devel] PKCS 11, public key from a private key

Jan Včelák jan.vcelak at nic.cz
Sun Dec 6 22:23:31 CET 2015


On 6.12.2015 11:25, Nikos Mavrogiannopoulos wrote:
> Interesting. As I understand you are referring to the CKA_EC_POINT
> attribute which does not need to be included in private key objects. 

Exactly.

> For a fix to make gnutls_pubkey_import_privkey() available with all
> keys, an alternative is for the import function to reconstruct the
> public key from the private key. I'll check how feasible is that.

I don't think this will be possible. The private key material is present
in the token, so the token would have to do the reconstruction.

Cheers,

Jan




More information about the Gnutls-devel mailing list