Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicitly request EcDH derive return key as a session object
OpenSC PKCS#11 module fail C_DeriveKey operations with CKR_TEMPLATE_INCOMPLETE error code when used with PKCS#15 smart cards unless CKA_TOKEN attribute is set on the request template. Fix by always requesting session keys (CKA_TOKEN=false). This is also supposed to be the default by PKCS#11 v3.1 - thus not changing the existing behavior. Signed-off-by: Tero Mononen <[email protected]>
- Loading branch information