]> granicus.if.org Git - p11-kit/log
p11-kit
13 years agoRename non-static functions to have a _p11_xxx prefix.
Stef Walter [Mon, 24 Oct 2011 06:05:43 +0000 (08:05 +0200)]
Rename non-static functions to have a _p11_xxx prefix.

 * Work around issues with brain-dead linkers not respecting
   the libtool -export-symbol-regex argument

https://bugs.freedesktop.org/show_bug.cgi?id=42020

13 years agoInitial port to win32
Stef Walter [Mon, 17 Oct 2011 12:51:31 +0000 (14:51 +0200)]
Initial port to win32

 * Tests do not all yet pass, at least not on wine
 * Added abstraction of some non-portable functions in compat.h/c
 * Build with an argument like this for win32 support:
./autogen.sh --host=i586-mingw32msvc
 * This win32 port needs more work from interested parties

13 years agoFix up the build options.
Stef Walter [Mon, 10 Oct 2011 21:03:57 +0000 (23:03 +0200)]
Fix up the build options.

 * --enable-debug turns off optimization
 * --disable-debug turns off debugging output, debug symbols
 * --enable-strict turns on -Werror

13 years agoOnly call C_Initialize and C_Finalize once per module
Stef Walter [Mon, 10 Oct 2011 15:32:34 +0000 (17:32 +0200)]
Only call C_Initialize and C_Finalize once per module

 * Do not concurretnly call C_Initialize or C_Finalize in a module
 * The PKCS#11 spec indicates that mone thread should call those functions.
 * It's reasonable for a module to expect to only be initialized or
   finalized in one thread.
 * In particular NSS does not lock its C_Initialize or C_Finalize.

13 years agoCombine initialization tests
Stef Walter [Mon, 10 Oct 2011 10:21:58 +0000 (12:21 +0200)]
Combine initialization tests

13 years agoDon't allow recursive calling of C_Initialize on a given module.
Stef Walter [Mon, 10 Oct 2011 10:08:35 +0000 (12:08 +0200)]
Don't allow recursive calling of C_Initialize on a given module.

13 years agoRename p11-kit test
Stef Walter [Mon, 10 Oct 2011 09:54:38 +0000 (11:54 +0200)]
Rename p11-kit test

13 years agoDon't use PATH_MAX unless its defined
Pino Toscano [Fri, 30 Sep 2011 12:28:00 +0000 (14:28 +0200)]
Don't use PATH_MAX unless its defined

 * Fixes build on GNU/Hurd

https://bugs.freedesktop.org/show_bug.cgi?id=41303\1a

13 years agoPrint more information in 'p11-kit -l'
Stef Walter [Wed, 28 Sep 2011 09:27:13 +0000 (11:27 +0200)]
Print more information in 'p11-kit -l'

13 years agoRelease 0.7 0.7
Stef Walter [Tue, 27 Sep 2011 08:12:56 +0000 (10:12 +0200)]
Release 0.7

13 years agoDon't expand p11-kit config variables in configure.
Stef Walter [Tue, 27 Sep 2011 08:10:18 +0000 (10:10 +0200)]
Don't expand p11-kit config variables in configure.

 * Expand them later in Makefile and pkg-config file

13 years agoAdd test tool to print out error messages
Stef Walter [Mon, 26 Sep 2011 06:59:50 +0000 (08:59 +0200)]
Add test tool to print out error messages

 * Allows checking of translations

13 years agoFix quoting of build variables
Andreas Metzler [Mon, 26 Sep 2011 06:31:39 +0000 (08:31 +0200)]
Fix quoting of build variables

https://bugs.freedesktop.org/show_bug.cgi?id=40985

13 years agoExpand the libdir path correctly
Stef Walter [Mon, 19 Sep 2011 07:24:35 +0000 (09:24 +0200)]
Expand the libdir path correctly

https://bugs.freedesktop.org/show_bug.cgi?id=40985

13 years agoAdd #include <limits.h> for PATH_MAX to fix compilation on FreeBSD.
Roman Bogorodskiy [Fri, 16 Sep 2011 02:37:51 +0000 (19:37 -0700)]
Add #include <limits.h> for PATH_MAX to fix compilation on FreeBSD.

https://bugs.freedesktop.org/show_bug.cgi?id=40923

13 years agoRelease version 0.6 0.6
Stef Walter [Wed, 14 Sep 2011 14:13:43 +0000 (16:13 +0200)]
Release version 0.6

