summaryrefslogtreecommitdiff
path: root/tools/tests/test-extract.c
Commit message (Collapse)AuthorAgeFilesLines
* Refine looking up of attributes in arraysStef Walter2013-03-181-3/+4
| | | | | | | | There was a class of bugs for looking up invalid or empty attributes in the internal PKCS#11 attribute arrays. * Refine what p11_attrs_find_valid() treats as valid * Rename p11_attrs_is_empty() to p11_attrs_terminator() for clarity
* extract: Combine trust policy when extractingStef Walter2013-03-151-7/+164
| | | | | | | | | | * Collapse multiple identical certificates coming from different tokens. Note that if a certificate should not be placed multiple times on a token. We cannot know which one to respect. * Add a new extract filter: --trust-policy This extracts all anchor and blacklist information https://bugs.freedesktop.org/show_bug.cgi?id=61497
* extract: --comment option adds comments to PEM bundlesStef Walter2013-03-151-0/+45
| | | | | | | | * Placed before the certificate, simple one liner * No need to put comments in PEM files extracted into directories, as the file names are already descriptive. https://bugs.freedesktop.org/show_bug.cgi?id=62029
* extract: Fix regression in --purpose optionStef Walter2013-03-081-0/+50
| | | | | | | | The --purpose option would only match certificates that had no purposes marked on them. Fix it so that it correctly matches certificates with the given purpose. https://bugs.freedesktop.org/show_bug.cgi?id=62009
* Initialize modules correctly in testsStef Walter2013-03-031-0/+2
| | | | This fixes hangs when running tests on windows
* Implement basic extract supportStef Walter2013-02-051-0/+301
* The only formats supported are x509-file and x509-directory Allow tool to build without extract