Please describe your issue in as much detail as possible:
Describe what you expected should happen. Should be able to generate the EC keypair
Describe what did happen. TypeError: in method 'CK_ATTRIBUTE_SMART_SetBin', argument 3 of type 'std::vector< unsigned char > const &'
Steps for reproducing this issue:
We have used the below template to generate key pair
[(CKA_CLASS, CKO_PUBLIC_KEY), (CKA_ID, cka_id),
(CKA_KEY_TYPE, CKK_EC), (CKA_TOKEN, CK_TRUE),
(CKA_PRIVATE, CK_FALSE),
(CKA_EC_PARAMS, [('namedCurve', 'secp384r1')])]
Your system information
Please describe your issue in as much detail as possible:
Describe what you expected should happen. Should be able to generate the EC keypair
Describe what did happen. TypeError: in method 'CK_ATTRIBUTE_SMART_SetBin', argument 3 of type 'std::vector< unsigned char > const &'
Steps for reproducing this issue:
Could you let me know how to pass CKA_EC_PARAMS?