Skip to content

Releases: pyauth/python-pkcs11

v0.9.5

Choose a tag to compare

@github-actions github-actions released this 10 Jul 12:27
v0.9.5
775136e

A source distribution and wheels for common platforms have been published to PyPI.

v0.9.4

Choose a tag to compare

@github-actions github-actions released this 13 Apr 13:32
v0.9.4
0af82a3

A source distribution and wheels for common platforms have been published to PyPI.

v0.9.3

Choose a tag to compare

@github-actions github-actions released this 07 Dec 09:41
v0.9.3
2c4c6c7

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

Choose a tag to compare

@github-actions github-actions released this 22 Nov 12:15
v0.9.2
8f8963c

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

Choose a tag to compare

@github-actions github-actions released this 20 Oct 23:46
v0.9.1
22e501e

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

Choose a tag to compare

@github-actions github-actions released this 06 Aug 04:44
v0.9.0
5a258d7

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 AttributeMapper class, in a forward-compatible manner.
  • Enable AES-GCM and AES-CTR in tokens that support these primitives.
  • Map CKR_PIN_LEN_RANGE error code.
  • Defensively decode the empty string as False for 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

Choose a tag to compare

@github-actions github-actions released this 22 Jun 06:26
v0.8.1
a7e0505

A source distribution and wheels for common platforms have been published to PyPI.

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 20 Jun 14:12
v0.8.0
b8fe284

A source distribution and wheels for common platforms have been published to PyPI.

v0.7.0

Choose a tag to compare

@danni danni released this 20 Aug 23:50
0dc94bd

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

v0.6.0

Choose a tag to compare

@danni danni released this 28 Feb 03:07

Changes in this release

  • Finally includes Windows support
  • Function pointers are retrieved from C_GetFunctionList, rather than directly
  • Compatibility fixes