Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to SSL_CTX_set_keylog_callback() #536

Merged
merged 1 commit into from
Sep 20, 2022

Commits on Sep 20, 2022

  1. Add support to SSL_CTX_set_keylog_callback

    - This callback is invoked when TLS key material is generated or
      received, in order to allow applications to store this keying material
      for debugging purposes.
    - It is invoked with an `SSLSocket` and a string containing the key
      material in the format used by NSS for its SSLKEYLOGFILE debugging
      output.
    - This commit adds the Ruby binding `keylog_cb` and the related tests
    - It is only compatible with OpenSSL >= 1.1.1. Even if LibreSSL implements
      `SSL_CTX_set_keylog_callback()` from v3.4.2, it does nothing (see
      libressl/openbsd@648d39f)
    cdelafuente-r7 authored and rhenium committed Sep 20, 2022
    Configuration menu
    Copy the full SHA
    3b63232 View commit details
    Browse the repository at this point in the history