summaryrefslogtreecommitdiff
path: root/trust/extract-jks.c
Commit message (Collapse)AuthorAgeFilesLines
* extract-jks: Prefer _p11_extract_jks_timestamp to SOURCE_DATE_EPOCHDaiki Ueno2019-01-291-4/+4
| | | | | Give _p11_extract_jks_timestamp precedence over SOURCE_DATE_EPOCH so that the test results are not affected by the envvar settings.
* test: Add test that exercises duplicated certs in JKSDaiki Ueno2019-01-101-1/+1
|
* trust: Fix alias generation in JKS extractorDaiki Ueno2019-01-101-1/+2
| | | | | When there is a duplicate, the JKS extractor previously assigned somewhat obscure name "-<digit>" (not "<name>-<digit>").
* trust/extract-jks.c: also honor SOURCE_DATE_EPOCH timeHarald Hoyer2018-11-021-4/+34
| | | | | | | For reproducible builds, accept a define timestamp for the java keystore. See https://reproducible-builds.org/docs/source-date-epoch/
* common: Make case conversion locale independentDaiki Ueno2018-05-251-1/+1
| | | | | | The tolower()/toupper() functions take into account of the current locale settings, which p11-kit doesn't want. Add replacement functions that work as if they are called under the C locale.
* test: Add test for JKS extractorDaiki Ueno2018-04-061-1/+6
| | | | | Piggybacking commit de963b96, this adds a multi-cert test case for the Java keystore extractor.
* trust: Refactor enumeration of certificates to extractStef Walter2013-08-291-7/+6
| | | | Because we want to use this same logic for listing trust
* Always pass size_t varargs to p11_hash_xxx() functionsStef Walter2013-07-181-2/+2
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=985421
* Add support for using freebl3 for SHA1 and MD5 hashingStef Walter2013-07-101-7/+7
| | | | | | Since we don't want to link freebl3 to libp11-kit.so where it isn't needed, move the SHA-1 and MD5 digest functionality to the trust/ directory.
* trust: Add support for saving files with unique file namesStef Walter2013-07-031-1/+1
|
* Reorganize various componentsStef Walter2013-06-251-0/+331
* 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