aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli
Commit message (Collapse)AuthorAgeFilesLines
* Add mod_inverse cmdletJack Lloyd2017-10-061-0/+16
| | | | I needed it ;)
* Move block to its own functionJack Lloyd2017-10-021-17/+21
|
* Remove various unused variablesJack Lloyd2017-10-022-1/+2
| | | | Sonar finds
* Remove redundant "virtual override" declarations.Jack Lloyd2017-10-022-3/+3
|
* Use explicit :: or std:: to refer to functions in namespacesJack Lloyd2017-10-012-5/+5
|
* Use class hereJack Lloyd2017-09-301-1/+1
|
* Fix bad comparisonJack Lloyd2017-09-301-1/+1
| | | | Caught by Sonar
* Use class instead of struct for objects with member functionsJack Lloyd2017-09-301-1/+1
| | | | Flagged by Sonar and quite reasonable
* Further header cleanupsJack Lloyd2017-09-282-1/+3
|
* Reindent [ci skip]Jack Lloyd2017-09-241-1/+1
|
* Further build/test fixes for restricted configurationsJack Lloyd2017-09-242-1/+5
|
* Fixes for headers missing in certain configurationsJack Lloyd2017-09-231-0/+1
|
* De-inline TLS::Text_PolicyJack Lloyd2017-09-211-0/+1
| | | | | Getting a little large to be all defined in a header, and sticking it in a source file allows removing several includes from tls_policy.h
* More include header cleanupsJack Lloyd2017-09-217-12/+7
|
* Change header guard format to BOTAN_FOO_H_Jack Lloyd2017-09-202-4/+4
| | | | | | ISO C++ reserves names with double underscores in them Closes #512
* Reflect -fstack-protector and related flags in `botan config ldflags`Jack Lloyd2017-09-191-0/+2
| | | | | | GH #863 [ci skip]
* Correct output of `botan config libs`Jack Lloyd2017-09-161-2/+1
| | | | It output -lbotan-2.x instead of -lbotan-2
* Merge duplicated logic for clearing CPUID bitsJack Lloyd2017-09-161-9/+5
|
* Fix bad write if a socket error occurred using --dump-tracesJack Lloyd2017-09-071-5/+5
| | | | Found by Coverity
* Avoid leaking address info in the case of a connection failureJack Lloyd2017-09-031-2/+2
| | | | | | Not really a problem since we're exiting shortly afterwards. [ci skip]
* Add missing overrideJack Lloyd2017-09-031-1/+1
|
* Avoid using std::cout and std::cerr within cli codeJack Lloyd2017-09-025-85/+87
| | | | Prevents redirection using --output and --error-output
* Add --dump-traces option to tls_serverJack Lloyd2017-09-021-1/+18
|
* Add a script for running TLS-Attacker, remove old shell scriptsJack Lloyd2017-09-021-20/+18
| | | | [ci skip]
* Add a CLI util for inspecting TLS client hellosJack Lloyd2017-09-011-0/+111
|
* Fix --error-output= option to cliJack Lloyd2017-09-011-3/+3
| | | | [ci skip]
* Enforce signature hash policy properlyJack Lloyd2017-08-311-1/+1
| | | | | | | | Previously if the client did not send signature_algorithms, or if it only included algos not in the policy, we would just fallback to the hardcoded SHA-1 default of TLS v1.2 Instead check the policy before accepting anything.
* Simplify RNG logic in CLI a bitJack Lloyd2017-08-312-15/+13
|
* Merge GH #1169 Add LLVM bitcode targetJack Lloyd2017-08-312-69/+81
|\
| * Work around limitation in old GCC and ClangJack Lloyd2017-08-311-1/+1
| |
| * Refactor RNG seeding logic in command line interfaceJack Lloyd2017-08-302-69/+81
| | | | | | | | | | This is needed for LLVM which doesn't have any usable entropy sources. Also useful for determinsitic private key creation, etc.
* | More MSVC warnings fixesJack Lloyd2017-08-312-3/+11
| |
* | Fix various MSVC warningsJack Lloyd2017-08-311-4/+2
|/ | | | Based on VC2017 output
* Avoid catching by valueJack Lloyd2017-08-291-1/+1
| | | | Sonar find
* Newhope cleanupsJack Lloyd2017-08-181-1/+1
| | | | Formatting, use size_t instead of int, etc
* Add support for Windows sockets to http_utilRené Korthaus2017-08-042-3/+88
| | | | | | Based on the work by @slicer4ever, adds support for Windows sockets to http_util. As a bonus, we get Windows support for tls_client and tls_server CLI.
* Add ChaCha_RNGJack Lloyd2017-07-311-47/+16
|
* Fix loading of unencrypted PKCS#8 key via CLIRené Korthaus2017-07-111-10/+16
| | | | | | | CLI passed an emtpy password to PKCS8::load_key(), even if --pass-in was not given, which caused loading of unencrypted private keys to fail. Fixed by calling the corresponding flavour of load_key().
* Fix sign_cert CLI incorrectly handling --ca-key-passRené Korthaus2017-07-011-2/+4
|
* Merge GH #1082 Add support for SM2 signature schemeJack Lloyd2017-06-301-0/+32
|\
| * Add SM2 signature schemeJack Lloyd2017-06-291-0/+32
| | | | | | | | | | | | From https://tools.ietf.org/html/draft-shen-sm2-ecdsa-02 This is a contribution from Ribose Inc (@riboseinc).
* | Merge GH #1084 Support multiple buffer sizes in speed reportJack Lloyd2017-06-301-86/+446
|\ \ | |/ |/|
| * use buffer sizes only once in performance tests0xdefaced2017-06-261-2/+16
| | | | | | | | | | | | Remove duplicates from given buffer sizes in performance tests. Additionally, sort buffer sizes for better grouping in logs and add a colon before printing the measurements.
| * print a summary for performance tests0xdefaced2017-06-241-7/+306
| |
| * only speed test different msg sizes when tests require a message size0xdefaced2017-06-241-204/+222
| | | | | | | | | | Don't perform performance tests for different buffer sizes when the algorithm does not care about the message size.
| * accept multiple buffer sizes used for speed tests0xdefaced2017-06-241-141/+170
| |
* | Fix transcoding of asn1print strings to UTF-8René Korthaus2017-06-281-2/+2
|/ | | | | | | | When the terminal used supports UTF-8, asn1print should convert strings from internal Latin1 to UTF-8 encoding for printing to terminal. However, it previously tried to convert in the opposite direction, probably because of the misconception that Charset::transcode() expects the two encodings as "from, to" instead of "to, from".
* Update speedJack Lloyd2017-06-071-0/+29
|
* Fix missing binary mode flag on compression ofstreamsVolker Aßmann2017-06-062-4/+4
|
* Added std::ios::binary option for istream open in compression. WithoutVolker Aßmann2017-06-051-2/+2
| | | | | this the compress/uncompress methods may produce corrupted files on Windows.