Skip to content

Releases: LudovicRousseau/PyKCS11

1.5.18

03 Aug 15:57
1.5.18

Choose a tag to compare

1.5.18 - August 2025, Ludovic Rousseau

  • add CKM_EXTRACT_KEY_FROM_KEY mechanism
  • add CKM_EDDSA and CK_EDDSA_PARAMS support
  • C_Initialize(): allow OS locking
  • PyKCS11.load() & .unload(): make the methods tread-safe
  • bugfix: store CKM_CONCATENATE_BASE_AND_KEY parameter in mechanism context
  • IsNum(): CKA_HW_FEATURE_TYPE is also a numeric value
  • improve support for multi-part encryption/decryption
  • fix some Python typing issues
  • Fix issue with vendor defined (CKM_VENDOR_DEFINED) mechanisms
  • fix/ignore all pylint warnings
  • use pytest for running tests
  • minor improvements

What's Changed

New Contributors

Full Changelog: 1.5.17...1.5.18

1.5.17

16 Oct 11:59
1.5.17

Choose a tag to compare

1.5.17 - October 2024, Ludovic Rousseau

  • Add AES in counter mode support (CKM_AES_CTR)
  • Add simple derivation mechanisms support (CMK_CONCATENATE_*)
  • Fix reference counting in PyKCS11Lib.load()
  • remove python 2 support from ckbytelist
  • minor improvements

Full Changelog: 1.5.16...1.5.17

1.5.16

24 May 16:04
1.5.16

Choose a tag to compare

1.5.16 - May 2024, Ludovic Rousseau

  • add support of CKA_MODIFIABLE and CKA_DESTROYABLE attributes
  • minor improvements

What's Changed

  • Add Fedora PyKCS11 library location search path by @tim77 in #113
  • add support for CKA_MODIFIABLE and CKA_DESTROYABLE attributes by @fuzzykat in #116

New Contributors

Full Changelog: 1.5.15...1.5.16

1.5.14

03 Feb 21:25
1.5.14

Choose a tag to compare

1.5.14 - February 2024, Ludovic Rousseau

  • fix build using swig 4.2.0

Full Changelog: 1.5.13...1.5.14

https://blog.apdu.fr/posts/2024/02/new-version-of-pykcs11-1514/

1.5.13

07 Jan 16:23
1.5.13

Choose a tag to compare

1.5.13 - January 2024, Ludovic Rousseau

  • fix issue between Python 3.12 garbage collector and C_Finalize()
  • Modernize use of setup.py
  • Check swig is installed
  • remove unused files
  • minor improvements

Full Changelog: 1.5.12...1.5.13

https://blog.apdu.fr/posts/2024/01/new-pykcs11-1513-available/

1.5.12

10 Apr 09:45
1.5.12

Choose a tag to compare

1.5.12 - April 2023, Ludovic Rousseau

  • add setAttributeValue()
  • minor improvements

Full Changelog: 1.5.11...1.5.12

Release 1.5.11

04 Sep 15:28
1.5.11

Choose a tag to compare

1.5.11 - Septembre 2022, Ludovic Rousseau

  • add deriveKey() with CKM_ECDH1_DERIVE and CK_ECDH1_DERIVE_PARAMS
  • support pSourceData in OAEP params
  • remove use of (deprecated) distutils
  • samples: port to Python 3
  • fix code coverage generation

What's Changed

New Contributors

Full Changelog: 1.5.10...1.5.11

Release 1.5.10

31 Dec 14:16
1.5.10

Choose a tag to compare

1.5.10 - December 2020, Ludovic Rousseau

  • Add CKH_* constants
  • CKA_HW_FEATURE_TYPE attribute value is a number
  • Makefile: use python3 by default
  • minor improvements

Release 1.5.9

31 Jul 13:57
1.5.9

Choose a tag to compare

1.5.9 - July 2020, Ludovic Rousseau

  • call C_GetSlotList() with a NULL parameter to correctly initialize
    some PKCS#11 lib conforming to PKCS#11 version 2.40.

Release 1.5.8

15 May 13:50
1.5.8

Choose a tag to compare

1.5.8 - May 2020, Ludovic Rousseau

  • CKA_ALWAYS_AUTHENTICATE is boolean
  • CKM_VENDOR_DEFINED_...
    • Fix name: use CKM_ instead of CKR_ prefix
    • Use an explicit hex prefix: CKM_VENDOR_DEFINED_0x45
  • Add missing CKM_, CKA_, CKF_, CKD_, CKK_, CKN_, CKO_, CKR_
    from PKCS#11 v3.0
  • fix test_asymetric.py for RSA_PSS_Mechanism