python-pkcs11
python-pkcs11 copied to clipboard
fix for issue #140 : lack of support for generation of CKK_GENERIC_SECRET key type
This commit provides a fix for issue #140.
- Adding a default mechanism for
CKK_GENERIC_SECRET
key type - Fixing condition for including
CKA_VALUE_LEN
when generating a secret key. It is now skipped only for those algorithms that do not want it.