Skip to content

Releases: pyauth/python-pkcs11

v0.7.0

20 Aug 23:50
0dc94bd
Compare
Choose a tag to compare

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

28 Feb 03:07
Compare
Choose a tag to compare

Changes in this release

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

v0.5.0

01 Feb 02:39
v0.5.0
3345329
Compare
Choose a tag to compare

Changes in this release:

  • Switch to the updated 2016 version of PKCS#11 v2.4
  • Use the new values for AES_KEY_WRAP and AES_KEY_WRAP_PAD (#15).
  • Add additional new mechanisms from most recent specification

API Breaking Changes

  • AES_KEY_WRAP is now the default mechanism for wrapping AES keys, replacing ECB.

GPG Signature

This tag is signed with GPG key 1172 FC7B 4B57 5575 0C65 F9A5 44B8 0C28 0F80 807C.

v0.4.0

04 Sep 05:16
Compare
Choose a tag to compare

Changes in this release:

  • Port the utilities from pyasn1 to asn1crypto which is faster and more widely used, with more up to date structures, also includes features such as PEM detecting and armoring/unarmoring that a lot of people need.

API breaking changes:

  • EC named curves are now strings either as a common name (e.g. secp256r1) or OIDs. This is a break from previously when they were pyasn1 constants. This change should be easier for everyone involved.

GPG Signature

This tag is signed with GPG key 1172 FC7B 4B57 5575 0C65 F9A5 44B8 0C28 0F80 807C.

v0.3.0

06 Jul 05:17
Compare
Choose a tag to compare

Changes in this release:

  • Fix bugs with string handling for information coming from library, slot and token
  • Add certificate, key and signature interchange functions for X.509 and OpenSSL
  • Fix bugs/add tests when exchanging data with OpenSSL/Python crypto libraries
  • Cache object properties
  • Fix encoding of EC_POINT for derive_key
  • Use AES_MAC as the default signing/verification mechanism for AES
  • Fix some crashes, e.g. when no mechanisms are present

v0.2.2

06 Jul 05:19
Compare
Choose a tag to compare

Changes in this release:

  • Handle no slots being present

v0.2.1

06 Jul 05:20
Compare
Choose a tag to compare

Changes in this release:

  • Support for DES2 and DES3
  • Allow generating DSA keys directly using session.generate_keypair (for devices able to create DSA domain parameters).

v0.2.0

06 Jul 05:23
Compare
Choose a tag to compare

Changes in this release:

  • DSA support
  • Default to using hashing functions when signing
  • Support RSA PSS and OAEP by default
  • Hide historic mechanisms by default, they're now available as Mechanism._MD5 etc.
  • Encode/decode functions for DSA keys

v0.1.3

06 Jul 05:26
Compare
Choose a tag to compare

Changes in this release:

  • ECDSA support
  • Rearrange utilities under the pkcs11.util module
  • Fix usage of pyasn1 OctetString
  • Encoding/decoding of DH domain parameters
  • Don't set store=True as the default
  • Importing X.509 certificates

v0.1.2

06 Jul 05:27
Compare
Choose a tag to compare

Changes in this release:

  • Support for message and key digesting
  • Fixes for Thales nCipher