Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reimplement and remove apache licensed bits of code. | Stef Walter | 2011-07-27 | 9 | -590/+466 |
| | | | | | | | | | | * 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 | ||||
* | pin: Fix uninitialized variable | Stef Walter | 2011-07-12 | 1 | -1/+1 |
| | |||||
* | More fine tuning of the pin APIs. | Stef Walter | 2011-07-06 | 2 | -3/+19 |
| | |||||
* | Add documentation for PIN callbacks. | Stef Walter | 2011-07-06 | 2 | -67/+265 |
| | |||||
* | Add P11KitPin structure, which encapsulates a returned pin. | Stef Walter | 2011-07-06 | 2 | -24/+191 |
| | | | | | * Lets us use variable size buffers. * Helps minimize copying. | ||||
* | Rename p11_kit_pin_read_pinfile to p11_kit_pin_retrieve | Stef Walter | 2011-07-06 | 2 | -8/+9 |
| | | | | * Fix up duplicate register logic as well. | ||||
* | Implement support for registering and calling pinfile callbacks | Stef Walter | 2011-07-06 | 5 | -0/+631 |
| | | | | | | * 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 Walter | 2011-06-16 | 1 | -1/+1 |
| | | | | Thanks to Richard Bellgrim. | ||||
* | Update pkcs11.h with PKCS#11 2.20 ammendments. | Stef Walter | 2011-06-09 | 1 | -3/+19 |
| | |||||
* | Complete documentation for message functionality. | Stef Walter | 2011-06-09 | 2 | -0/+44 |
| | |||||
* | Store last failure message per thread. | Stef Walter | 2011-06-09 | 6 | -30/+142 |
| | | | | * Add p11_kit_message() function to get last message. | ||||
* | Refactor configuration | Stef Walter | 2011-06-08 | 8 | -397/+579 |
| | | | | | * Move configuration loading into conf.c * Have user modules with same name merge/override modules in system. | ||||
* | Ignore files without a 'module' value. | Stef Walter | 2011-06-08 | 1 | -7/+4 |
| | | | | * Just skip loading these. | ||||
* | Release version 0.1 | Stef Walter | 2011-06-07 | 1 | -0/+3 |
| | |||||
* | Fix up documentation | Stef Walter | 2011-06-07 | 1 | -0/+41 |
| | |||||
* | Add p11_kit_space_strdup() function, and rename p11_kit_space_strlen() | Stef Walter | 2011-06-07 | 4 | -16/+42 |
| | | | | * Print out module info in p11-kit tool. | ||||
* | Fix more memory errors and leaks in module code. | Stef Walter | 2011-06-07 | 1 | -4/+12 |
| | |||||
* | Fix URI parsing memory leaks. | Stef Walter | 2011-06-07 | 1 | -0/+1 |
| | |||||
* | Fix some hash leaks and bugs. | Stef Walter | 2011-06-07 | 1 | -8/+12 |
| | |||||
* | Fix compiler warnings. | Stef Walter | 2011-06-07 | 1 | -1/+1 |
| | |||||
* | Remove unstable API markers. | Stef Walter | 2011-06-07 | 3 | -21/+0 |
| | |||||
* | Clear correct block of memory in p11_kit_uri_parse(). | Stef Walter | 2011-05-30 | 1 | -1/+1 |
| | |||||
* | GNU style definitions in uri.h as well as normal. | Stef Walter | 2011-05-30 | 1 | -12/+14 |
| | |||||
* | Cleanup URI types | Stef Walter | 2011-05-30 | 2 | -22/+59 |
| | | | | | * Support with/without library version. * Make names of types clearer. | ||||
* | Set the return value properly in p11_kit_load_initialize_module() | Stef Walter | 2011-05-30 | 1 | -0/+3 |
| | |||||
* | Add function p11_kit_uri_space_strlen() for figuring out the length | Stef Walter | 2011-05-30 | 2 | -3/+6 |
| | | | | of space terminated strings. | ||||
* | Allow use with CRYPTOKI_GNU style use of PKCS#11 | Stef Walter | 2011-05-30 | 3 | -3/+24 |
| | |||||
* | Add p11_kit_load_initialize_module() function. | Stef Walter | 2011-05-27 | 2 | -24/+146 |
| | | | | | * This function will load a module from a file path, and then initialize it. | ||||
* | Rename module arguments from 'funcs' to 'module' | Stef Walter | 2011-05-27 | 2 | -126/+126 |
| | |||||
* | Fix uninitialized variable problem. | Stef Walter | 2011-05-27 | 1 | -1/+1 |
| | |||||
* | Change around installation of headers, pkg-config, and file names | Stef Walter | 2011-05-27 | 11 | -34/+17 |
| | | | | | | | | * 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 Walter | 2011-05-26 | 2 | -24/+63 |
| | |||||
* | Return proper errors when NULL is passed to mutex functions. | Stef Walter | 2011-05-26 | 1 | -0/+12 |
| | |||||
* | URI API fine tuning | Stef Walter | 2011-05-26 | 2 | -149/+225 |
| | | | | | | * 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 Walter | 2011-05-25 | 4 | -1/+43 |
| | | | | Gets messages for p11-kit error codes. | ||||
* | Fix null pointer dereference. | Stef Walter | 2011-05-24 | 1 | -1/+1 |
| | |||||
* | Fix lots of bugs and add more debugging statements. | Stef Walter | 2011-04-05 | 2 | -11/+43 |
| | |||||
* | Add support for debug tracing. | Stef Walter | 2011-04-05 | 5 | -1/+253 |
| | | | | | | | | | | | 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 Walter | 2011-04-01 | 11 | -15/+13 |
| | |||||
* | Add C++ header guards, and require API instability acknowledgement. | Stef Walter | 2011-03-31 | 3 | -3/+40 |
| | |||||
* | Support setting of CK_C_INITIALIZE_ARGS.pReserved to string. | Stef Walter | 2011-03-31 | 1 | -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. | ||||
* | Fix up styling and tweaks. | Stef Walter | 2011-03-31 | 1 | -2/+2 |
| | |||||
* | Documentation and API cleanup. | Stef Walter | 2011-03-31 | 17 | -0/+6627 |
* Rename source directory * More consistent with return values from URI functions. * Allow formatting URI to take a uri type. |