summaryrefslogtreecommitdiff
path: root/trust/extract.c
Commit message (Collapse)AuthorAgeFilesLines
* build: Include <unistd.h> for execvDaiki Ueno2017-02-161-0/+1
|
* trust: Revert to the original 'extract' behaviorDaiki Ueno2017-02-141-0/+1
| | | | | | | | Since commit f4384a40, due to a missing ex->flags setting, the 'trust extract' command didn't retrieve correlation between related objects and that was causing assertion failure when writing PEM files. https://bugs.freedesktop.org/show_bug.cgi?id=99795
* trust: Clarify the error message of 'extract'Daiki Ueno2016-11-281-1/+4
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=1154693
* trust: Add pem-directory-hash extract formatAdam Williamson2015-01-141-7/+10
| | | | | | | | | | | | This allows extraction of a directory of standard PEM files with the OpenSSL hash symlinks; this is a format used by some popular platforms (Debian's /etc/ssl/certs is in this form, and OpenSUSE provides it for compatibility). Initially by: Ludwig Nussel <ludwig.nussel@suse.de> Signed-off-by: Stef Walter <stefw@redhat.com> * Added header, fixed compiler warnings
* Move to non-recursive Makefile for building bins and libsStef Walter2014-08-151-2/+3
| | | | Still use recursive for documentation and translation.
* trust: Fix use after free and double free in extract commandStef Walter2014-08-081-7/+4
|
* Fix typo: supress - > suppressAndreas Metzler2014-07-071-1/+1
|
* Release version 0.19.4Stef Walter2013-08-291-2/+2
|
* Route 'p11-kit extract-trust' over to trust toolStef Walter2013-08-291-0/+38
| | | | | | 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: Refactor enumeration of certificates to extractStef Walter2013-08-291-166/+14
| | | | Because we want to use this same logic for listing trust
* Fix various issues highlighted by coverity scannerStef Walter2013-07-181-10/+10
| | | | Among others fix possible usage of large stack allocation.
* trust: Fix the 'p11-kit extract' commandStef Walter2013-07-091-1/+1
| | | | | This is supposed to call over to 'trust extract' and wasn't working correctly.
* p11-kit: Add P11_KIT_MODULE_TRUSTED flagStef Walter2013-07-041-37/+12
| | | | | A new flag to pass to p11_kit_modules_load() and related functions which limits loaded modules to ones with "trust-policy: yes".
* iter: Add iteration mode where session is not busyStef Walter2013-07-031-1/+1
| | | | | | | | | | | In order to use the session we are iterating on for other tasks such as other C_FindObject() calls, we need to make sure that it's not in the middle of a find operation. Finish up the complete find operation in advance of returning objects from a session. Make this the default mode. The previous behavior remains as an option. Add tests.
* Reorganize various componentsStef Walter2013-06-251-0/+460
* p11-kit library and tool in the p11-kit/ subdirectory * trust module and new trust tool in trust/ subdirectory * No more tools/ subdirectory * Lots less in the common/ subdirectory