Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | iter: Add new P11_KIT_ITER_WANT_WRITABLE iterator behavior | Stef Walter | 2013-08-28 | 4 | -29/+16 |
| | | | | | This allows us to try to get a RW session, but if not fallback to a read-only session. | ||||
* | tool: Only include debug lines marked 'tool' when --verbose | Stef Walter | 2013-08-28 | 1 | -1/+3 |
| | | | | | Otherwise we get all sorts of overwhelming internal debugging when someone specifies --verbose argument to a tool. | ||||
* | debug: Allow debug lines longer than 512 characters | Stef Walter | 2013-08-28 | 1 | -4/+3 |
| | | | | | | Since fprintf (stderr, ...) already doesn't print atomically, we don't lose any atomicity here. If we want to print atomically this will need some further reworking anyway. | ||||
* | debug: Add missing 'tool' flag to debug flags | Stef Walter | 2013-08-28 | 1 | -0/+1 |
| | |||||
* | p11-kit: Rename list.c to lists.c to simplify debugging | Stef Walter | 2013-08-28 | 2 | -1/+1 |
| | |||||
* | Avoid multiple stat() calls for same file | Stef Walter | 2013-08-28 | 16 | -69/+80 |
| | | | | | | As a side effect we can also not use the dirent.d_type field https://bugs.freedesktop.org/show_bug.cgi?id=68525 | ||||
* | compat: Check return value of mmap() properly | Stef Walter | 2013-08-28 | 1 | -1/+1 |
| | | | | https://bugs.freedesktop.org/show_bug.cgi?id=68525 | ||||
* | Add --with-module-config parameter to the configure script | Pascal Ernster | 2013-08-16 | 1 | -1/+6 |
| | | | | https://bugs.freedesktop.org/show_bug.cgi?id=68122 | ||||
* | trust: Add test tool for creating BasicConstraints | Stef Walter | 2013-08-12 | 2 | -0/+102 |
| | |||||
* | test-compat calls test_getauxval which is in a UNIX defined block | Michael Cronenworth | 2013-07-30 | 1 | -0/+2 |
| | | | | | | MinGW builds fail due to this. https://bugs.freedesktop.org/show_bug.cgi?id=67518 | ||||
* | do not assume dead code existence in autoconf checks | Alon Bar-Lev | 2013-07-29 | 1 | -2/+2 |
| | | | | | | | | | when compiler optimize source, it removes dead code so a linkage error in these cases are not visisble. Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> https://bugs.freedesktop.org/show_bug.cgi?id=67413 | ||||
* | Release version 0.19.3 | Stef Walter | 2013-07-24 | 2 | -1/+7 |
| | |||||
* | Make tests work on file systems with block size directories | Stef Walter | 2013-07-24 | 1 | -0/+12 |
| | | | | | | | | | On certain file systems the size of the directory does not change when adding a file. This caused the tests to fail. Make the tests wait more than a second in certain tests to get the mtime to change. https://bugs.freedesktop.org/show_bug.cgi?id=65249 | ||||
* | Fix uninitialized variables | Stef Walter | 2013-07-23 | 1 | -2/+2 |
| | |||||
* | Don't use _GNU_SOURCE and fix strerror_r usage | Stef Walter | 2013-07-23 | 7 | -6/+83 |
| | | | | | glibc declares strerror_r completely different if in POSIX or GNU mode. Nastiness. Stop using _GNU_SOURCE all together. | ||||
* | Fix various memory leaks exposed by 'make leakcheck' | Stef Walter | 2013-07-23 | 11 | -56/+79 |
| | |||||
* | Use simple serial automake test harness | Stef Walter | 2013-07-23 | 12 | -12/+113 |
| | | | | | * Add a testing sanity check to see if we're catching errors * Fix a few other testing issues | ||||
* | Use an automake aux directory for storing litter | Stef Walter | 2013-07-23 | 2 | -1/+3 |
| | |||||
* | doc: Add identifiers to doc sections so gtk-doc doesn't autogen them | Stef Walter | 2013-07-18 | 3 | -10/+10 |
| | |||||
* | Add appropriate const qualifiers | Stef Walter | 2013-07-18 | 2 | -2/+2 |
| | |||||
* | Release version 0.19.2 | Stef Walter | 2013-07-18 | 2 | -2/+20 |
| | |||||
* | Fix extract example in documentation | Stef Walter | 2013-07-18 | 1 | -1/+1 |
| | |||||
* | Use $XDG_CONFIG_HOME/pkcs11 as default user config directory | Stef Walter | 2013-07-18 | 1 | -1/+1 |
| | | | | | | | | | By default this evaluates to ~/.config/pkcs11. This is a somewhat backwards incompatible change. However so far only advanced users have been exposed to the user p11-kit configuration. Distributors are able to revert this if necessary with a --with-user-config='~/.pkcs11' ./configure option. | ||||
* | Use getpwuid_r() instead of the non-thread-sofe getpwuid() | Stef Walter | 2013-07-18 | 1 | -2/+9 |
| | |||||
* | Fix p11_kit_space_strlen() result when empty string | Stef Walter | 2013-07-18 | 3 | -3/+63 |
| | | | | https://bugzilla.redhat.com/show_bug.cgi?id=985416 | ||||
* | Always pass size_t varargs to p11_hash_xxx() functions | Stef Walter | 2013-07-18 | 3 | -4/+6 |
| | | | | https://bugzilla.redhat.com/show_bug.cgi?id=985421 | ||||
* | Don't call memdup with zero length or NULL pointer | Stef Walter | 2013-07-18 | 2 | -3/+8 |
| | | | | https://bugzilla.redhat.com/show_bug.cgi?id=985433 | ||||
* | attrs: Check printf formatting in buffer_append_printf() | Stef Walter | 2013-07-18 | 1 | -0/+5 |
| | | | | https://bugzilla.redhat.com/show_bug.cgi?id=985497 | ||||
* | Avoid using the non-thread-safe strerror() function | Stef Walter | 2013-07-18 | 11 | -51/+348 |
| | | | | https://bugzilla.redhat.com/show_bug.cgi?id=985481 | ||||
* | Declare static variables const where it makes sense | Stef Walter | 2013-07-18 | 7 | -31/+31 |
| | | | | https://bugzilla.redhat.com/show_bug.cgi?id=985337 |