summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release version 0.6Stef Walter2011-09-143-3/+8
|
* Add documentation about the configuration pathsStef Walter2011-09-145-15/+76
| | | | | * Default module path * How to lookup paths using pkg-config
* When a module has a relative path, load it from $libdir/pkcs11Kalev Lember2011-09-143-3/+68
| | | | | | | 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 variablesKalev Lember2011-09-145-32/+37
| | | | | | | | | | | | 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
* Release version 0.5Stef Walter2011-08-313-3/+8
|
* Don't crash if p11_kit_registered_modules() called after failed initStef Walter2011-08-301-2/+3
|
* Remove useless typedefStef Walter2011-08-301-2/+0
|
* Add 'critical' setting for modulesStef Walter2011-08-304-3/+49
| | | | | | * 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 Walter2011-08-243-15/+31
| | | | | | * Initialize the mappings properly * Lookup session handles correctly * Debug initialization and finalization
* Release version 0.4Stef Walter2011-08-193-3/+11
|
* Ignore spaces in PKCS#11 URIsStef Walter2011-08-193-23/+90
| | | | | | * 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 Walter2011-08-146-25/+1354
| | | | | | | * 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 Walter2011-08-141-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 specStef Walter2011-08-058-145/+185
| | | | | | | | | * 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 Walter2011-08-031-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 Walter2011-08-031-4/+7
|
* Fix broken debug argumentsStef Walter2011-08-031-1/+1
|
* Add example configuration documentation.Stef Walter2011-08-015-3/+68
| | | | * And also install example pkcs11.conf file.
* Release version 0.3Stef Walter2011-07-292-1/+13
|
* Fix building with NLS enabled.Roman Bogorodskiy2011-07-292-7/+13
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=39622
* Use AC_SEARCH_LIBS instead of AC_CHECK_LIB for dlopen() to fix on *BSD.Roman Bogorodskiy2011-07-291-1/+1
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=39622
* Make p11-kit-proxy.so link point to libp11-kit.so.0.0.0Stef Walter2011-07-281-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-kitStef Walter2011-07-273-3/+21
|
* Fix bug in hashtable rewrite.Stef Walter2011-07-271-1/+1
| | | | * Initialization mixup.
* Cleanup documentation warningsStef Walter2011-07-271-2/+2
| | | | | * After recent hash table rewrite we should be ignoring the new file.
* Create a link for the proxy module.Stef Walter2011-07-272-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 Walter2011-07-2712-722/+578
| | | | | | | | | | * 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
* Expand the various pkcs11 config paths properly.Stef Walter2011-07-211-2/+3
| | | | | * Without this the ${prefix} part of the variable wasn't being expanded and was making it into the #define.
* configure: Use $sysconfdir for p11_system_conf dir, not hardcoded /etcColin Walters2011-07-211-1/+1
| | | | | | If the user specified sysconfdir, we should respect it. Don't hardcode /etc. This is important for jhbuild, which uses /path/to/builddir/etc.
* Ignore some built files after recent changes.Stef Walter2011-07-192-0/+2
|
* build: Make autogen.sh workColin Walters2011-07-194-1288/+12
| | | | | | | | | | | * 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.
* pin: Fix uninitialized variableStef Walter2011-07-121-1/+1
|
* Bump version number, and tweak upload procedureStef Walter2011-07-073-2/+4
|
* Release version 0.2Stef Walter2011-07-073-2/+8
|
* List labels of all tokens in 'p11-kit -l'Stef Walter2011-07-061-2/+32
|
* More fine tuning of the pin APIs.Stef Walter2011-07-063-3/+20
|
* Add documentation for PIN callbacks.Stef Walter2011-07-066-77/+295
|
* Add P11KitPin structure, which encapsulates a returned pin.Stef Walter2011-07-064-75/+302
| | | | | * Lets us use variable size buffers. * Helps minimize copying.
* Rename p11_kit_pin_read_pinfile to p11_kit_pin_retrieveStef Walter2011-07-063-27/+28
| | | | * Fix up duplicate register logic as well.
* 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
|