Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix quoting of build variables | Andreas Metzler | 2011-09-26 | 1 | -2/+2 |
| | | | | https://bugs.freedesktop.org/show_bug.cgi?id=40985 | ||||
* | Expand the libdir path correctly | Stef Walter | 2011-09-19 | 1 | -1/+8 |
| | | | | https://bugs.freedesktop.org/show_bug.cgi?id=40985 | ||||
* | Add #include <limits.h> for PATH_MAX to fix compilation on FreeBSD. | Roman Bogorodskiy | 2011-09-16 | 1 | -1/+2 |
| | | | | https://bugs.freedesktop.org/show_bug.cgi?id=40923 | ||||
* | When a module has a relative path, load it from $libdir/pkcs11 | Kalev Lember | 2011-09-14 | 2 | -3/+59 |
| | | | | | | | 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. | ||||
* | Rename pkgconfig configuration directory variables | Kalev Lember | 2011-09-14 | 4 | -8/+11 |
| | | | | | | | | | | | | 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 | ||||
* | Don't crash if p11_kit_registered_modules() called after failed init | Stef Walter | 2011-08-30 | 1 | -2/+3 |
| | |||||
* | Remove useless typedef | Stef Walter | 2011-08-30 | 1 | -2/+0 |
| | |||||
* | Add 'critical' setting for modules | Stef Walter | 2011-08-30 | 3 | -1/+27 |
| | | | | | | * When a module has critical set to 'yes', and that module fails to init then it aborts the entire init process. * Defaults to 'no' | ||||
* | Fix bugs in the p11-kit proxy module. | Stef Walter | 2011-08-24 | 3 | -15/+31 |
| | | | | | | * Initialize the mappings properly * Lookup session handles correctly * Debug initialization and finalization | ||||
* | Ignore spaces in PKCS#11 URIs | Stef Walter | 2011-08-19 | 2 | -23/+66 |
| | | | | | | * These should be able to occur anywhere and should be ignored according to RFC 3986. This is documented in the PKCS#11 URI specification. | ||||
* | Fix endless loop if module forks during initialization. | Stef Walter | 2011-08-14 | 1 | -5/+7 |
| | | | | | | | * 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. | ||||
* | Safer initialization of individually initialized module. | Stef Walter | 2011-08-14 | 1 | -6/+30 |
| | | | | | | | * 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. | ||||
* | Update PKCS#11 URI code for new draft of spec | Stef Walter | 2011-08-05 | 4 | -95/+133 |
| | | | | | | | | | * 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. | ||||
* | Don't fail when duplicate modules are configured. | Stef Walter | 2011-08-03 | 1 | -1/+1 |
| | | | | | | * 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 | ||||
* | Better debug output for initialization and loading modules. | Stef Walter | 2011-08-03 | 1 | -4/+7 |
| | |||||
* | Fix broken debug arguments | Stef Walter | 2011-08-03 | 1 | -1/+1 |
| | |||||
* | Add example configuration documentation. | Stef Walter | 2011-08-01 | 2 | -1/+14 |
| | | | | * And also install example pkcs11.conf file. | ||||
* | Make p11-kit-proxy.so link point to libp11-kit.so.0.0.0 | Stef Walter | 2011-07-28 | 1 | -1/+1 |
| | | | | | | | * The link now points to the actual library, rather than to another link. https://bugzilla.redhat.com/show_bug.cgi?id=725905 | ||||
* | Add libtool style versioning variables to p11-kit | Stef Walter | 2011-07-27 | 1 | -1/+3 |
| | |||||
* | Fix bug in hashtable rewrite. | Stef Walter | 2011-07-27 | 1 | -1/+1 |
| | | | | * Initialization mixup. | ||||
* | Create a link for the proxy module. | Stef Walter | 2011-07-27 | 2 | -1/+6 |
| | | | | | | | | | | | | * 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 | ||||
* | 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 |
| |