13 years agoAdd documentation about the configuration paths
Stef Walter [Wed, 14 Sep 2011 11:45:03 +0000 (13:45 +0200)]
Add documentation about the configuration paths

 * Default module path
 * How to lookup paths using pkg-config

13 years agoWhen a module has a relative path, load it from $libdir/pkcs11
Kalev Lember [Wed, 14 Sep 2011 05:10:46 +0000 (08:10 +0300)]
When a module has a relative path, load it from $libdir/pkcs11

So far we have only supported full paths to the pkcs11 modules in config
files. This change adds relative path support, so that for modules
installed under the standard $libdir/pkcs11, the config file won't have
to spell out the full path.

13 years agoRename pkgconfig configuration directory variables
Kalev Lember [Wed, 14 Sep 2011 05:10:45 +0000 (08:10 +0300)]
Rename pkgconfig configuration directory variables

Renamed them to reduce ambiguity and to pave the way for exposing
some additional parameters.

p11_system_modules -> p11_system_config_modules
p11_user_modules   -> p11_user_config_modules

configure --with-pkcs11-dir
=>
configure --with-system-config

13 years agoRelease version 0.5 0.5
Stef Walter [Wed, 31 Aug 2011 08:03:01 +0000 (10:03 +0200)]
Release version 0.5

13 years agoDon't crash if p11_kit_registered_modules() called after failed init
Stef Walter [Tue, 30 Aug 2011 19:18:58 +0000 (21:18 +0200)]
Don't crash if p11_kit_registered_modules() called after failed init

13 years agoRemove useless typedef
Stef Walter [Tue, 30 Aug 2011 19:18:40 +0000 (21:18 +0200)]
Remove useless typedef

13 years agoAdd 'critical' setting for modules
Stef Walter [Tue, 30 Aug 2011 19:17:41 +0000 (21:17 +0200)]
Add 'critical' setting for modules

 * When a module has critical set to 'yes', and that module fails to init
   then it aborts the entire init process.
 * Defaults to 'no'

13 years agoFix bugs in the p11-kit proxy module.
Stef Walter [Wed, 24 Aug 2011 13:34:13 +0000 (15:34 +0200)]
Fix bugs in the p11-kit proxy module.

 * Initialize the mappings properly
 * Lookup session handles correctly
 * Debug initialization and finalization

13 years agoRelease version 0.4 0.4
Stef Walter [Fri, 19 Aug 2011 08:33:07 +0000 (10:33 +0200)]
Release version 0.4

13 years agoIgnore spaces in PKCS#11 URIs
Stef Walter [Fri, 19 Aug 2011 08:31:51 +0000 (10:31 +0200)]
Ignore spaces in PKCS#11 URIs

 * These should be able to occur anywhere and should be ignored
   according to RFC 3986. This is documented in the PKCS#11 URI
   specification.

13 years agoFix endless loop if module forks during initialization.
Stef Walter [Sun, 14 Aug 2011 16:46:50 +0000 (18:46 +0200)]
Fix endless loop if module forks during initialization.

 * If a module forks during its C_Initialize, previously our
   fork handler would try to initialize it again, ad nauseum.

Reported by Nikos on the mailing list.

13 years agoSafer initialization of individually initialized module.
Stef Walter [Sun, 14 Aug 2011 16:45:19 +0000 (18:45 +0200)]
Safer initialization of individually initialized module.

 * More checks for out of memory.
 * Take more of the same code paths when initializing a single
   module as when initializing registered, or loading from file.
 * Cleanup halfway initialized globals if fail during init.

13 years agoUpdate PKCS#11 URI code for new draft of spec
Stef Walter [Fri, 5 Aug 2011 07:31:13 +0000 (09:31 +0200)]
Update PKCS#11 URI code for new draft of spec

 * pinfile attribute was renamed to pin-source
 * objecttype attribute was renamed to object-type
 * secretkey value was renamed to secret-key

We continue to support parsing the old attribute names and values but
generate URIs with the new ones.

13 years agoDon't fail when duplicate modules are configured.
Stef Walter [Wed, 3 Aug 2011 09:37:40 +0000 (11:37 +0200)]
Don't fail when duplicate modules are configured.

 * Duplicate modules may be caused by editor backups, misconfigurations
   or a multitude of other sources. Failing dead is a bit harsh.
 * After discussing gnutls needs with Nikos

