aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli
Commit message (Collapse)AuthorAgeFilesLines
* Fix some LGTM issuesJack Lloyd2019-06-194-13/+19
|
* Add --max-clients option to tls_proxy and tls_http_serverJack Lloyd2019-05-312-53/+107
| | | | A clean exit is required in order to get coverage results
* Argon2: minor optimizations, add tests of CLI, tweak tuningJack Lloyd2019-05-302-1/+47
|
* Argon2: PasswordHash, documentation, hash formattingJack Lloyd2019-05-292-2/+80
|
* Merge GH #1858 Update XMSS to conform to RFC 8391Jack Lloyd2019-05-241-4/+4
|\
| * Fix param names to match RFCJack Lloyd2019-05-131-4/+4
| |
| * Fix param namesJack Lloyd2019-05-101-4/+4
| |
* | Avoid warningsJack Lloyd2019-05-241-0/+2
| |
* | Fix TLS CBC in DTLS when a bad packet is received.Jack Lloyd2019-05-211-1/+1
| | | | | | | | | | | | The Lucky13 countermeasure causes the mac state to become corrupted, due to the extra inputs. Then the next packet fails its mac check. This causes the Lucky13 countermeasure to go off again, ...
* | Merge GH #1945 Add --format option to rng cliJack Lloyd2019-05-104-43/+69
|\ \
| * | Add --format option for RNG cmdletJack Lloyd2019-05-094-43/+69
| |/
* / Mark some classes as finalJack Lloyd2019-05-094-8/+8
|/
* Add a cast for WindowsJack Lloyd2019-04-301-1/+1
|
* Fix tls_serverJack Lloyd2019-04-301-1/+9
| | | | PR #1840 ended up breaking tls_server in DTLS mode on Linux
* Fix feature macro checks.Jack Lloyd2019-04-262-6/+4
| | | | Add a checker script.
* Add a cmdlet to print UUIDsJack Lloyd2019-04-261-0/+32
|
* Understand --versionJack Lloyd2019-04-181-0/+2
|
* Add a wrapper class that wraps macOS or Linux certificate stores.Jack Lloyd2019-04-132-26/+69
|
* Fix a few warnings in Boost specific codeJack Lloyd2019-04-132-3/+3
|
* Allow creating intermediate CAs using CLIJack Lloyd2019-04-101-3/+8
| | | | Closes #1879
* boost 1.70 compatibilityRalf van der Enden2019-04-052-2/+14
| | | | Fixes issue #82
* Tracing socket feature for the CLI TLS server.David Carlier2019-03-291-0/+27
| | | | For now FreeBSD DTrace support.
* Fix some extra semicolonsJack Lloyd2019-03-272-2/+2
|
* s/as_string/to_string/Jack Lloyd2019-03-011-1/+1
| | | | | A few older APIs use as_string where everywhere else uses to_string. Add to_string's where missing, and deprecate X::as_string.
* Split CLI utils.cpp into more partsJack Lloyd2019-02-285-236/+336
| | | | | | Add base58 encoding/decoding CLI Use decrypt_or_random in pk_decrypt
* Windows compilation fixVitaly Ivanov2019-02-221-1/+1
|
* macOS fix for tls_server in UDP/DTLS modeVitaly Ivanov2019-02-211-1/+4
|
* Fixes for minimized buildsJack Lloyd2019-02-161-0/+1
| | | | Various configurations would fail build or test, fix that.
* cli: sign and verify emsa default is empty for Ed25519 (fix #1828)Nuno Goncalves2019-02-071-14/+33
| | | | Signed-off-by: Nuno Goncalves <[email protected]>
* Fix macro checksJack Lloyd2019-01-241-2/+1
|
* Split out bcrypt cli util to its own fileJack Lloyd2019-01-222-78/+89
|
* Move hash util to hash.cpp and add --format optionJack Lloyd2019-01-222-65/+118
| | | | | | | For example/documentation purposes, having distinct files makes the code easier to find. New --format option allows encoding as base64 or base58
* Sandboxing feature from CLI pov.David Carlier2019-01-143-1/+74
| | | | | No resources to free with actual OS features but might be of use for later.
* Proposal of sandboxing feature.David Carlier2019-01-061-0/+6
| | | | For now only used by the TLS server.
* Casts to avoid MSVC warningsJack Lloyd2019-01-031-1/+9
|
* Rename OS::get_processor_timestamp to OS::get_cpu_cycle_counterJack Lloyd2018-12-231-1/+1
| | | | | Using phrase "timestamp" makes it sound like it has some relation to wall clock which it does not.
* Test how long it takes to precompute base point multiplesJack Lloyd2018-12-161-0/+20
|
* Fix more MSVC warningsJack Lloyd2018-12-102-4/+4
|
* Work around a problem when built with OpenSSLJack Lloyd2018-12-101-1/+8
| | | | | | | It appears OpenSSL has a different interpretation from us of how the message representative is formed for P-521 when given a hash to sign that is larger than the group order; signatures generated by us do not verify with OpenSSL and vice versa.
* Support recovering ECDSA public key from message/signature pairJack Lloyd2018-12-101-0/+51
| | | | | | See http://www.secg.org/sec1-v2.pdf section 4.1.6 Closes #664
* In speed, track number of invalid generated signatures and print onceJack Lloyd2018-12-081-1/+6
| | | | Otherwise this spams the output when something goes wrong.
* Add a constant time divide variant for dividing by uint8_tJack Lloyd2018-12-021-0/+43
| | | | | | | | | Originally wrote it for div-by-word but that ends up requiring a dword type which we don't always have. And uint8_t covers the most important cases of n = 10 and n = 58 (whenever I get around to writing base58). We could portably support up to div-by-uint32, but I don't think we need it. Nicely for n = 10, this is actually faster than the variable time division.
* Merge GH #1757 Add a constant time division algorithmJack Lloyd2018-12-021-0/+45
|\
| * Add a const-time division algorithmJack Lloyd2018-12-021-0/+45
| | | | | | | | | | | | | | | | It is stupid and slow (~50-100x slower than variable time version) but still useful for protecting critical algorithms. Not currently used, waiting for OSS-Fuzz to test it for a while before we commit to it.
* | Support getting a passphrase from most of the cli toolsJack Lloyd2018-12-019-23/+46
| |
* | Promote echo suppression of terminal to Botan::OSJack Lloyd2018-12-011-24/+15
|/
* Avoid calling memset, memcpy within library codeJack Lloyd2018-11-172-2/+2
| | | | | | | | | Prefer using wrappers in mem_utils for this. Current exception is where memcpy is being used to convert between two different types, since copy_mem requires input and output pointers have the same type. There should be a new function to handle conversion-via-memcpy operation.
* Avoid throwing std:: exceptionsJack Lloyd2018-11-071-1/+1
| | | | | Also include <new> in mem_ops.cpp as apparently that header is where bad_alloc is defined.
* Avoid using std::invalid_argumentJack Lloyd2018-11-071-1/+1
| | | | See #1726
* Document TSSJack Lloyd2018-10-301-1/+8
|