Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge GH #653 OCSP and X.509 path validation refactor | Jack Lloyd | 2016-11-25 | 50 | -626/+1887 |
|\ | | | | | | | | | | | Splits up path validation into several sub-functions for easier testing and creating customized validation code. Much improved OCSP handling and OCSP tests. | ||||
| * | Account for new string in test data | Jack Lloyd | 2016-11-25 | 1 | -2/+2 |
| | | |||||
| * | Fix TLS tests wrt validation changes | Jack Lloyd | 2016-11-25 | 2 | -14/+27 |
| | | | | | | | | Create empty CRLs so that revocation information is available. | ||||
| * | Add missing Doxygen param [ci skip] | Jack Lloyd | 2016-11-25 | 1 | -0/+2 |
| | | |||||
| * | Add a test for to_string(Certificate_Status_Code) | Jack Lloyd | 2016-11-25 | 2 | -5/+69 |
| | | |||||
| * | Add minimum_signature_strenght to Text_Policy | Jack Lloyd | 2016-11-25 | 2 | -3/+9 |
| | | | | | | | | Also (unrelated) enable CECPQ1 in Strict_Policy | ||||
| * | Add TLS::Policy::minimum_signature_strength | Jack Lloyd | 2016-11-25 | 7 | -7/+28 |
| | | | | | | | | | | | | Changes TLS callback API for cert verify to accept Policy& Sets default signature strength to 110 to force RSA ~2048. | ||||
| * | Address review comments from @cordney | Jack Lloyd | 2016-11-25 | 7 | -116/+252 |
| | | | | | | | | | | | | | | | | | | | | | | | | Primarily doc updates but also expose some more logic in PKIX namespace, overall_status and merge_revocation_status. This allows calling more or less all of the logic used by the monolitic x509_path_validate in any way needed by an application. Add Certificate_Store_In_Memory::add_crl variant taking shared_ptr Add optional Certificate_Store_In_Memory* pointer to check_crl_online, valid CRLs are saved there. | ||||
| * | Fix popping empty container if no revocation data available | Jack Lloyd | 2016-11-23 | 1 | -2/+2 |
| | | |||||
| * | Add macro signalling support for online revocation checks. | Jack Lloyd | 2016-11-23 | 3 | -3/+11 |
| | | |||||
| * | Windows fix | Jack Lloyd | 2016-11-23 | 1 | -1/+1 |
| | | |||||
| * | Better OCSP tests including online tests | Jack Lloyd | 2016-11-23 | 12 | -11/+218 |
| | | | | | | | | Tests touching network are gated by --run-online-tests flag. | ||||
| * | MSVC doesnt support #warning | Jack Lloyd | 2016-11-23 | 1 | -1/+1 |
| | | |||||
| * | Add some simple OCSP tests | Jack Lloyd | 2016-11-23 | 7 | -0/+168 |
| | | | | | | | | | | | | Nothing much but better than nothing. Also add a useful arg check to OCSP::Request constructor. | ||||
| * | Consult the response for matching certs also, fixes Symantec OCSP | Jack Lloyd | 2016-11-23 | 1 | -2/+20 |
| | | |||||
| * | Report OCSP status in tls_client | Jack Lloyd | 2016-11-23 | 1 | -0/+7 |
| | | |||||
| * | Add the documented function for OCSP timeouts | Jack Lloyd | 2016-11-23 | 2 | -3/+10 |
| | | |||||
| * | Move TLS cert verification callback from Credentials_Manager to TLS::Callbacks | Jack Lloyd | 2016-11-23 | 12 | -138/+173 |
| | | | | | | | | | | | | 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 useful debugging output to path validation test | Jack Lloyd | 2016-11-23 | 1 | -1/+1 |
| | | |||||
| * | Refactor X.509 path validation | Jack Lloyd | 2016-11-23 | 8 | -359/+748 |
| | | | | | | | | | | | | | | | | | | Splits path building, path validation, CRL checks, and OCSP checks into distinct functions in namespace PKIX. The previous path validation APIs remain. Fixes to OCSP to store more information and to handle modern OCSP setups in at least some situations. | ||||
| * | Add find_cert_by_pubkey_sha1 to Certificate_Store_In_Memory | Jack Lloyd | 2016-11-23 | 4 | -55/+64 |
| | | |||||
| * | Add X509_Certificate helper functions for OCSP | Jack Lloyd | 2016-11-23 | 2 | -4/+43 |
| | | | | | | | | | | Using the SHA-1 of the public key to identify the signing cert is hardcoded in OCSP and unlikely to change. | ||||
| * | Explicitly number all Certificate_Status_Code enum values | Jack Lloyd | 2016-11-23 | 2 | -25/+146 |
| | | | | | | | | Add a to_string function for this type. | ||||
| * | Somewhat better errors in HTTP | Jack Lloyd | 2016-11-23 | 1 | -5/+9 |
| | | |||||
| * | Add final_stdvec | Jack Lloyd | 2016-11-23 | 1 | -0/+7 |
| | | | | | | | | Horrible name, useful function | ||||
* | | Correct XMSS crash when a hash was disabled | Jack Lloyd | 2016-11-25 | 4 | -12/+20 |
| | | | | | | | | Require SHA-256 in XMSS since that is mandatory for the index registry. | ||||
* | | Update relnotes | Jack Lloyd | 2016-11-25 | 1 | -3/+14 |
| | | | | | | | | [ci skip] | ||||
* | | Easy test | Jack Lloyd | 2016-11-25 | 1 | -0/+1 |
| | | |||||
* | | Make XMSS more friendly about invalid params. | Jack Lloyd | 2016-11-25 | 7 | -35/+70 |
| | | | | | | | | | | | | Previously just throw an exception from map.at Add an XMSS keygen test, and add default params for create_private_key | ||||
* | | Add a couple more workfactor tests | Jack Lloyd | 2016-11-25 | 1 | -0/+6 |
| | | | | | | | | [ci skip] | ||||
* | | Add a test of TLS::Alert::type_string | Jack Lloyd | 2016-11-25 | 1 | -5/+61 |
| | | |||||
* | | Simplify TLS::Ciphersuite::cbc_ciphersuite | Jack Lloyd | 2016-11-25 | 1 | -3/+1 |
| | | | | | | | | With RC4 removed, anything that is not AEAD is CBC | ||||
* | | Simplify TLS::Handshake_Hash::update | Jack Lloyd | 2016-11-25 | 1 | -9/+5 |
| | | | | | | | | The lambda here wasn't really required. | ||||
* | | Merge GH #737 Remove dead stores in SSE2 ChaCha code | Jack Lloyd | 2016-11-25 | 1 | -6/+3 |
|\ \ | |||||
| * | | Fix dead stores in chacha_sse2_x4 | Never | 2016-11-25 | 1 | -6/+3 |
| | | | |||||
* | | | Avoid unneeded code - previous conditionals handle these cases | Jack Lloyd | 2016-11-25 | 1 | -8/+0 |
| | | | |||||
* | | | Merge GH #736 Add SHAKE support to XMSS | Jack Lloyd | 2016-11-25 | 7 | -102/+222 |
|\ \ \ | |||||
| * | | | Adds SHAKE support for XMSS | Matthias Gierlings | 2016-11-25 | 7 | -102/+222 |
| |/ / | | | | | | | | | | | | | | | | | | | - Enables code for shake support - Creating SHAKE hash function by name now allows to select output size of 256 Bit for SHAKE128 and 512 Bit for SHAKE256. - Adds *self-generated*, unverified test vectors for XMSS/SHAKE. | ||||
* / / | Avoid having source files start with /** | Jack Lloyd | 2016-11-25 | 45 | -46/+46 |
|/ / | | | | | | | | | | | | | This caused Doxygen to dump the copyright notices for those files into the Botan namespace description, which is not helpful. [ci skip] | ||||
* | | Fuzzer cleanup, no need for setup script anymore | Jack Lloyd | 2016-11-22 | 6 | -54/+57 |
| | | | | | | | | | | | | Makefile does all the things [ci skip] | ||||
* | | Add missing macro check in test | Jack Lloyd | 2016-11-22 | 1 | -0/+2 |
| | | |||||
* | | Fix memory leak in HKDF | Jack Lloyd | 2016-11-22 | 1 | -1/+1 |
| | | |||||
* | | Move Sonar config to build-data | Jack Lloyd | 2016-11-22 | 2 | -0/+2 |
| | | | | | | | | | | No actual reason for it to be in the root dir, only Sonar needs it, so just copy it to the root dir before starting. | ||||
* | | Add tests for PK work factor functions | Jack Lloyd | 2016-11-22 | 2 | -0/+82 |
| | | | | | | | | Expected results are just what it generated on my machine. | ||||
* | | Merge GH #734 Export work factor functions | Jack Lloyd | 2016-11-22 | 1 | -4/+4 |
|\ \ | |/ |/| | |||||
| * | Export work factor functions | René Korthaus | 2016-11-22 | 1 | -4/+4 |
|/ | | | | | | | Now that users can implement custom PK ops via Private_Key and Public_Key outside the library, it makes very much sense to provide the work factor functions to them. | ||||
* | Add policy file for TLS client testing | Jack Lloyd | 2016-11-21 | 1 | -0/+19 |
| | | | | [ci skip] | ||||
* | Add warning to OID script output | Jack Lloyd | 2016-11-21 | 2 | -1/+10 |
| | | | | [ci skip] | ||||
* | Add timeouts to TLS scanner [ci skip] | Jack Lloyd | 2016-11-21 | 2 | -4/+17 |
| | |||||
* | Fix doc of get_processor_timestamp [ci skip] | Jack Lloyd | 2016-11-21 | 1 | -4/+10 |
| |