Pykcs11

Latest version: v1.5.16

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

Scan your dependencies

Page 5 of 6

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

1.2.1

- Use src/opensc/pkcs11.h instead of src/rsaref/* files since the
files from RSA are not free enough (no right to distribute modified
versions for example)
- improve samples/getinfo.py script
- bug fixes

Page 5 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.