Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Proposed fix for compiler warnings in common/compat.c | Pavel A | 2014-06-20 | 1 | -19/+23 |
| | | | | | | | | | | | | | when buliding for Windows (mingw). This issue has been reported in bug #76594 a. Moved vasprintf before asprintf b. Added prototypes for each of them Thanks, pa Signed-off-by: Pavel A <pavel.aronsky@daynix.com> | ||||
* | proxy: Fix cases where modules are unloaded while in use | Stef Walter | 2014-02-13 | 1 | -22/+31 |
| | | | | | | | | | | | | | The proxy module would unload the PKCS#11 modules it was proxying when C_Finalize() was called. However if a caller in another thread was inside of a PKCS#11 function at the time, this would cause a crash. Change things around so that underlying modules are finalized during the proxy C_Finalize() but not released/unloaded until the proxy module itself is unloaded. https://bugs.freedesktop.org/show_bug.cgi?id=74919 | ||||
* | proxy: Remove assertions when module is not initialized | Stef Walter | 2014-02-13 | 1 | -2/+0 |
| | | | | | | | | We should return CKR_CRYPTOKI_NOT_INITIALIZED rather than assert() when proxy PKCS#11 functions are called before the module is initialized. https://bugs.freedesktop.org/show_bug.cgi?id=74919 | ||||
* | Fix handling of mmap failure and mapping empty files | Pascal Terjan | 2014-02-13 | 2 | -2/+26 |
| | | | | | | | | | | | Check the return value of mmap() correctly. Empty files cannot be mmap'd so we implement some work around code for that. https://bugs.freedesktop.org/show_bug.cgi?id=74773 Signed-off-by: Stef Walter <stef@thewalter.net> | ||||
* | Support running autogen.sh from srcdir != builddir | Stef Walter | 2014-01-29 | 1 | -2/+6 |
| | |||||
* | Don't use 'aux' directory name | Stef Walter | 2014-01-29 | 2 | -1/+1 |
| | | | | | | Because Windows is really properly screwed up. https://bugs.freedesktop.org/show_bug.cgi?id=74149 | ||||
* | Release version 0.20.2 | Stef Walter | 2014-01-14 | 2 | -1/+8 |
| | |||||
* | distcheck: Build with optimizations so we get proper warnings | Stef Walter | 2014-01-14 | 1 | -1/+3 |
| | |||||
* | test-iter: Fix use of uninitialized variable | Stef Walter | 2014-01-14 | 1 | -0/+1 |
| | |||||
* | trust: Add installcheck target for testing extract | Stef Walter | 2014-01-14 | 4 | -0/+198 |
| | | | | | | | | This is an integration test that the extract and blacklist functionality basics work. More integration tests should follow, at which point we should place the various generic testing bits into their own file. | ||||
* | Build in srcdir != builddir fashion by default | Stef Walter | 2014-01-14 | 8 | -19/+17 |
| | | | | Naturally this doesn't apply to tarballs | ||||
* | Move gtk-doc.make into build directory | Stef Walter | 2014-01-14 | 2 | -1/+1 |
| | |||||
* | enumerate: Preload and respect blacklist across all tokens | Stef Walter | 2014-01-13 | 3 | -52/+186 |
| | | | | | | | This fixes an issue where a blacklist in one token wasn't properly skipping anchors being extracted with extract-compat https://bugs.freedesktop.org/show_bug.cgi?id=73558 | ||||
* | attrs: Allow NULL attribute to be passed to p11_attr_hash() | Stef Walter | 2014-01-13 | 2 | -5/+10 |
| | | | | | | This allows simpler lookups. https://bugs.freedesktop.org/show_bug.cgi?id=73558 | ||||
* | enumerate: Use p11_enumerate_ready() from tests | Stef Walter | 2014-01-13 | 2 | -13/+23 |
| | | | | | | This gives a little broader testing of the enumerator https://bugs.freedesktop.org/show_bug.cgi?id=73558 | ||||
* | iter: Fix return value in rare memory allocation case | Stef Walter | 2014-01-13 | 1 | -1/+1 |
| | |||||
* | iter: Add p11_kit_iter_get_attributes() function | Stef Walter | 2014-01-13 | 3 | -0/+106 |
| | | | | A simple wrapper for C_GetAttributeValue() | ||||
* | Remove straggler file in the tools directory | Stef Walter | 2014-01-08 | 1 | -266/+0 |
| | |||||
* | Update translations from transifex | Stef Walter | 2014-01-08 | 1 | -84/+85 |
| | |||||
* | Fix typo in mock.c | Stef Walter | 2014-01-08 | 1 | -1/+1 |
| | | | | Reported-by: Tijl Coosemans <tijl@FreeBSD.org> | ||||
* | Check if pthread and nanosleep() are in libc before linking other libs | Nikos Mavrogiannopoulos | 2013-12-02 | 1 | -6/+15 |
| | | | | | | | | | In recent versions of glibc this is true and prevents linking with pthreads when it is not necessary. Tweaked by Stef Walter Signed-off-by: Stef Walter <stef@thewalter.net> | ||||
* | Drop unused libtasn1.h include | Roman Bogorodskiy | 2013-11-08 | 1 | -2/+0 |
| | | | | | | | | | It's not only unsed, but also causes build fail because CFLAGS for tests does not contain LIBTASN1_CFLAGS. Signed-off-by: Stef Walter <stef@thewalter.net> https://bugs.freedesktop.org/show_bug.cgi?id=71379 | ||||
* | trust: Check for race in BasicConstraints stapled extension | Stef Walter | 2013-10-14 | 1 | -0/+49 |
| | | | | | | Related to the following bug: https://bugs.freedesktop.org/show_bug.cgi?id=69314 | ||||
* | Disable tests with setgid binaries when running in fakeroot | Andreas Metzler | 2013-10-01 | 2 | -2/+8 |
| | | | | | We use the FAKED_MODE environment variable as a way to detect fakeroot. | ||||
* | Fix documentation build | Stef Walter | 2013-09-23 | 1 | -11/+13 |
| | |||||
* | Update from transifex and string changes | Stef Walter | 2013-09-09 | 69 | -74/+11068 |
| | |||||
* | Release version 0.20.1 | Stef Walter | 2013-09-09 | 2 | -1/+7 |
| | |||||
* | Remove unused make variables | Stef Walter | 2013-09-09 | 2 | -5/+2 |
| | |||||
* | extract-compat: Skip extraction if running as non-root | Stef Walter | 2013-09-05 | 1 | -0/+6 |
| | |||||
* | anchor: Run extract-compat after we've changed something | Stef Walter | 2013-09-05 | 1 | -11/+33 |
| | | | | | When the 'trust anchor' tool changes something, run 'trust extract-compat' after that point | ||||
* | trust: More appropriate rv when non-modifiable object deleted | Stef Walter | 2013-09-05 | 2 | -1/+2 |
| | | | | | This will change once the spec has a specific attribute and code to signify deletability. | ||||
* | anchor: Better failure messages when removing anchors | Stef Walter | 2013-09-05 | 1 | -3/+26 |
| | |||||
* | messages: Better message for CKR_FUNCTION_REJECTED | Stef Walter | 2013-09-05 | 1 | -1/+1 |
| | |||||
* | Release version 0.20.0 | Stef Walter | 2013-09-04 | 2 | -1/+4 |
| | |||||
* | Documentation tweaks | Stef Walter | 2013-09-04 | 2 | -1/+3 |
| | |||||
* | Release version 0.19.4 | Stef Walter | 2013-08-29 | 6 | -5/+18 |
| | |||||
* | Route 'p11-kit extract-trust' over to trust tool | Stef Walter | 2013-08-29 | 8 | -35/+81 |
| | | | | | | The actual command is 'trust extract-compat'. Make installed placeholder script reflect this. We still support the old placeholder script if it is present. | ||||
* | trust: Document the new command line trust tool | Stef Walter | 2013-08-29 | 6 | -139/+385 |
| | |||||
* | trust: Add 'trust anchor --remove' command | Stef Walter | 2013-08-29 | 1 | -52/+365 |
| | | | | Also prevent --store from storing an anchor multiple times | ||||
* | trust: Add a list command to the trust tool | Stef Walter | 2013-08-29 | 4 | -1/+294 |
| | | | | Lists with PKCS#11 URI's and some basic fields. | ||||
* | trust: Add support for removing trust token objects | Stef Walter | 2013-08-29 | 2 | -1/+185 |
| | |||||
* | trust: Refactor enumeration of certificates to extract | Stef Walter | 2013-08-29 | 14 | -543/+541 |
| | | | | Because we want to use this same logic for listing trust | ||||
* | trust: Do reload object removals inside a loading block | Stef Walter | 2013-08-29 | 1 | -0/+4 |
| | | | | | So that validation/storage logic doesn't kick in if a file was removed outside of p11-kit trust module. | ||||
* | trust: Add index callback for when an object is removed | Stef Walter | 2013-08-29 | 6 | -9/+125 |
| | | | | This allows a token to remove the file if desired | ||||
* | trust: Prefer parsing the persist format to PEM | Stef Walter | 2013-08-28 | 1 | -2/+2 |
| | | | | | This is because the persist format contains PEM, and if the PEM parser gets it first, then it'll ignore the other non PEM data. | ||||
* | trust: Correctly rewrite other objects in a modifiable persist file | Stef Walter | 2013-08-28 | 2 | -1/+75 |
| | | | | | There was a bug where we were rewriting the modified object multiple times. | ||||
* | Add p11-kit style typedefs for iter and uri | Stef Walter | 2013-08-28 | 2 | -0/+2 |
| | | | | | In general we're slowly migrating towards the lower case style for stuctures/objects. | ||||
* | iter: Add a p11_kit_iter_destroy_object() function | Stef Walter | 2013-08-28 | 4 | -0/+60 |
| | | | | Handy function since this is a common need. | ||||
* | iter: Add p11_kit_iter_set_uri() function | Stef Walter | 2013-08-28 | 4 | -8/+67 |
| | | | | This is so we can set a filtering uri on the iterator after construction | ||||
* | iter: Add p11_kit_iter_get_token() call | Stef Walter | 2013-08-28 | 4 | -4/+56 |
| | | | | | To get the already loaded CK_TOKEN_INFO during iteration for the token that the current object is on. |