summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Implement support for registering and calling pinfile callbacksStef Walter2011-07-069-1/+1140
| | | | | | * 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.
* Fix logic error loading registered modules.Stef Walter2011-06-161-1/+1
| | | | Thanks to Richard Bellgrim.
* Update pkcs11.h with PKCS#11 2.20 ammendments.Stef Walter2011-06-091-3/+19
|
* Fixed typos and made options clearer.Stef Walter2011-06-091-3/+3
|
* By default use /etc/pkcs11 for system configs and not ${prefix}Stef Walter2011-06-091-2/+15
| | | | * Packagers can override this with the --with-pkcs11-dir configure arg.
* Complete documentation for message functionality.Stef Walter2011-06-094-0/+51
|
* Complete testing of global config files and directories.Stef Walter2011-06-0912-0/+309
|
* Store last failure message per thread.Stef Walter2011-06-099-39/+151
| | | | * Add p11_kit_message() function to get last message.
* Refactor configurationStef Walter2011-06-089-406/+610
| | | | | * Move configuration loading into conf.c * Have user modules with same name merge/override modules in system.
* Ignore files without a 'module' value.Stef Walter2011-06-081-7/+4
| | | | * Just skip loading these.
* Bump version number.Stef Walter2011-06-072-3/+7
|
* Make target for uploading release.Stef Walter2011-06-071-0/+3
|
* Release version 0.1Stef Walter2011-06-072-2/+6
|
* Fix up documentationStef Walter2011-06-072-1/+45
|
* Add p11_kit_space_strdup() function, and rename p11_kit_space_strlen()Stef Walter2011-06-075-17/+69
| | | | * Print out module info in p11-kit tool.
* Fix more memory errors and leaks in module code.Stef Walter2011-06-072-4/+15
|
* Free string output of conf-testStef Walter2011-06-071-0/+1
|
* Fix URI parsing memory leaks.Stef Walter2011-06-072-0/+2
|
* Fix some hash leaks and bugs.Stef Walter2011-06-072-10/+49
|
* Fix compiler warnings.Stef Walter2011-06-072-1/+2
|
* Remove unstable API markers.Stef Walter2011-06-075-25/+2
|
* Modernize autotools setup.Stef Walter2011-06-072-7/+7
|
* Clear correct block of memory in p11_kit_uri_parse().Stef Walter2011-05-301-1/+1
|
* GNU style definitions in uri.h as well as normal.Stef Walter2011-05-301-12/+14
|
* Cleanup URI typesStef Walter2011-05-303-64/+101
| | | | | * Support with/without library version. * Make names of types clearer.
* Set the return value properly in p11_kit_load_initialize_module()Stef Walter2011-05-301-0/+3
|
* Add function p11_kit_uri_space_strlen() for figuring out the lengthStef Walter2011-05-303-3/+7
| | | | of space terminated strings.
* Allow use with CRYPTOKI_GNU style use of PKCS#11Stef Walter2011-05-304-4/+33
|
* Add p11_kit_load_initialize_module() function.Stef Walter2011-05-273-24/+147
| | | | | * This function will load a module from a file path, and then initialize it.
* Rename module arguments from 'funcs' to 'module'Stef Walter2011-05-272-126/+126
|
* Fix up documentationStef Walter2011-05-271-2/+7
|
* Fix problems with 'make distcheck'Stef Walter2011-05-274-7/+17
|
* Fix uninitialized variable problem.Stef Walter2011-05-271-1/+1
|
* Change around installation of headers, pkg-config, and file namesStef Walter2011-05-2717-123/+110
| | | | | | | | * 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.
* Add functions for clearing and setting multiple attributes on URI.Stef Walter2011-05-263-28/+100
|
* Return proper errors when NULL is passed to mutex functions.Stef Walter2011-05-261-0/+12
|
* URI API fine tuningStef Walter2011-05-263-149/+328
| | | | | | * Rework API for getting all the attributes, to match usage in PKCS#11 * Add support for pinfile argument in URIs. * Complete tests.
* Add p11_kit_uri_message() function.Stef Walter2011-05-254-1/+43
| | | | Gets messages for p11-kit error codes.
* Fix null pointer dereference.Stef Walter2011-05-241-1/+1
|
* Fix lots of bugs and add more debugging statements.Stef Walter2011-04-052-11/+43
|
* Add basic tool for p11-kit.Stef Walter2011-04-055-0/+137
| | | | | List modules: $ p11-kit -l
* Add support for debug tracing.Stef Walter2011-04-058-8/+272
| | | | | | | | | | | 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
* Fix up copyright lines.Stef Walter2011-04-0111-15/+13
|
* Add C++ header guards, and require API instability acknowledgement.Stef Walter2011-03-314-4/+42
|
* Support setting of CK_C_INITIALIZE_ARGS.pReserved to string.Stef Walter2011-03-311-0/+7
| | | | | | 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.
* Give reference chapter an explicit id.Stef Walter2011-03-311-1/+1
|
* Add make target for uploading docs.Stef Walter2011-03-311-0/+6
|
* Mix in other documentation.Stef Walter2011-03-315-16/+25
|
* Fix up styling and tweaks.Stef Walter2011-03-312-9/+19
|
* Fix up styling of documentation.Stef Walter2011-03-313-2/+74
|