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

examples: configure KeyLogFile for all examples. #1423

Merged
merged 1 commit into from
Aug 29, 2023

Commits on Aug 28, 2023

  1. examples: configure KeyLogFile for all examples.

    The example programs distributed with Rustls are often used to
    demonstrate TLS features, or debug issues, that require being able to
    view plaintext data captured in a pcap (e.g. with Wireshark).
    
    To make this convenient this commit updates the examples (minus the MIO
    examples that already did so ) to configure Rustls with a `KeyLogFile`
    implementation of the `KeyLog` trait. Users can then specify the
    `SSLKEYLOGFILE` environment variable to log the required session secrets
    for use with their pcap tool of choice.
    cpu committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    48c8aaf View commit details
    Browse the repository at this point in the history