summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* tools: Parse global options appropriately, even if after commandStef Walter2013-03-081-13/+18
|
* extract: Use bool instead of int where appropriateStef Walter2013-03-081-15/+15
|
* tools: Add a bit of debugging to the PEM extract handlerStef Walter2013-03-081-0/+3
|
* extract: Fix regression in --purpose optionStef Walter2013-03-082-2/+61
| | | | | | | | 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
* tools: Remove extra debugging statement when running external commandsStef Walter2013-03-071-1/+0
|
* extract-trust: Turn into a placeholder script that does nothingStef Walter2013-03-071-21/+15
| | | | | If the 'p11-kit extract-trust' command is to be used by distributions, make them customize it appropriately.
* Build with the libtasn1 CFLAGS properlyStef Walter2013-03-042-2/+6
| | | | | | Tweaks by: Roman Bogorodskiy <bogorodskiy@gmail.com> https://bugs.freedesktop.org/show_bug.cgi?id=61739
* Initialize modules correctly in testsStef Walter2013-03-035-0/+10
| | | | This fixes hangs when running tests on windows
* Windows doesn't support symlinks, chmod, or atomic renamesStef Walter2013-03-037-6/+101
| | | | | | | * Don't create symlinks on windows * No atomic renames, so delete and then rename * Make sure to close files before unlinking on windows * No chmod permissions on windows
* Open files in binary mode on windowsStef Walter2013-03-031-6/+5
| | | | So that the Windows' C library doesn't munge line endings
* Abstract mmap() into a compat APIStef Walter2013-03-031-0/+2
| | | | | The Win32 for mmap() is very different from Unix, so abstract this into our own p11_mmap_xxx() functions.
* tools: Update comments for cacerts jks formatStef Walter2013-03-031-4/+4
|
* Fix various clang analyzer warningsStef Walter2013-02-063-4/+11
| | | | | * Add annotations to our precondition functions so that they don't make the analyzer complain
* Add a placeholder external 'extract-trust' commandStef Walter2013-02-052-0/+31
|
* Implement support for java JKS keystore formatStef Walter2013-02-053-2/+335
| | | | | * All aliases must be lower case in order to work with the default keystore implementation.
* Use the CN, OU or O of certificates to generate a labelStef Walter2013-02-056-702/+24
| | | | | * This is in cases where the certificate information does not already have a friendly name or alias.
* Add support for exporting OpenSSL's TRUSTED CERTIFICATE formatStef Walter2013-02-0516-0/+2361
|
* Add support for extracting to pem-bundle and pem-directory formatsStef Walter2013-02-057-0/+531
|
* Implement basic extract supportStef Walter2013-02-0511-1/+1696
| | | | | | * The only formats supported are x509-file and x509-directory Allow tool to build without extract
* Support for sane writing to files extractedStef Walter2013-02-058-0/+1501
| | | | | | * Implement atomic writes of files * Writing with checks that not overwriting anything unless desired * Writing and overwriting of directory contents in a robust way
* Make the p11-kit tool have distinct commandsStef Walter2013-02-054-42/+459
| | | | | | * Change the -l argument into the list-modules command. * Add proper functions for printing usage * Support for external commands in the path or /usr/share/p11-kit
* Use the stdbool.h C99 bool typeStef Walter2013-01-231-5/+5
| | | | | | It was getting really wild knowing whether a function returning an int would return -1 on failure or 0 or whether the int return value was actually a number etc..
* Build common code into noinst librariesStef Walter2013-01-091-4/+8
| | | | | | * This is cleaner than building the same source files all over the place over and over. * Works better with code coverage.
* tools: Don't barf when p11-kit -hStef Walter2012-06-271-1/+1
|
* Provide compat getprogname() implementations on other OS'sStef Walter2012-05-012-1/+2
| | | | * And use them in our replacement err() and p11_kit_set_progname()
* Move the compat.[ch] headers into common directory/Stef Walter2012-04-304-294/+4
| | | | | * And the compat stuff in the p11-kit directory merged into util.c and util.h
* Initial port to win32Stef Walter2011-10-174-2/+298
| | | | | | | | * Tests do not all yet pass, at least not on wine * Added abstraction of some non-portable functions in compat.h/c * Build with an argument like this for win32 support: ./autogen.sh --host=i586-mingw32msvc * This win32 port needs more work from interested parties
* Print more information in 'p11-kit -l'Stef Walter2011-09-281-0/+92
|
* Fix building with NLS enabled.Roman Bogorodskiy2011-07-291-1/+2
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=39622
* List labels of all tokens in 'p11-kit -l'Stef Walter2011-07-061-2/+32
|
* Add p11_kit_space_strdup() function, and rename p11_kit_space_strlen()Stef Walter2011-06-071-1/+27
| | | | * Print out module info in p11-kit tool.
* Fix more memory errors and leaks in module code.Stef Walter2011-06-071-0/+3
|
* Remove unstable API markers.Stef Walter2011-06-071-2/+1
|
* Add basic tool for p11-kit.Stef Walter2011-04-052-0/+133
List modules: $ p11-kit -l