13 years agoBetter debug output for initialization and loading modules.
Stef Walter [Wed, 3 Aug 2011 06:16:32 +0000 (08:16 +0200)]
Better debug output for initialization and loading modules.

13 years agoFix broken debug arguments
Stef Walter [Wed, 3 Aug 2011 05:58:04 +0000 (07:58 +0200)]
Fix broken debug arguments

13 years agoAdd example configuration documentation.
Stef Walter [Mon, 1 Aug 2011 11:18:05 +0000 (13:18 +0200)]
Add example configuration documentation.

 * And also install example pkcs11.conf file.

13 years agoRelease version 0.3 0.3
Stef Walter [Fri, 29 Jul 2011 12:07:01 +0000 (14:07 +0200)]
Release version 0.3

13 years agoFix building with NLS enabled.
Roman Bogorodskiy [Thu, 28 Jul 2011 13:43:41 +0000 (17:43 +0400)]
Fix building with NLS enabled.

https://bugs.freedesktop.org/show_bug.cgi?id=39622

13 years agoUse AC_SEARCH_LIBS instead of AC_CHECK_LIB for dlopen() to fix on *BSD.
Roman Bogorodskiy [Thu, 28 Jul 2011 13:35:00 +0000 (17:35 +0400)]
Use AC_SEARCH_LIBS instead of AC_CHECK_LIB for dlopen() to fix on *BSD.

https://bugs.freedesktop.org/show_bug.cgi?id=39622

13 years agoMake p11-kit-proxy.so link point to libp11-kit.so.0.0.0
Stef Walter [Thu, 28 Jul 2011 12:34:34 +0000 (14:34 +0200)]
Make p11-kit-proxy.so link point to libp11-kit.so.0.0.0

 * The link now points to the actual library, rather than to
   another link.

https://bugzilla.redhat.com/show_bug.cgi?id=725905

13 years agoAdd libtool style versioning variables to p11-kit
Stef Walter [Wed, 27 Jul 2011 13:42:31 +0000 (15:42 +0200)]
Add libtool style versioning variables to p11-kit

13 years agoFix bug in hashtable rewrite.
Stef Walter [Wed, 27 Jul 2011 10:35:55 +0000 (12:35 +0200)]
Fix bug in hashtable rewrite.

 * Initialization mixup.

13 years agoCleanup documentation warnings
Stef Walter [Wed, 27 Jul 2011 10:32:31 +0000 (12:32 +0200)]
Cleanup documentation warnings

 * After recent hash table rewrite we should be ignoring the new
   file.

13 years agoCreate a link for the proxy module.
Stef Walter [Wed, 27 Jul 2011 10:02:25 +0000 (12:02 +0200)]
Create a link for the proxy module.

 * Install proxy module at its own path which is not prefixed by 'lib'
 * Since the proxy module is the same as the library, and actually
   needs to be loaded as the same library in memory (due to resource
   tracking per process), use a symlink for proxy.
 * Add a variable to the pkg-config file which shows the path
   to the proxy module. ie:
   $ pkg-config --variable=proxy_module p11-kit-1

https://bugzilla.redhat.com/show_bug.cgi?id=725905

13 years agoReimplement and remove apache licensed bits of code.
Stef Walter [Wed, 27 Jul 2011 09:24:55 +0000 (11:24 +0200)]
Reimplement and remove apache licensed bits of code.

 * Reimplement the various bits of the hash table that were
   still based on the apache apr code. Use different algorithms
   for hashing, lookup and other stuff.
 * Use this as an opportunity to cleanup that code and make
   it more legible.

https://bugzilla.redhat.com/show_bug.cgi?id=725905

13 years agoExpand the various pkcs11 config paths properly.
Stef Walter [Thu, 21 Jul 2011 14:51:34 +0000 (16:51 +0200)]
Expand the various pkcs11 config paths properly.

 * Without this the ${prefix} part of the variable wasn't being
   expanded and was making it into the #define.

13 years agoconfigure: Use $sysconfdir for p11_system_conf dir, not hardcoded /etc
Colin Walters [Mon, 18 Jul 2011 15:09:41 +0000 (11:09 -0400)]
configure: Use $sysconfdir for p11_system_conf dir, not hardcoded /etc

If the user specified sysconfdir, we should respect it.  Don't
hardcode /etc.  This is important for jhbuild, which uses
/path/to/builddir/etc.

