Pykcs11

Latest version: v1.5.17

Safety actively analyzes 682387 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 6

1.3.2

- Add wrappers for C_Verify, C_WrapKey, C_UnwrapKey
- PKCS11 definitions: sync with Cryptoki version 2.30
- Generate CKM[CKM_VENDOR_DEFINED+x] values on the fly
- Fix use of a pinpad reader CKF_PROTECTED_AUTHENTICATION_PATH
- dumpit.py: lots of small fixes
- Setup call make to build pykcs11_wrap.cpp using SWIG
- Fix build on Windows
- Small bugs fixed

1.3.1

- PKCS11 definitions: sync with Cryptoki version 2.30
- Add user type CK_CONTEXT_SPECIFIC
- Fixes 9, incorrect assignment of pParameter for CK_MECHANISMs.
- CKA_DERIVE is a CK_BBOOL and not byte array
- Add digest() and encrypt method to Session class
- Add samples:
- key-pair generation
- key-pair generation + certificate import
- printing public key modulus
- computing signature
- small bugs fixed

1.3.0

- add Python3 support

1.2.4

- improve epydoc documentation
- add pinpad support in C_Login() using pin=None
- add pinpad support in samples getinfo.py and dumpit.py
- add createObject()

1.2.3

- Add new classes CK_SLOT_INFO, CK_INFO, CK_SESSION_INFO,
CK_MECHANISM_INFO and CK_TOKEN_INFO instead of the low level ones
to have a __repr__() method. It is now possible to just print an
object of these classes and have a human readable version.
- Add a new class CK_OBJECT_HANDLE() to replace the low level one
and have a __repr__() method for objects returned by findObjects()
- Move initToken() from class Session to class PyKCS11Lib and add a
slot parameter.
- Add generateKeyPair and destoryObject support in high level
interface

1.2.2

- Debug low level C_GenerateRandom
- Add seedRandom() and generateRandom() in the high level API

Page 5 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.