Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2853

Support TLSv1.3 with LibreSSL

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: libmongoc, tls
    • Labels:
      None

      When LibreSSL supports TLSv1.3 (https://github.com/libressl-portable/portable/issues/228 we'll need to fix TLS reads for LibreSSL the same way we did for OpenSSL 1.1.1 (CDRIVER-2846). I think we have to add a should_retry boolean field to mongoc_stream_tls_libressl_t. The field is set to false before a handshake, read, or write. The field is set to true after an operation that returns TLS_WANT_POLLIN or TLS_WANT_POLLOUT. _mongoc_stream_tls_libressl_should_retry returns true if the field is set or if mongoc_stream_should_retry (tls->base_stream).

            Assignee:
            Unassigned Unassigned
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: