Releases: pyauth/python-pkcs11
Release list
v0.9.5
v0.9.4
A source distribution and wheels for common platforms have been published to PyPI.
v0.9.3
A source distribution and wheels for common platforms have been published to PyPI.
Bugs fixed:
- When determining the capabilities on an object, fall back to fetching flags one by one if fetching them all at once doesn't work. This mitigates issues with some tokens that don't handle errors on multi-attribute fetches in a compliant way.
v0.9.2
A source distribution and wheels for common platforms have been published to PyPI.
Release notes:
- Fix publishing of Python 3.14 wheels.
v0.9.1
A source distribution and wheels for common platforms have been published to PyPI.
Release notes:
- Add Python 3.14 to the CI matrix and release workflows.
- Expand ATTRIBUTE_TYPES for GOSTR support.
- Expose CK_SESSION_HANDLE as readonly
v0.9.0
A source distribution and wheels for common platforms have been published to PyPI.
Summary of changes
- Internal restructuring to allow loading (and unloading) multiple PKCS#11 libraries
- Better operation & cancellation management for search, encryption/decryption and signing/verification.
- Allow batch operations for search and attribute fetching.
- Support user-supplied attribute mappings via the
AttributeMapperclass, in a forward-compatible manner. - Enable AES-GCM and AES-CTR in tokens that support these primitives.
- Map
CKR_PIN_LEN_RANGEerror code. - Defensively decode the empty string as
Falsefor boolean attributes. - Correct X.509 EC public-key extraction logic.
- Test with multiple token implementations in CI (SoftHSMv2 and opencryptoki for now).
There should not be any API-breaking changes in the public API, except for users extending the shim classes in the types module (e.g. for use in test mocks).
v0.8.1
A source distribution and wheels for common platforms have been published to PyPI.
v0.8.0
A source distribution and wheels for common platforms have been published to PyPI.
v0.7.0
Changes in this release
- Release the GIL during PKCS#11 calls, so that the asyncio ThreadExecutor can be used on slow PKCS#11 calls.
- Add flag to use protected authentication path for login
- Add method to reinitialize PCKS#11 for broken implementations
- Fix decoding of EC private keys in util