aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli/credentials.h
Commit message (Collapse)AuthorAgeFilesLines
* Refactor option parsing in cli and test codeJack Lloyd2017-10-241-1/+0
| | | | Allows cleaning up header includes, also somewhat smaller binaries.
* More include header cleanupsJack Lloyd2017-09-211-0/+1
|
* Change header guard format to BOTAN_FOO_H_Jack Lloyd2017-09-201-2/+2
| | | | | | ISO C++ reserves names with double underscores in them Closes #512
* Avoid using std::cout and std::cerr within cli codeJack Lloyd2017-09-021-1/+0
| | | | Prevents redirection using --output and --error-output
* Fix various MSVC warningsJack Lloyd2017-08-311-4/+2
| | | | Based on VC2017 output
* Reformat code with astyle + fix code styleTomasz Frydrych2017-05-011-6/+20
|
* Move TLS cert verification callback from Credentials_Manager to TLS::CallbacksJack Lloyd2016-11-231-18/+0
| | | | | | It is the only function in C_M which is called on to process session-specific (and adversarially provided) inputs, rather than passively returning some credential which is typically not session specific.
* Add /etc/ssl/certs to default cert pathJack Lloyd2016-08-301-1/+1
| | | | Really this should be configurable via flags...
* CLI rewriteJack Lloyd2015-12-191-15/+15
| | | | | | | | | | | | | | | | | | The command line tools' origin as a collection of examples and test programs glued together led to some unfortunate problems; lots of hardcoded values, missing parameters, and obsolete crypto. Adds a small library for writing command line programs of the sort needed here (cli.h), which cuts the length of many of the commands in half and makes commands more pleasant to write and extend. Generalizes a lot of the commands also, eg previously only signing/verification with DSA/SHA-1 was included! Removes the fuzzer entry point since that's fairly useless outside of an instrumented build. Removes the in-library API for benchmarking.
* Rename cmd/app -> cliSimon Warta2015-12-091-0/+158