Pykcs11

Latest version: v1.5.17

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

Scan your dependencies

Page 4 of 6

1.4.4

- getAttributeValue(): handle CKR_ARGUMENTS_BAD error
- seedRandom: fix the seed convertion
- Add vendor errors support to PyKCS11Error
- samples/getinfo & dumpit: list only slots with a token present by default
- run_test: add support of OpenSC PKCS11 spy
- ckbytelist: update __repr__()
- include tests files in the archive
- dumpit: display the error if getAttributeValue() fails
- some minor improvements

1.4.3

- Add support of CKM_RSA_PKCS_PSS mechanism
- fix CKM_AES_CBC issue with Python 3
- add Unitary Tests (make tests)
- add tox support (automate and standardize testing in Python)
- add coverage support (measuring code coverage of Python programs)
- add Travis-CI configuration (automatic build and tests)
- some minor improvements

1.4.2

- Moved the project from https://bitbucket.org/PyKCS11/pykcs11 to
https://github.com/LudovicRousseau/PyKCS11
- Makefile: use a better default value for PREFIX
- Fix PyKCS11.__del__(): test that every module is accessible
- getSlotList(): add optional tokenPresent parameter
By default the method returns all the slots (like before the change).
- Always call C_Initialize() in ::Load() to work with some bogus
PKCS11 library (like libCryptoki2 from Safenet Luna SA HSM)
- LowLevel samples: use PYKCS11LIB environment variable
- some minor improvements

1.4.1

- fix compilation under Python 3
- add rsa encryption sample program

1.4.0

- fix closeAllSessions() and move it Session to PKCS11Lib
- add RSAOAEPMechanism to support RSA Encryption
- add DigestSession which enables multi-part digesting
- add Elliptic curve keypair generating mechanism
- fix bug in Templates using booleans CK_TRUE/CK_FALSE
Templates are used by generateKey(), generateKeyPair(),
findObjects() createObject(), unwrapKey()
- fix dumpit.py sample for Python 3

1.3.3

- PKCS11 definitions: sync with Cryptoki version 2.40
. add missing CKM_* and CKP_* defines
- Add generateKey() with default mechanism CKM_AES_KEY_GEN
- Make sure the PyKCS11Lib is referenced as long as Session object is live
- Fix OverflowError on Windows
- Attribute CKA_WRAP_WITH_TRUSTED is bool
- samples
- dumpit: ask to enter the PIN on the pinpad if needed
- getinfo & dumpit: add --slot= parameter
- some minor improvements

Page 4 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.