Skip to content

Tags: larskanis/pkcs11

Tags

0.3.2

Toggle 0.3.2's commit message
=== 0.3.2 / 2020-01-12

* pkcs11_protect_server, pkcs11_luna: Move parsing of vendor header files to gem installation.
  This fixes possible compile errors, if the version of vendor header files differ between gem build and gem install.
* pkcs11_luna: Workaround invalid UTF-8 encoding in cryptoki_v2.h of some Luna Client versions.

0.3.0

Toggle 0.3.0's commit message

Verified

This commit was signed with the committer’s verified signature.
larskanis Lars Kanis
Prepare release 0.3.0 [ci skip]

0.2.7

Toggle 0.2.7's commit message
=== 0.2.7 / 2018-01-05

* Add vendor extension for Safenet Luna called pkcs11_luna.
* Fix warnings to Fixnum/Bignum in Ruby-2.4+.
* Add binary Windows gems for Ruby-2.5.
* Add a note about RUBY_DLL_PATH on Windows.

v0.2.6

Toggle v0.2.6's commit message
=== 0.2.6 / 2017-06-07

* Update pkcs11 header files to PKCS11-v2.4.
* Support binary Windows gems for Ruby-2.0 to 2.4.

0.2.5

Toggle 0.2.5's commit message
=== 0.2.5 / 2015-01-26

* Fix compatibility with Ruby-2.2
* Add Ruby-2.1 and 2.2 to binary Windows gems.

0.2.4

Toggle 0.2.4's commit message
=== 0.2.4 / 2013-04-05

* Build and package binary x64 version for Windows in addition to x86.
* Allow to use big positive numbers (>0x80000000) in 32bit mode (Anton Fedorov)

0.2.3

Toggle 0.2.3's commit message
=== 0.2.3 / 2012-01-25

* fix C_WaitForSlotEvent to be a Library- instead of a Slot-method
* allow :sw/:hsm to ProtectServer::Library#load_library in the same way as #initialize
* allow Hash argument to Library#C_Initialize in the same way as #initialize

0.2.2

Toggle 0.2.2's commit message
=== 0.2.2 / 2011-12-12

* add ability to change PKCS11 base methods in order to use vendor defined attributes, return codes and mechanisms
* restructured C code to avoid duplicated code in vendor extension gems
* add gem pkcs11_protect_server to cover many ProtectServer specific extensions
* update test/helper to find newer libsoftokn3
* add task for generating combined docs of PKCS11 and PKCS11::ProtectServer
* changed PKCS11#slots to return all slots of the device by default
* add ability to set/get multiple attributes with Object#[] and Object#[]=

0.2.1

Toggle 0.2.1's commit message
* add some more CK_ULONG and CK_BOOL attributes

* add array of structs accessor used in CK_OTP_PARAMS
* refactured inc-file generation
* bit more documentation
* bugfix: print CKR-values as unsigned long
* bugfix: Slot#mechanism_info didn't work with Symbol

0.2.0

Toggle 0.2.0's commit message
Changes in 0.2.0:

* API documentation switched from RDOC to YARD
* Ruby classes for *all* PKCS#11 structures
* distinct Exception classes for different error codes
* PKCS#11 function calls don't block other ruby threads any more (only Ruby 1.9, Rubinius)
* add CopyObject
* add Get/SetOperationState
* don't wrap mechanisms any more (GetMechanismList returns plain Integers now)
* choose structs as mechanism parameter based on the given mechanism
* autogenerate many constants from C header files
* finer graded control over library loading
* several bug fixes
* more unit tests
* more documentation

Have fun using your smartcards, HSMs or tokens!