13 years agoIgnore some built files after recent changes.
Stef Walter [Tue, 19 Jul 2011 21:04:04 +0000 (23:04 +0200)]
Ignore some built files after recent changes.

13 years agobuild: Make autogen.sh work
Colin Walters [Mon, 18 Jul 2011 14:59:54 +0000 (10:59 -0400)]
build: Make autogen.sh work

* We were missing a call to gettextize, which is what copies in config.rpath
* Delete ABOUT-NLS, it is copied in by gettextize
* While we're here, take a page from gtk+'s autogen.sh and just use autoreconf,
  instead of specifying everything.
* We need to always have an m4/ directory, so that gettextize works,
  so we make a dummy empty file
* Apparently gettextize is totally insane, requiring user input etc.  Copy
  in some hacks from Avahi's autogen.sh to work around this.

13 years agopin: Fix uninitialized variable
Stef Walter [Tue, 12 Jul 2011 15:37:14 +0000 (17:37 +0200)]
pin: Fix uninitialized variable

13 years agoBump version number, and tweak upload procedure
Stef Walter [Thu, 7 Jul 2011 16:59:54 +0000 (18:59 +0200)]
Bump version number, and tweak upload procedure

13 years agoRelease version 0.2 0.2
Stef Walter [Thu, 7 Jul 2011 16:45:23 +0000 (18:45 +0200)]
Release version 0.2

13 years agoList labels of all tokens in 'p11-kit -l'
Stef Walter [Wed, 6 Jul 2011 14:31:06 +0000 (16:31 +0200)]
List labels of all tokens in 'p11-kit -l'

13 years agoMore fine tuning of the pin APIs.
Stef Walter [Wed, 6 Jul 2011 10:48:52 +0000 (12:48 +0200)]
More fine tuning of the pin APIs.

13 years agoAdd documentation for PIN callbacks.
Stef Walter [Fri, 24 Jun 2011 14:36:50 +0000 (16:36 +0200)]
Add documentation for PIN callbacks.

13 years agoAdd P11KitPin structure, which encapsulates a returned pin.
Stef Walter [Fri, 24 Jun 2011 13:31:02 +0000 (15:31 +0200)]
Add P11KitPin structure, which encapsulates a returned pin.

 * Lets us use variable size buffers.
 * Helps minimize copying.

13 years agoRename p11_kit_pin_read_pinfile to p11_kit_pin_retrieve
Stef Walter [Tue, 21 Jun 2011 17:31:15 +0000 (19:31 +0200)]
Rename p11_kit_pin_read_pinfile to p11_kit_pin_retrieve

 * Fix up duplicate register logic as well.

13 years agoImplement support for registering and calling pinfile callbacks
Stef Walter [Mon, 20 Jun 2011 19:17:03 +0000 (21:17 +0200)]
Implement support for registering and calling pinfile callbacks

 * These are callbacks that hanlde the pinfile part of a PKCS#11 URI.
 * One library can register a callback that another can then call
   in a thread-safe and simple fashion.

13 years agoFix logic error loading registered modules.
Stef Walter [Thu, 16 Jun 2011 17:05:22 +0000 (18:05 +0100)]
Fix logic error loading registered modules.

Thanks to Richard Bellgrim.

13 years agoUpdate pkcs11.h with PKCS#11 2.20 ammendments.
Stef Walter [Thu, 9 Jun 2011 18:38:04 +0000 (20:38 +0200)]
Update pkcs11.h with PKCS#11 2.20 ammendments.

13 years agoFixed typos and made options clearer.
Stef Walter [Thu, 9 Jun 2011 09:06:19 +0000 (11:06 +0200)]
Fixed typos and made options clearer.

13 years agoBy default use /etc/pkcs11 for system configs and not ${prefix}
Stef Walter [Thu, 9 Jun 2011 09:03:16 +0000 (11:03 +0200)]
By default use /etc/pkcs11 for system configs and not ${prefix}

 * Packagers can override this with the --with-pkcs11-dir configure arg.

13 years agoComplete documentation for message functionality.
Stef Walter [Thu, 9 Jun 2011 08:24:07 +0000 (10:24 +0200)]
Complete documentation for message functionality.

13 years agoComplete testing of global config files and directories.
Stef Walter [Thu, 9 Jun 2011 08:13:45 +0000 (10:13 +0200)]
Complete testing of global config files and directories.

13 years agoStore last failure message per thread.
Stef Walter [Thu, 9 Jun 2011 07:42:55 +0000 (09:42 +0200)]
Store last failure message per thread.

 * Add p11_kit_message() function to get last message.

13 years agoRefactor configuration
Stef Walter [Wed, 8 Jun 2011 19:21:54 +0000 (21:21 +0200)]
Refactor configuration

 * Move configuration loading into conf.c
 * Have user modules with same name merge/override modules in system.

13 years agoIgnore files without a 'module' value.
Stef Walter [Wed, 8 Jun 2011 15:21:44 +0000 (17:21 +0200)]
Ignore files without a 'module' value.

 * Just skip loading these.

13 years agoBump version number.
Stef Walter [Tue, 7 Jun 2011 15:53:06 +0000 (15:53 +0000)]
Bump version number.

13 years agoMake target for uploading release.
Stef Walter [Tue, 7 Jun 2011 15:47:47 +0000 (15:47 +0000)]
Make target for uploading release.

13 years agoRelease version 0.1 0.1
Stef Walter [Tue, 7 Jun 2011 14:06:45 +0000 (14:06 +0000)]
Release version 0.1

13 years agoFix up documentation
Stef Walter [Tue, 7 Jun 2011 13:06:51 +0000 (13:06 +0000)]
Fix up documentation

13 years agoAdd p11_kit_space_strdup() function, and rename p11_kit_space_strlen()
Stef Walter [Tue, 7 Jun 2011 12:58:38 +0000 (12:58 +0000)]
Add p11_kit_space_strdup() function, and rename p11_kit_space_strlen()

 * Print out module info in p11-kit tool.

13 years agoFix more memory errors and leaks in module code.
Stef Walter [Tue, 7 Jun 2011 12:44:06 +0000 (12:44 +0000)]
Fix more memory errors and leaks in module code.

13 years agoFree string output of conf-test
Stef Walter [Tue, 7 Jun 2011 12:10:19 +0000 (12:10 +0000)]
Free string output of conf-test

13 years agoFix URI parsing memory leaks.
Stef Walter [Tue, 7 Jun 2011 12:09:05 +0000 (12:09 +0000)]
Fix URI parsing memory leaks.

13 years agoFix some hash leaks and bugs.
Stef Walter [Tue, 7 Jun 2011 12:06:20 +0000 (12:06 +0000)]
Fix some hash leaks and bugs.

13 years agoFix compiler warnings.
Stef Walter [Tue, 7 Jun 2011 11:46:14 +0000 (11:46 +0000)]
Fix compiler warnings.

13 years agoRemove unstable API markers.
Stef Walter [Tue, 7 Jun 2011 11:37:39 +0000 (11:37 +0000)]
Remove unstable API markers.

13 years agoModernize autotools setup.
Stef Walter [Mon, 6 Jun 2011 20:05:35 +0000 (20:05 +0000)]
Modernize autotools setup.

13 years agoClear correct block of memory in p11_kit_uri_parse().
Stef Walter [Mon, 30 May 2011 16:53:09 +0000 (18:53 +0200)]
Clear correct block of memory in p11_kit_uri_parse().

13 years agoGNU style definitions in uri.h as well as normal.
Stef Walter [Mon, 30 May 2011 12:17:44 +0000 (14:17 +0200)]
GNU style definitions in uri.h as well as normal.

13 years agoCleanup URI types
Stef Walter [Mon, 30 May 2011 11:35:30 +0000 (13:35 +0200)]
Cleanup URI types

 * Support with/without library version.
 * Make names of types clearer.

13 years agoSet the return value properly in p11_kit_load_initialize_module()
Stef Walter [Mon, 30 May 2011 11:12:58 +0000 (13:12 +0200)]
Set the return value properly in p11_kit_load_initialize_module()

13 years agoAdd function p11_kit_uri_space_strlen() for figuring out the length
Stef Walter [Mon, 30 May 2011 11:12:01 +0000 (13:12 +0200)]
Add function p11_kit_uri_space_strlen() for figuring out the length
of space terminated strings.

13 years agoAllow use with CRYPTOKI_GNU style use of PKCS#11
Stef Walter [Mon, 30 May 2011 11:11:26 +0000 (13:11 +0200)]
Allow use with CRYPTOKI_GNU style use of PKCS#11

13 years agoAdd p11_kit_load_initialize_module() function.
Stef Walter [Fri, 27 May 2011 14:07:15 +0000 (16:07 +0200)]
Add p11_kit_load_initialize_module() function.

 * This function will load a module from a file path, and then
   initialize it.

13 years agoRename module arguments from 'funcs' to 'module'
Stef Walter [Fri, 27 May 2011 13:25:28 +0000 (15:25 +0200)]
Rename module arguments from 'funcs' to 'module'

13 years agoFix up documentation
Stef Walter [Fri, 27 May 2011 13:16:48 +0000 (15:16 +0200)]
Fix up documentation

13 years agoFix problems with 'make distcheck'
Stef Walter [Fri, 27 May 2011 13:12:38 +0000 (15:12 +0200)]
Fix problems with 'make distcheck'

13 years agoFix uninitialized variable problem.
Stef Walter [Fri, 27 May 2011 12:45:50 +0000 (14:45 +0200)]
Fix uninitialized variable problem.

13 years agoChange around installation of headers, pkg-config, and file names
Stef Walter [Fri, 27 May 2011 12:42:35 +0000 (14:42 +0200)]
Change around installation of headers, pkg-config, and file names

 * Install headers to ${prefix}/include/p11-kit-1/p11-kit/
 * This solves problems with other projects that have their own
   pkcs11.h files.
 * Change the pkg-config file name to p11-kit-1.pc
 * Change the source file names.

13 years agoAdd functions for clearing and setting multiple attributes on URI.
Stef Walter [Thu, 26 May 2011 14:13:49 +0000 (16:13 +0200)]
Add functions for clearing and setting multiple attributes on URI.

13 years agoReturn proper errors when NULL is passed to mutex functions.
Stef Walter [Thu, 26 May 2011 07:58:56 +0000 (09:58 +0200)]
Return proper errors when NULL is passed to mutex functions.

13 years agoURI API fine tuning
Stef Walter [Thu, 26 May 2011 07:37:36 +0000 (09:37 +0200)]
URI API fine tuning

 * Rework API for getting all the attributes, to match usage in PKCS#11
 * Add support for pinfile argument in URIs.
 * Complete tests.

13 years agoAdd p11_kit_uri_message() function.
Stef Walter [Wed, 25 May 2011 09:44:40 +0000 (11:44 +0200)]
Add p11_kit_uri_message() function.

Gets messages for p11-kit error codes.

13 years agoFix null pointer dereference.
Stef Walter [Tue, 24 May 2011 16:36:25 +0000 (18:36 +0200)]
Fix null pointer dereference.

13 years agoFix lots of bugs and add more debugging statements.
Stef Walter [Tue, 5 Apr 2011 15:46:58 +0000 (17:46 +0200)]
Fix lots of bugs and add more debugging statements.

13 years agoAdd basic tool for p11-kit.
Stef Walter [Tue, 5 Apr 2011 14:56:08 +0000 (16:56 +0200)]
Add basic tool for p11-kit.

List modules:
 $ p11-kit -l

13 years agoAdd support for debug tracing.
Stef Walter [Tue, 5 Apr 2011 15:19:09 +0000 (17:19 +0200)]
Add support for debug tracing.

Use P11_KIT_DEBUG=xxx environment variable to enable tracing. Must
have been built without --disable-debug option.

P11_KIT_DEBUG can (at this point) be one of these values:
 all
 help
 conf
 lib

13 years agoFix up copyright lines.
Stef Walter [Fri, 1 Apr 2011 07:46:30 +0000 (09:46 +0200)]
Fix up copyright lines.

13 years agoAdd C++ header guards, and require API instability acknowledgement.
Stef Walter [Thu, 31 Mar 2011 16:37:31 +0000 (18:37 +0200)]
Add C++ header guards, and require API instability acknowledgement.

13 years agoSupport setting of CK_C_INITIALIZE_ARGS.pReserved to string.
Stef Walter [Thu, 31 Mar 2011 16:21:38 +0000 (18:21 +0200)]
Support setting of CK_C_INITIALIZE_ARGS.pReserved to string.

This is a naughty little thing that a lot of PKCS#11 modules require
to be properly initialized. So we support setting pReserved to a string
that is in the config under the 'x-init-reserved' parameter.

13 years agoGive reference chapter an explicit id.
Stef Walter [Thu, 31 Mar 2011 12:58:41 +0000 (14:58 +0200)]
Give reference chapter an explicit id.