aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Add --ecc-groups= option to speedJack Lloyd2017-06-041-37/+41
| | | | Instead of hardcoding which ecc groups to test in each alg.
* Add HOTP (RFC 4226) and TOTP (RFC 6238)Jack Lloyd2017-05-191-0/+4
|
* Add support for Intel SHA-1/SHA-2 instructionsJack Lloyd2017-05-191-0/+2
| | | | Based on GH #807 and #808
* Merge GH #359 Add botan cli encryption toolJack Lloyd2017-05-191-0/+139
|\
| * Fix 3 space indentSimon Warta2017-04-181-4/+4
| |
| * Add BOTAN_HAS_AEAD_MODES requirement for encryption cliSimon Warta2017-04-181-1/+1
| |
| * Update registration format of "encryption" cli commandSimon Warta2017-04-181-2/+2
| |
| * Add more ciphersSimon Warta2017-04-181-6/+20
| |
| * Adapt cli command encryption to new cli interfaceSimon Warta2017-04-181-37/+42
| |
| * Add botan encryption cli appSimon Warta2017-04-181-0/+120
| |
* | Add ability to clear cpuid bits before running benchmarks.Jack Lloyd2017-05-181-1/+14
| | | | | | | | | | | | | | Should be extended further, and some duplicated logic with the tests here, but useful as is. [ci skip]
* | Reformat code with astyle + fix code styleTomasz Frydrych2017-05-0116-487/+775
|/
* Add hex encoder/decoder CLI utilJack Lloyd2017-04-131-0/+37
|
* Add HMAC CLI commandRené Korthaus2017-04-131-0/+48
|
* Content:Tomasz Frydrych2017-04-034-12/+5
| | | | | | | | | * fixes for deprecated constructions in c++11 and later (explicit rule of 3/5 or implicit rule of 0 and other violations) * `default` specifier instead of `{}` in some places(probably all) * removal of unreachable code (for example `return` after `throw`) * removal of compilation unit only visible, but not used functions * fix for `throw()` specifier - used instead `BOTAN_NOEXCEPT` * removed not needed semicolons
* Use entropy source for cli rng.Alexander Bluhm2017-03-291-1/+11
| | | | | With "botan rng --entropy" the global entropy sources are used to seed the auto seeded random number generator.