Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | trust: Use term 'attached extensions' instead of 'stapled' | Stef Walter | 2014-09-10 | 8 | -72/+72 |
| | | | | | | | The term 'stapled extensions' is confusing because it overloads terminology used with OSCP stapling. Suggested by Daniel Kahn Gillmor. | ||||
* | common: New public pkcs11x.h header containing extensions | Stef Walter | 2014-09-10 | 4 | -0/+4 |
| | | | | | | | Move our internal stuff to pkcs11i.h, and install the pkcs11x.h header containing extensions. https://bugs.freedesktop.org/show_bug.cgi?id=83495 | ||||
* | common: Change the CKA_X_PUBLIC_KEY_INFO constant to CKA_PUBLIC_KEY_INFO | Stef Walter | 2014-09-10 | 8 | -45/+45 |
| | | | | | | | | | CKA_PUBLIC_KEY_INFO is defined in the PKCS#11 2.40 draft, so use that rather than defining our own. * Fixed up by Nikos Mavrogiannopoulos <nmav@redhat.com> https://bugs.freedesktop.org/show_bug.cgi?id=83495 | ||||
* | trust: Fix token test when building with MinGW | Michael Cronenworth | 2014-09-09 | 1 | -0/+4 |
| | | | | Signed-off-by: Michael Cronenworth <mike@cchtml.com> | ||||
* | trust: Show public-key-info in 'trust list --details' | Stef Walter | 2014-09-05 | 1 | -0/+14 |
| | | | | | Since the public-key-info is an important part of the way we represent trust, show it in 'trust list' if --details is present. | ||||
* | trust: Produce a proper message for an invalid stapled extension | Stef Walter | 2014-09-05 | 1 | -1/+10 |
| | | | | | | Previously we would output a line like this: p11-kit: 'node != NULL' not true at lookup_extension | ||||
* | Move to non-recursive Makefile for building bins and libs | Stef Walter | 2014-08-15 | 67 | -243/+272 |
| | | | | Still use recursive for documentation and translation. | ||||
* | trust: Don't use invalid public keys for looking up stapled extensions | Stef Walter | 2014-08-08 | 1 | -1/+1 |
| | | | | https://bugs.freedesktop.org/show_bug.cgi?id=82328 | ||||
* | trust: Print label of certificate when complaining about basic constraints | Stef Walter | 2014-08-08 | 1 | -1/+5 |
| | | | | https://bugs.freedesktop.org/show_bug.cgi?id=82328 | ||||
* | trust: Double check that index bucket is valid before access | Stef Walter | 2014-08-08 | 1 | -2/+2 |
| | |||||
* | Quiten down scanner warnings about unused variables | Stef Walter | 2014-08-08 | 1 | -4/+1 |
| | |||||
* | Fix mostly erroneous scanner warnings in tests | Stef Walter | 2014-08-08 | 6 | -1/+8 |
| | |||||
* | trust: Fix leak in token loading error path | Stef Walter | 2014-08-08 | 1 | -0/+1 |
| | |||||
* | trust: Fix unlikely use of uninitialized memory in token loading | Stef Walter | 2014-08-08 | 1 | -3/+3 |
| | |||||
* | trust: Fix leak in trust list command | Stef Walter | 2014-08-08 | 1 | -0/+1 |
| | |||||
* | trust: Fix use after free and double free in extract command | Stef Walter | 2014-08-08 | 1 | -7/+4 |
| | |||||
* | trust: Remove dead while condition in anchor commond | Stef Walter | 2014-08-08 | 1 | -1/+1 |
| | |||||
* | trust: Fix use of invalid memory in PEM parser | Stef Walter | 2014-08-08 | 1 | -3/+1 |
| | |||||
* | trust: Parse TRUSTED CERTIFICATE openssl format even without CertAux | Stef Walter | 2014-08-08 | 3 | -13/+151 |
| | | | | | | | | openssl sometimes outputs TRUSTED CERTIFICATE PEM files without the additional CertAux (ie: trust fields) information. It simply leaves that block out. This happens with a command like: $ openssl x509 -in my-cert.pem -out output -trustout | ||||
* | test: Move some file and directory code into general test stuff | Stef Walter | 2014-07-08 | 3 | -129/+26 |
| | |||||
* | Fix typo: supress - > suppress | Andreas Metzler | 2014-07-07 | 3 | -3/+3 |
| | |||||
* | trust: Add installcheck target for testing extract | Stef Walter | 2014-01-14 | 2 | -0/+195 |
| | | | | | | | | 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. | ||||
* | 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 | ||||
* | 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 | ||||
* | 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 | ||||
* | 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 |
| | |||||
* | Release version 0.19.4 | Stef Walter | 2013-08-29 | 3 | -4/+4 |
| | |||||
* | Route 'p11-kit extract-trust' over to trust tool | Stef Walter | 2013-08-29 | 5 | -6/+49 |
| | | | | | | 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: 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. | ||||
* | Avoid multiple stat() calls for same file | Stef Walter | 2013-08-28 | 9 | -33/+27 |
| | | | | | | As a side effect we can also not use the dirent.d_type field https://bugs.freedesktop.org/show_bug.cgi?id=68525 | ||||
* | trust: Add test tool for creating BasicConstraints | Stef Walter | 2013-08-12 | 2 | -0/+102 |
| | |||||
* | 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 | 1 | -1/+1 |
| | | | | | 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 | 9 | -14/+29 |
| | |||||
* | Use simple serial automake test harness | Stef Walter | 2013-07-23 | 3 | -6/+11 |
| | | | | | * Add a testing sanity check to see if we're catching errors * Fix a few other testing issues | ||||
* | Add appropriate const qualifiers | Stef Walter | 2013-07-18 | 1 | -1/+1 |
| | |||||
* | 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 | ||||
* | Avoid using the non-thread-safe strerror() function | Stef Walter | 2013-07-18 | 3 | -44/+24 |
| | | | | https://bugzilla.redhat.com/show_bug.cgi?id=985481 | ||||
* | Declare static variables const where it makes sense | Stef Walter | 2013-07-18 | 4 | -23/+23 |
| | | | | https://bugzilla.redhat.com/show_bug.cgi?id=985337 |