Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Introduce TLS::Callbacks::tls_current_timestamp() | René Meusel | 2022-05-18 | 11 | -34/+44 |
| | |||||
* | review comments | René Meusel | 2022-04-05 | 3 | -2/+3 |
| | |||||
* | include what you use | René Meusel | 2022-04-05 | 4 | -1/+4 |
| | |||||
* | Remove redundant TLS_Policy::use_extended_master_secret() | René Meusel | 2022-04-05 | 3 | -28/+0 |
| | | | | | For TLS 1.2 EMS is always enabled and TLS 1.3 won't need this extension anyway. | ||||
* | prepare TLS 1.2 for addition of TLS 1.3 | Hannes Rantzsch | 2022-04-04 | 58 | -2722/+4168 |
| | | | | | | | | Co-authored-by: René Meusel <[email protected]> Co-authored-by: Marek Kocik <[email protected]> Co-authored-by: Grzegorz Dulewicz <[email protected]> Co-authored-by: Pawel Bazelewski <[email protected]> Co-authored-by: Pawel Jarosz <[email protected]> | ||||
* | Merge pull request #2947 from neXenio/tls13/transitions | René Meusel | 2022-04-04 | 5 | -138/+249 |
|\ | | | | | [TLS 1.3] Extract Handshake_Transitions from Handshake_State | ||||
| * | Extract helper for handshake message transitions | René Meusel | 2022-04-04 | 5 | -138/+249 |
| | | | | | | | | | | | | | | The extracted class `Handshake_Transitions` will be used independently from the TLS 1.2 `Handshake_State` in the upcoming TLS 1.3 code base. Co-Authored-By: Hannes Rantzsch <[email protected]> | ||||
* | | Additional convenience methods for TLS_Data_Reader | René Meusel | 2022-04-04 | 1 | -2/+25 |
|/ | | | | Co-Authored-By: Hannes Rantzsch <[email protected]> | ||||
* | More clang-tidy fixes | Jack Lloyd | 2022-02-10 | 1 | -3/+2 |
| | |||||
* | Use C++17's concat namespace feature | Jack Lloyd | 2022-02-06 | 30 | -149/+30 |
| | |||||
* | Constify these variables | Jack Lloyd | 2022-02-06 | 1 | -3/+3 |
| | |||||
* | Some fixes for modernize-loop-convert | Jack Lloyd | 2022-02-06 | 6 | -28/+36 |
| | |||||
* | Fix clang-tidy readability-named-parameter | Jack Lloyd | 2022-02-06 | 5 | -25/+25 |
| | |||||
* | Fix clang-tidy readability-container-size-empty warnings | Jack Lloyd | 2022-02-06 | 13 | -25/+25 |
| | |||||
* | Fix clang-tidy performance warnings | Jack Lloyd | 2022-02-06 | 9 | -14/+15 |
| | |||||
* | Text_Policy ignores 25519 if unsupported by build | Hannes Rantzsch | 2022-02-01 | 1 | -0/+5 |
| | | | | Co-authored-by: René Meusel <[email protected]> | ||||
* | Check the TLS record type immediately on decoding | Jack Lloyd | 2021-12-11 | 1 | -6/+26 |
| | | | | | | | We would have rejected this later on anyway but there is no reason not to immediately close. GH #2754 | ||||
* | FIX: review comment | René Meusel | 2021-11-15 | 1 | -1/+1 |
| | | | | Co-Authored-By: Hannes Rantzsch <[email protected]> | ||||
* | detect unknown ciphers when parsing TLS session | René Meusel | 2021-10-29 | 1 | -1/+9 |
| | |||||
* | remove default c'tor from TLS::Ciphersuite | René Meusel | 2021-10-28 | 3 | -22/+22 |
| | |||||
* | Ciphersuite::by_id() ::from_name() return a std::optional | René Meusel | 2021-10-28 | 8 | -20/+41 |
| | |||||
* | Make get_byte take a compile-time constant index | Jack Lloyd | 2021-04-16 | 11 | -55/+55 |
| | | | | Add get_byte_var for the few cases that need a variable index | ||||
* | Merge GH #2709 Avoid using deprecated PBKDF interface within the library | Jack Lloyd | 2021-04-08 | 1 | -16/+24 |
|\ | |||||
| * | Avoid now-deprecated PBKDF interface within the library | Jack Lloyd | 2021-04-08 | 1 | -16/+24 |
| | | |||||
* | | Avoid raw pointers in TLS | Jack Lloyd | 2021-04-08 | 10 | -37/+39 |
|/ | |||||
* | Avoid raw pointers in Cipher_Mode | Jack Lloyd | 2021-04-07 | 1 | -2/+3 |
| | |||||
* | KDF::create | Jack Lloyd | 2021-04-05 | 5 | -7/+7 |
| | |||||
* | Merge GH #2697 More removal of raw pointers | Jack Lloyd | 2021-04-05 | 3 | -7/+7 |
|\ | |||||
| * | More raw pointer removal | Jack Lloyd | 2021-04-05 | 3 | -7/+7 |
| | | |||||
* | | Remove obsolete comment | Jack Lloyd | 2021-04-05 | 1 | -13/+0 |
|/ | | | | No TLS 1.0 anymore | ||||
* | Post rebase fixes | Jack Lloyd | 2021-04-01 | 8 | -20/+6 |
| | |||||
* | Remove SCSV | Jack Lloyd | 2021-04-01 | 4 | -25/+0 |
| | |||||
* | Remove TLS 1.0/1.1 and DTLS 1.0 | Jack Lloyd | 2021-04-01 | 23 | -349/+63 |
| | |||||
* | Merge GH #2667 Make TLS::Stream compatible with Boost.Asio extensible model | Jack Lloyd | 2021-03-31 | 2 | -103/+126 |
|\ | |||||
| * | TLS::Stream Asio extensible model compatibility | Hannes Rantzsch | 2021-03-30 | 1 | -71/+81 |
| | | | | | | | | | | Async functions can now handle generic completion tokens rather than callback functions only. Fixes #2648 | ||||
| * | fix: forward executor through async_shutdown wrapper | Hannes Rantzsch | 2021-03-29 | 1 | -19/+27 |
| | | |||||
| * | add virtual destructors for asio error types | Hannes Rantzsch | 2021-03-29 | 1 | -13/+18 |
| | | |||||
* | | Add HTTP detection logic and update the Bogo shim | Jack Lloyd | 2021-03-29 | 1 | -0/+18 |
| | | |||||
* | | Try to reject non-TLS messages very early | Jack Lloyd | 2021-03-29 | 1 | -0/+10 |
|/ | | | | | | Otherwise sending a non-TLS message (eg sending HTTP to an HTTPS port) can easily lead to hangs as we wait for more of a client hello that is not coming. | ||||
* | fix: TLS::Stream broke on being std::move'd | Hannes Rantzsch | 2021-03-12 | 1 | -31/+25 |
| | | | | | | | | Fixes #2635 * Add a regression test * Avoid breaking Stream reference within StreamCore by inverting dependencies | ||||
* | Remove old scalar typedefs when we are building the library | Jack Lloyd | 2021-03-07 | 1 | -1/+1 |
| | | | | Update a few residual uses of byte typedef to uint8_t | ||||
* | Cleanup to avoid unnecessary conditionals | Jack Lloyd | 2021-02-15 | 1 | -6/+1 |
| | |||||
* | Hash the entire client hello (except the cookie) for hello verify | Jack Lloyd | 2021-02-15 | 3 | -16/+23 |
| | | | | | This makes it simpler to statelessly verify a DTLS cookie without having to fully parse the initial client hello. (GH #2320) | ||||
* | Correct ALPN callback documentation | Jack Lloyd | 2021-02-13 | 1 | -5/+13 |
| | |||||
* | Remove support for SHA-1 signatures in TLS 1.2 | Jack Lloyd | 2021-02-13 | 5 | -39/+13 |
| | |||||
* | Don't use shouting case for ASN1_{Type,Class} values | Jack Lloyd | 2021-01-13 | 1 | -11/+11 |
| | | | | | Leftover from it being an old style enum, and now that we have split them there is not any further compatability concern. | ||||
* | Split ASN1 tags enum class into 2 enum classes | sledgehammer_999 | 2021-01-11 | 1 | -11/+11 |
| | | | | This should improve type safety even more. | ||||
* | Convert ASN1_Tag to an enum class | Jack Lloyd | 2020-12-20 | 1 | -13/+13 |
| | |||||
* | Enable BoringSSL SSLv3 tests | Jack Lloyd | 2020-12-09 | 1 | -1/+1 |
| | | | | | | Previously these tested SSLv3 functionality but now BoringSSL has also removed SSLv3 so the remaining test is just to confirm that SSLv3 can't be negotiated. | ||||
* | Update the BoringSSL runner and update the shim | Jack Lloyd | 2020-12-05 | 8 | -4/+48 |
| | | | | | | | Notable changes are checking if a message is sent past a flight boundary, and some new policy logic to distinguish between signature algorithms that we will accept and signature algorithms which we are willing to use ourselves. |