See PyKCS11 introduction for more details about PyKCS11.
Changes:
1.4.0 - February 2017, Ludovic Rousseau
- fix
closeAllSessions()and move it fromSessiontoPKCS11Lib - add
RSAOAEPMechanismto support RSA Encryption - add
DigestSessionwhich enables multi-part digesting - add Elliptic Curve keypair generating mechanism
- fix bug in Templates using booleans
CK_TRUE/CK_FALSE
Templates are used bygenerateKey(),generateKeyPair(),findObjects()createObject(),unwrapKey() - fix
dumpit.py sample for Python 3
I also noticed that I forgot to blog about the previous version: 1.3.3
1.3.3 - November 2016, Ludovic Rousseau
- PKCS#11 definitions: sync with Cryptoki version 2.40
- add missing
CKM_*andCKP_*defines - Add
generateKey()with default mechanismCKM_AES_KEY_GEN - Make sure the
PyKCS11Libis referenced as long asSessionobject is live - Fix OverflowError on Windows
- Attribute
CKA_WRAP_WITH_TRUSTEDis bool - samples
- dumpit: ask to enter the PIN on the pinpad if needed
- getinfo & dumpit: add
--slot=parameter - some minor improvements