Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix dependencies | Jack Lloyd | 2017-11-29 | 4 | -31/+34 |
| | |||||
* | Add the build commands back to the main makefiles | Jack Lloyd | 2017-11-29 | 3 | -14/+28 |
| | | | | | | | | The header is processed early, but when doing an amalgamation we need to regenerate the makefile template. But we only do that for the main makefile not the include inputs. Should fix this but for now just just get it to work. | ||||
* | Add a script to handle `make clean` target | Jack Lloyd | 2017-11-29 | 6 | -111/+163 |
| | | | | | | | This removes a lot of logic that cannot be shared between the nmake (Windows environment) and gnumake (Unix env) makefiles. Also it cleans up inconsistencies, eg nmake's make distclean did not remove amalgamation files, but gnumake version did. | ||||
* | Remove unused command variables in makefiles | Jack Lloyd | 2017-11-29 | 3 | -17/+6 |
| | |||||
* | Allow overriding ar command | Jack Lloyd | 2017-11-29 | 17 | -77/+10 |
| | | | | | | | | Splits up the ar command and ar options to make this possible. Removes support for calling `ranlib` after `ar`: testing in #1317 confirms that all platforms we support no longer need it. See #1237. Also fixes #455 | ||||
* | Add flags to disable building/installing documentation | Jack Lloyd | 2017-11-29 | 1 | -12/+12 |
| | |||||
* | Split the language flags out of CXXFLAGS | Jack Lloyd | 2017-11-29 | 2 | -4/+5 |
| | | | | | Allows distributor to override CFLAGS without having to worry about what -std=c++xx options we are using. See GH #1237 | ||||
* | Merge GH #1316 Various TLS fixes | Jack Lloyd | 2017-11-28 | 7 | -25/+47 |
|\ | |||||
| * | Add an explicit catch for a server trying to negotiate SSLv3 | Jack Lloyd | 2017-11-28 | 1 | -1/+7 |
| | | | | | | | | | | | | | | This was already caught with the policy check later but it's better to be explicit. (And in theory an application might implement their policy version check to be "return true", which would lead to us actually attempting to negotiate SSLv3). | ||||
| * | Correct version selection logic in TLS server | Jack Lloyd | 2017-11-28 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | | | | | | Due to an oversight in the logic, previously a client attempt to negotiate SSLv3 would result in the server trying to negotiate TLS v1.2. Now instead they get a protocol_error alert. Similarly, detect the the (invalid) case of a major number <= 2, which does not coorespond to any real TLS version. The server would again reply as a TLS v1.2 server in that case, and now just closes the connection with an alert. | ||||
| * | Tighten up checks on signature key exchange message | Jack Lloyd | 2017-11-28 | 1 | -1/+1 |
| | | | | | | | | An empty extension is not allowed, but was previously accepted. | ||||
| * | Return correct alert type on malformed DH/ECDH messages. | Jack Lloyd | 2017-11-28 | 1 | -7/+11 |
| | | | | | | | | | | | | | | | | In the client key exchange if the message was malformed (eg an completely empty ECDH share) a Decoding_Error would be thrown, then caught and a fake pre master secret generated. Move the parsing of the message out of the try/catch block, so the correct error is reported. | ||||
| * | Increase HMAC key size limit to 4096 bytes. | Jack Lloyd | 2017-11-28 | 2 | -5/+7 |
| | | | | | | | | | | The previous limit of 512 bytes meant that TLS was unable to negotiate using FFDHE-6144 or FFDHE-8192 groups. | ||||
| * | Correct definition of FFDHE 4096 group | Jack Lloyd | 2017-11-28 | 1 | -11/+16 |
| | | | | | | | | Was a copy+paste of FFDHE 3072 | ||||
* | | Run TLS hello random fields through SHA-256 | Jack Lloyd | 2017-11-28 | 1 | -1/+7 |
|/ | | | | Avoids exposing RNG output on the wire. Cheap precaution. | ||||
* | Fix Doxygen | Jack Lloyd | 2017-11-26 | 1 | -1/+1 |
| | |||||
* | Merge GH #1302 Add PSK database interface | Jack Lloyd | 2017-11-26 | 10 | -1/+712 |
|\ | |||||
| * | PSK Database | Jack Lloyd | 2017-11-26 | 10 | -1/+712 |
| | | |||||
* | | Merge GH #1315 Add tls_http_server command line util | Jack Lloyd | 2017-11-26 | 1 | -0/+543 |
|\ \ | |||||
| * | | Add tls_http_server cmd util | Jack Lloyd | 2017-11-26 | 1 | -0/+543 |
| | | | | | | | | | | | | | | | It parses just enough of an HTTP message that it can be used to test against a browser, or tlsfuzzer. | ||||
* | | | Throw a Decoding_Error if TLS AEAD packet is shorter than the tag. | Jack Lloyd | 2017-11-26 | 1 | -0/+3 |
|/ / | | | | | | | | | Otherwise this ended up as an assertion failure which translated to internal_error alert. | ||||
* | | Fix errors caught with tlsfuzzer | Jack Lloyd | 2017-11-26 | 4 | -10/+6 |
| | | | | | | | | | | | | | | | | | | | | | | Don't send EC point format extension in server hello unless an EC suite was negotiated *and* the client sent the extension. Fix server FFDHE logic, this effectively disabled DHE ciphersuites for clients without FFDHE extension. Use unexpected_message alert in case of an unexpected message. (Previously an internal_error alert was sent.) | ||||
* | | Merge #1313 Fix Doxygen comment on HashFunction::create_or_throw | Jack Lloyd | 2017-11-25 | 1 | -1/+1 |
|\ \ | |||||
| * | | Minor documentation fix in HashFunction::create_or_throw. | Marcus Brinkmann | 2017-11-26 | 1 | -1/+1 |
| | | | |||||
* | | | Merge #1312 Fix documentation of compression/decompression update function. | Jack Lloyd | 2017-11-25 | 1 | -2/+2 |
|\ \ \ | |||||
| * | | | Fix documentation of compression/decompression update function. | Marcus Brinkmann | 2017-11-26 | 1 | -2/+2 |
| |/ / | |||||
* | | | Merge #1311 Add create and create_or_throw factories for ↵ | Jack Lloyd | 2017-11-25 | 3 | -0/+127 |
|\ \ \ | |_|/ |/| | | | | | Compression_Algorithm and Decompression_Algorithm. | ||||
| * | | Documentation fix in compression create/create_or_throw functions. | Marcus Brinkmann | 2017-11-26 | 1 | -6/+4 |
| | | | |||||
| * | | Add create and create_or_throw factories for Compression_Algorithm and ↵ | Marcus Brinkmann | 2017-11-25 | 3 | -0/+129 |
| |/ | | | | | | | Decompression_Algorithm. | ||||
* | | Fix bzip2 compression issue. | Jack Lloyd | 2017-11-25 | 3 | -24/+48 |
| | | | | | | | | | | | | When finishing, bzip2 returns BZ_STREAM_END when it has produced all output. If we end up calling the compression routine again (even with avail_in == 0), bzip2 returns an error. | ||||
* | | Add test case for bzip2 compression filter. | Marcus Brinkmann | 2017-11-25 | 1 | -0/+36 |
|/ | |||||
* | Add Pipe::append_filter | Jack Lloyd | 2017-11-24 | 3 | -13/+36 |
| | | | | | Similar to append but it only allows modfication before start_msg. See GH #1306 | ||||
* | Merge GH #1304 Avoid infinite recursion on nested indefinite length constructs | Jack Lloyd | 2017-11-21 | 2 | -17/+69 |
|\ | |||||
| * | Avoid uncontrolled recusion on indefinite length encodings | Jack Lloyd | 2017-11-20 | 2 | -17/+69 |
| | | | | | | | | | | A sufficiently nested indefinite length construction would cause stack exhaustion and a crash. Found by OSS-Fuzz - issue 4353 | ||||
* | | Allow building asn1print even if PEM is disabled | Jack Lloyd | 2017-11-21 | 2 | -2/+12 |
|/ | | | | Just throws if --pem arg is used. | ||||
* | Add AES key wrap with padding | Jack Lloyd | 2017-11-19 | 10 | -75/+1005 |
| | |||||
* | Avoid OCSPing on the Let's Encrypt CA cert | Jack Lloyd | 2017-11-19 | 1 | -6/+2 |
| | | | | | | Their issuing CA seems to have some performance problems with OCSP (https://github.com/letsencrypt/boulder/issues/1929) and it's currently causing timeouts in the tests. | ||||
* | Constify variables in AES-NI code | Jack Lloyd | 2017-11-18 | 1 | -104/+104 |
| | |||||
* | Add a function for checking if poly_double_n supports a particular size | Jack Lloyd | 2017-11-18 | 3 | -6/+10 |
| | |||||
* | Allow parsing and printing certificates with unknown public key algos | Jack Lloyd | 2017-11-18 | 2 | -6/+31 |
| | |||||
* | Add timings for RFC 3394 keywrap | Jack Lloyd | 2017-11-18 | 1 | -0/+40 |
| | |||||
* | Add feature macro for Sqlite3 being enabled in build | Jack Lloyd | 2017-11-18 | 1 | -0/+3 |
| | |||||
* | Prefix execution of install.py with Python binary | Jack Lloyd | 2017-11-16 | 3 | -2/+4 |
| | | | | | | | Fixes GH #1297 This is done even on GNU make builds, since the same issue affects MinGW | ||||
* | Fix encoding of subject key identifier | Jack Lloyd | 2017-11-16 | 5 | -23/+27 |
| | | | | | | Changed in #884 - we were copying the entire public key as the public key id. Instead hash it with whatever hash we are using to sign the certificate. | ||||
* | Optimize Twofish | Jack Lloyd | 2017-11-16 | 2 | -94/+158 |
| | | | | | Interleaving two blocks is 40-50% faster for any mode that supports parallel operation. | ||||
* | Fix path to cert test data | Jack Lloyd | 2017-11-16 | 1 | -1/+1 |
| | |||||
* | Merge GH #1296 Allow using secure_allocator with std::string under VC2013 | Jack Lloyd | 2017-11-16 | 1 | -5/+21 |
|\ | |||||
| * | Fix secure_allocator with std::string on VS2013 | Daniel Neus | 2017-11-16 | 1 | -5/+21 |
| | | | | | | | | Closes #1295 | ||||
* | | Fix Python tests | Jack Lloyd | 2017-11-16 | 1 | -1/+1 |
| | | |||||
* | | Move all the various X509 test data files under src/tests/data/x509 | Jack Lloyd | 2017-11-16 | 659 | -41/+41 |
|/ |