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 for SSL key logging #1555

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

sudomgamal
Copy link

  • SSL keys are generated in the SSL/TLS handshake. they can be used to
    decrypt the packets for analysis by tools like wireshark.
  • add support for the SSLKEYLOGFILE environment variable
  • add support for a custom callback function to handle the keys.
  • the callback can be used to encrypt the SSL key logs for confidentiality.
  • apps can disable the SSLKEYLOGFILE env - for security reasons - by just
    setting the callback.

- SSL keys are generated in the SSL/TLS handshake. they can be used to
  decrypt the packets which is helpful when secure MQTT is used.
- add support for the SSLKEYLOGFILE environment variable
- add support for a custom callback function to handle the keys.
- the callback can be used to encrypt the SSL key logs for confidentiality.
- apps can disable the SSLKEYLOGFILE - for security reasons - by just
  setting the callback.

Signed-off-by: Mohammed Gamal <[email protected]>
@sudomgamal sudomgamal changed the base branch from master to develop January 4, 2025 20:36
@sudomgamal sudomgamal marked this pull request as ready for review January 4, 2025 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant