Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix 'make upload-release' target | Stef Walter | 2014-08-14 | 1 | -2/+2 |
| | |||||
* | doc: Fix missing tag in p11-kit-sharing.xml | Stef Walter | 2014-08-11 | 1 | -0/+1 |
| | |||||
* | p11-kit: Fix various noise/issues highlighted by clang | Stef Walter | 2014-08-11 | 4 | -13/+13 |
| | |||||
* | Ignore clang scanner litter | Stef Walter | 2014-08-08 | 1 | -0/+1 |
| | |||||
* | 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 |
| | |||||
* | p11-kit: Remove use after free in debug output code path | Stef Walter | 2014-08-08 | 1 | -1/+1 |
| | |||||
* | Quiten down scanner warnings about unused variables | Stef Walter | 2014-08-08 | 2 | -8/+2 |
| | |||||
* | common: Quiet down clang scanner with assertions | Stef Walter | 2014-08-08 | 1 | -1/+1 |
| | | | | | Quieten down the clang scanner by telling it to expect that our test assertions fail | ||||
* | Fix mostly erroneous scanner warnings in tests | Stef Walter | 2014-08-08 | 11 | -2/+22 |
| | |||||
* | 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 |
| | |||||
* | p11-kit: Fix integer overflow in memset() argument | Stef Walter | 2014-08-08 | 1 | -1/+1 |
| | |||||
* | p11-kit: Fix bad check of asprintf() return value | Stef Walter | 2014-08-08 | 1 | -1/+1 |
| | |||||
* | configure.ac: Add subdir-objects to satisfy newer automakes | 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 | ||||
* | common: Allow specifying which tests to run on command line | Stef Walter | 2014-08-08 | 1 | -1/+33 |
| | | | | | | This modifies our common unit test code so we can specify full test paths on the command line, and restrict the run tests to the ones specified. Order is not respected at this time. | ||||
* | Release version 0.21.1 | Stef Walter | 2014-08-07 | 2 | -1/+7 |
| | |||||
* | po: Add new translations: oc | Stef Walter | 2014-08-07 | 3 | -1/+344 |
| | |||||
* | common: Don't do repeated linear reallocation of array memory | Stef Walter | 2014-08-07 | 1 | -1/+4 |
| | | | | | | | Some mallocs (notably on Windows) have really poor behavior when called repeatedly with a linearly growing buffer. https://bugzilla.redhat.com/show_bug.cgi?id=985419 | ||||
* | p11-kit: Tweak last commit, handle the not-forked case | Stef Walter | 2014-08-07 | 1 | -1/+4 |
| | | | | | When we hadn't forked, but were just not initialized, still return CKR_CRYPTOKI_NOT_INITIALIZED from managed modules. | ||||
* | p11-kit: Don't complain about C_Finalize called in wrong process | Stef Walter | 2014-08-07 | 1 | -6/+13 |
| | | | | | | When C_Finalize is called in the wrong process, it's often because of a caller unaware of forking. This is a painful area of PKCS#11, but at least for C_Finalize, lets not complain loudly about it. | ||||
* | p11-kit: Add a new 'isolate' pkcs11 config option | Stef Walter | 2014-07-08 | 3 | -12/+44 |
| | | | | | | | This sets 'remote' appropriately to run the module in a separate process. https://bugs.freedesktop.org/show_bug.cgi?id=80472 | ||||
* | p11-kit: Cleanup and add documentation for 'remote' option | Stef Walter | 2014-07-08 | 4 | -28/+59 |
| | | | | https://bugs.freedesktop.org/show_bug.cgi?id=54105 | ||||
* | p11-kit: Add 'p11-kit remote' command for isolating modules | Stef Walter | 2014-07-08 | 7 | -58/+161 |
| | | | | | This adds a new tool to the p11-kit command called 'remote'. This is the server side of remoting a PKCS#11 module. | ||||
* | rpc: Implement execution of another tool to transport PKCS#11 RPC | Stef Walter | 2014-07-08 | 9 | -44/+1600 |
| | |||||
* | mock: Minor testing tweaks to mock testing | Stef Walter | 2014-07-08 | 1 | -2/+2 |
| | |||||
* | modules: Make config file and module configs overridable by tests | Stef Walter | 2014-07-08 | 2 | -4/+18 |
| | |||||
* | test: Move some file and directory code into general test stuff | Stef Walter | 2014-07-08 | 5 | -129/+119 |
| | |||||
* | Add compatibility fdwalk() function | Stef Walter | 2014-07-08 | 3 | -0/+83 |
| | | | | | This is used when execing another process to close all open file descriptors that we don't wish to be inherited. | ||||
* | rpc: Implement PKCS#11 messages/client/server code | Stef Walter | 2014-07-08 | 14 | -2/+6163 |
| | | | | | | | | | | | | * This enables passing around bytes which represent PKCS#11 RPC calls. * Caller is responsible for connecting/disconnecting and so on. * Client side caller gets a mixin from p11_rpc_client_init() to call into, which generates callbacks with byte arrays to be transported. * Server side calls p11_rpc_server_handle() with a CK_FUNCTION_LIST_PTR on which relevant methods get called. * Doesn't yet implement the actual daemon or clients etc... https://bugs.freedesktop.org/show_bug.cgi?id=54105 | ||||
* | Fix typo: supress - > suppress | Andreas Metzler | 2014-07-07 | 4 | -4/+4 |
| | |||||
* | Release version 0.20.3 | Stef Walter | 2014-07-04 | 2 | -1/+11 |
| | |||||
* | Added test for non-null values in empty ID and label URI parts | Nikos Mavrogiannopoulos | 2014-07-04 | 1 | -0/+66 |
| | |||||
* | p11-kit: Mark p11_kit_be_quiet() and p11_kit_be_loud() stable | Stef Walter | 2014-07-04 | 2 | -6/+6 |
| | | | | | These are useful functions for callers who want to supress all output from p11-kit library. | ||||
* | p11-kit: Handle managed modules correctly when forking | Stef Walter | 2014-07-04 | 2 | -5/+56 |
| | | | | | | | | Correctly allow reinitialization when a process forks. We don't yet implement checks on all entry points of a managed module, but this allows callers to call C_Initialize again after forking, as outlined by the PKCS#11 v2 spec. | ||||
* | common: Fixed implementation of strerror_r for WinXP | Pavel A | 2014-07-01 | 1 | -0/+15 |
| | | | | | | ie: when streror_s is missing in msvcrt.dll https://bugs.freedesktop.org/show_bug.cgi?id=76594 | ||||
* | p11-kit: Fix corrupted list when initialization of modules fail | Stef Walter | 2014-06-25 | 1 | -0/+2 |
| | | | | | | | | This fixes the function call p11_kit_module_initialize() to correctly rearrange the modules array when initializing a module fails. Also fixes p11_kit_modules_load_and_initialize() | ||||
* | Don't try to symlink p11-proxy.so on windows | Milan Crha | 2014-06-20 | 1 | -5/+5 |
| | | | | https://bugs.freedesktop.org/show_bug.cgi?id=76594 | ||||
* | configure: Require automake 1.12 or later | Stef Walter | 2014-06-20 | 1 | -1/+1 |
| | | | | | We can't use automake 1.10 as serial-tests is not supported there. | ||||
* | 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 |
| |