aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/test_cli.py
Commit message (Collapse)AuthorAgeFilesLines
* Clean up prime generation logic slightlyJack Lloyd2020-03-061-6/+6
| | | | | | We were trying to generate safe primes using a weak check on q but actually this was rounded up to 128 bit probability check anyway. So just do that from the start then check p=2*q+1
* Remove use of Binary Extended Euclidean Algorithm for inversionJack Lloyd2020-03-011-1/+1
| | | | | Instead use two specialized algorithms, one for odd modulus and the other for power of 2 modulus, then combine the results using CRT.
* Missing variableJack Lloyd2020-02-101-0/+2
|
* Increase wait time when testing TLS cli utilsJack Lloyd2020-02-101-6/+9
| | | | Seems to be insufficient in high concurrency builds
* Add more tests for speed utilJack Lloyd2020-02-091-1/+62
|
* Add a testJack Lloyd2020-01-291-0/+14
|
* Silence pylint warningJack Lloyd2019-12-101-1/+1
|
* Multithread the CLI testsJack Lloyd2019-12-091-43/+81
|
* Merge GH #2200 Add S390x build to TravisJack Lloyd2019-11-161-4/+4
|\
| * Add S390x buildJack Lloyd2019-11-151-4/+4
| | | | | | | | | | | | Drop the MIPS build since main purpose of that is to test a big-endian build with no special support (SIMD, etc), but s390x is better for this, since it allows running the full test suite.
* | Fix cli ldflags outputJack Lloyd2019-11-151-2/+2
|/ | | | GH #2199 #2109
* cli: pubkey: fingerprint: read from stdinNuno Goncalves2019-11-111-0/+12
| | | | Signed-off-by: Nuno Goncalves <[email protected]>
* Merge GH #2172 Add support for XMSS X.509 certsJack Lloyd2019-10-251-5/+5
|\
| * Update XMSS CLI testsRené Korthaus2019-10-241-5/+5
| |
* | Reorganize Travis matrix. Add aarch64 and ppc64le buildsJack Lloyd2019-10-231-4/+4
|/
* Avoid redundant drbg seed options in cli test codeJack Lloyd2019-10-171-9/+1
|
* Merge GH #2143 Add RoughtimeJack Lloyd2019-10-161-0/+155
|\
| * Add roughtime CLINuno Goncalves2019-10-141-0/+155
| | | | | | | | Signed-off-by: Nuno Goncalves <[email protected]>
* | Fix cli testsJack Lloyd2019-10-121-8/+8
|/
* Add poly_dbl speed utilJack Lloyd2019-09-281-1/+1
|
* Add base32 encoding/decoding util to the cliJack Lloyd2019-09-231-0/+5
|
* Fix test to account for compression reportJack Lloyd2019-08-271-2/+6
|
* Add a cmdlet which allows sampling/testing raw entropy sourcesJack Lloyd2019-08-271-0/+24
|
* Add Private_Key::stateful_operation and use it in cli signerJack Lloyd2019-07-301-0/+35
|
* Don't block forever in cli tests if something goes wrongJack Lloyd2019-07-131-3/+13
| | | | Or at least, not on Python3 which actually supports timeouts
* Prevent exception from taking down entire test scriptJack Lloyd2019-06-081-1/+5
|
* Fix lintJack Lloyd2019-05-311-2/+2
|
* Connect twice to excercise both accept and non-accept pathsJack Lloyd2019-05-311-10/+18
|
* Add --max-clients option to tls_proxy and tls_http_serverJack Lloyd2019-05-311-4/+14
| | | | A clean exit is required in order to get coverage results
* Python...Jack Lloyd2019-05-301-2/+2
|
* Fixes for Python2Jack Lloyd2019-05-301-3/+23
|
* Improve CLI testsJack Lloyd2019-05-301-63/+201
|
* Argon2: minor optimizations, add tests of CLI, tweak tuningJack Lloyd2019-05-301-1/+12
|
* Improve test coverage. Fix Argon2 default paramsJack Lloyd2019-05-291-0/+8
|
* Add --format option for RNG cmdletJack Lloyd2019-05-091-0/+4
|
* Add a cmdlet to print UUIDsJack Lloyd2019-04-261-0/+13
|
* Add a wrapper class that wraps macOS or Linux certificate stores.Jack Lloyd2019-04-131-2/+17
|
* Allow creating intermediate CAs using CLIJack Lloyd2019-04-101-0/+28
| | | | Closes #1879
* Split CLI utils.cpp into more partsJack Lloyd2019-02-281-0/+8
| | | | | | Add base58 encoding/decoding CLI Use decrypt_or_random in pk_decrypt
* Move hash util to hash.cpp and add --format optionJack Lloyd2019-01-221-0/+9
| | | | | | | For example/documentation purposes, having distinct files makes the code easier to find. New --format option allows encoding as base64 or base58
* Test how long it takes to precompute base point multiplesJack Lloyd2018-12-161-1/+1
|
* Work around a problem when built with OpenSSLJack Lloyd2018-12-101-1/+1
| | | | | | | 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-2/+8
| | | | | | See http://www.secg.org/sec1-v2.pdf section 4.1.6 Closes #664
* Pylint fixesJack Lloyd2018-12-031-2/+1
|
* Add a const-time division algorithmJack Lloyd2018-12-021-1/+1
| | | | | | | | 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.
* Lint fix [ci skip]Jack Lloyd2018-10-301-4/+4
|
* Add test for TSS cli utilJack Lloyd2018-10-301-2/+47
|
* Fix CLI testsJack Lloyd2018-10-161-9/+13
| | | | Changing the sieve in 0536fe92 changed which primes we generate
* Add testsJack Lloyd2018-09-101-4/+25
| | | | This is a contribution of Ribose Inc (@riboseinc)
* Default disable support for TLS v1.0/v1.1 and all CBC and CCM suitesJack Lloyd2018-08-221-4/+14
|