Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid unnecessary copies during TLS handshake | Jack Lloyd | 2019-05-24 | 3 | -24/+28 |
| | |||||
* | Merge GH #1971 Add error_type for database error | Jack Lloyd | 2019-05-24 | 5 | -62/+81 |
|\ | |||||
| * | Add a DatabaseError type, set the sqlite return code in exception | Jack Lloyd | 2019-05-23 | 5 | -62/+81 |
| | | |||||
* | | Ignore large DTLS ciphertexts | Jack Lloyd | 2019-05-23 | 1 | -2/+6 |
| | | |||||
* | | Fix bugs when DTLS initial handshake messages are replayed | Jack Lloyd | 2019-05-23 | 3 | -0/+13 |
| | | |||||
* | | Fix some issues with DTLS version intolerance | Jack Lloyd | 2019-05-23 | 3 | -7/+21 |
| | | |||||
* | | Verify contents of DTLS CCS message | Jack Lloyd | 2019-05-23 | 1 | -0/+3 |
|/ | |||||
* | Merge GH #1968 Document TLS::Stream | Jack Lloyd | 2019-05-23 | 1 | -1/+1 |
|\ | |||||
| * | fix Stream::async_handshake documentation | Hannes Rantzsch | 2019-05-23 | 1 | -1/+1 |
| | | |||||
* | | Clean up extension decoding | Jack Lloyd | 2019-05-22 | 2 | -27/+11 |
| | | | | | | | | TLS_Reader handles the offset checks for us | ||||
* | | Shorten callback name | Jack Lloyd | 2019-05-22 | 2 | -3/+3 |
| | | |||||
* | | Add BoGo tests and fix resumption case | Jack Lloyd | 2019-05-22 | 2 | -5/+8 |
| | | |||||
* | | Formatting and post-rebase fixes | Jack Lloyd | 2019-05-22 | 4 | -34/+40 |
| | | |||||
* | | added status_request extension and cert chain to the stapling-reponse ↵ | Falko Strenzke | 2019-05-22 | 4 | -14/+56 |
| | | | | | | | | generating callback's signature | ||||
* | | implemented ocsp stapling (code not yet formatted properly) | Falko Strenzke | 2019-05-22 | 4 | -2/+36 |
| | | |||||
* | | Fix more BoGo tests | Jack Lloyd | 2019-05-22 | 1 | -0/+3 |
|/ | | | | | Now all tests either pass or are known to fail for some reason. Disable -allow-unimplemented | ||||
* | Merge GH #1962 Add getauxval replacement for older Android | Jack Lloyd | 2019-05-22 | 1 | -3/+26 |
|\ | |||||
| * | tweak | David Carlier | 2019-05-22 | 1 | -2/+5 |
| | | |||||
| * | Providing little getauxval implementation for Android<18 | David Carlier | 2019-05-21 | 1 | -3/+23 |
| | | | | | | | | tested with armv7 and ndk 16. | ||||
* | | Merge GH #1964 Add configure helpers for Boost, enable Boost on AppVeyor | Jack Lloyd | 2019-05-22 | 1 | -2/+1 |
|\ \ | |||||
| * | | add --boost-library-name configure option | René Meusel | 2019-05-22 | 1 | -2/+1 |
| |/ | |||||
* | | Fix DTLS MTU splitting | Jack Lloyd | 2019-05-21 | 1 | -19/+5 |
| | | | | | | | | We could/would send packets somewhat larger than MTU | ||||
* | | Fix TLS CBC in DTLS when a bad packet is received. | Jack Lloyd | 2019-05-21 | 3 | -11/+25 |
|/ | | | | | | 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 #1954 Add BoGo test shim | Jack Lloyd | 2019-05-20 | 27 | -187/+469 |
|\ | |||||
| * | Fix various issues in TLS found using BoGo | Jack Lloyd | 2019-05-20 | 27 | -187/+469 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - BoGo sends unparseable OCSP responses, so we have to accomodate for this by delaying decoding until verification and simply ignoring OCSP responses that we can't parse. - Check that there is no trailing garbage at the end of various messages. - Don't send empty SNI - Check the TLS record header versions (previously ignored) - For CBC 1/n-1 splitting split every record instead of just first. I think this is not a problem but it is what BoGo expects. - New Channel::application_protocol virtual (previously was implemented on both Client and Server but not shared). - Changes to resumption version handling. - Fix server version selection when newer versions are disabled. New policy hooks added in service of BoGo: - maximum_certificate_chain_size gives the maximum cert chain in bytes that we'll accept. - allow_resumption_for_renegotiation specifies if a renegotiation attempt can be simply (re-)resumed instead. - abort_handshake_on_undesired_renegotiation - previously we just ignored it with a warning alert. Now behavior is configurable. - request_client_certificate_authentication - require_client_certificate_authentication | ||||
* | | Don't artificially limit very small RSA keys. | Jack Lloyd | 2019-05-20 | 1 | -1/+6 |
|/ | | | | | | | | | Keys smaller than 384 bits are trivially breakable, but that's true for 512 as well so no reason to draw the line there. Just do 5 bits since the smallest legal RSA key is 3*5 and that handles the integer overflow warning from Coverity which was the original reason for it. GH #1953 | ||||
* | OpenBSD MAP_CONCEAL new flag support | David Carlier | 2019-05-15 | 1 | -0/+4 |
| | |||||
* | add some comments | Tim Oesterreich | 2019-05-14 | 1 | -0/+4 |
| | |||||
* | Apply suggestions from code review | Tim Oesterreich | 2019-05-14 | 1 | -3/+3 |
| | | | Co-Authored-By: René Meusel <[email protected]> | ||||
* | restructure a bit to avoid code duplications and make find_cert more ↵ | Tim Oesterreich | 2019-05-14 | 2 | -88/+93 |
| | | | | efficient, fix CI | ||||
* | search certificates by key_id first, if possible | Tim Oesterreich | 2019-05-14 | 1 | -9/+20 |
| | |||||
* | address some review comments | Tim Oesterreich | 2019-05-14 | 2 | -11/+10 |
| | |||||
* | fix docu, dont throw in find_crl_for | Tim Oesterreich | 2019-05-14 | 2 | -3/+4 |
| | |||||
* | deduplicate certificates in find_all_certs | Tim Oesterreich | 2019-05-14 | 2 | -213/+221 |
| | |||||
* | search certificates by full subject_dn instead of common name only | Tim Oesterreich | 2019-05-14 | 1 | -46/+51 |
| | |||||
* | wrap windows handles into RAII | Tim Oesterreich | 2019-05-14 | 1 | -84/+121 |
| | |||||
* | fix find_cert_by_pubkey_sha1 | Tim Oesterreich | 2019-05-14 | 2 | -87/+67 |
| | |||||
* | add find_cert by key_id functionality | Tim Oesterreich | 2019-05-14 | 1 | -27/+84 |
| | |||||
* | add all_subjects() functionality | Tim Oesterreich | 2019-05-14 | 1 | -16/+20 |
| | |||||
* | add windows certstore find_cert and find_cert_by_pubkey_sha1 functionality | Patrik Fiedler | 2019-05-14 | 4 | -0/+233 |
| | | | | Signed-off-by: Patrik Fiedler <[email protected]> | ||||
* | Increase ASN1_Time maximum allowed year to 3100 | Jack Lloyd | 2019-05-13 | 1 | -1/+2 |
| | | | | See #1931 | ||||
* | Fix decoding of RSA-OAEP certs | Jack Lloyd | 2019-05-09 | 1 | -5/+1 |
| | | | | GH #1943 | ||||
* | Merge GH #1938 Fix X509_DN comparisons | Jack Lloyd | 2019-05-09 | 5 | -13/+62 |
|\ | |||||
| * | Fix X509_DN comparison | Jack Lloyd | 2019-05-08 | 5 | -13/+62 |
| | | | | | | | | | | | | An issue in #1936 indicated that X509_DN operator< was not behaving correctly. Indeed, DNs could compare in such a way that DN1 < DN2 && DN2 < DN1. STL containers do not like this. | ||||
* | | Fix some warnings with Clang 8 | Jack Lloyd | 2019-05-08 | 8 | -29/+19 |
|/ | | | | | | Notably several from the new -Wdefaulted-function-deleted Also remove some compat macro checks for MSVC 2013 | ||||
* | Merge GH #1940 Fix Boost lib linking on Windows | Jack Lloyd | 2019-05-08 | 1 | -1/+2 |
|\ | |||||
| * | append .lib suffix for boost on windows | Tim Oesterreich | 2019-05-07 | 1 | -1/+2 |
| | | |||||
* | | functionality to support multiple OUs, missing unit tests on more_dns | ndotb | 2019-05-07 | 2 | -0/+12 |
|/ | |||||
* | use map of vectors instead of multimap in flatfile certstor | Tim Oesterreich | 2019-05-07 | 2 | -14/+13 |
| | |||||
* | Merge GH #1929 Use raw strings for inline asm statements | Jack Lloyd | 2019-05-04 | 2 | -72/+64 |
|\ |