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

Bind keylog_callback functionality #150

Open
daurnimator opened this issue Aug 14, 2018 · 2 comments
Open

Bind keylog_callback functionality #150

daurnimator opened this issue Aug 14, 2018 · 2 comments

Comments

@daurnimator
Copy link
Collaborator

  • SSL_CTX_set_keylog_callback

daurnimator/lua-http#57 (comment)

@pspacek
Copy link
Contributor

pspacek commented Oct 21, 2019

Hint for people looking for quick hack: See https://git.lekensteyn.nl/peter/wireshark-notes/tree/src/sslkeylog.c , it actually works.

@daurnimator
Copy link
Collaborator Author

Hint for people looking for quick hack: See https://git.lekensteyn.nl/peter/wireshark-notes/tree/src/sslkeylog.c , it actually works.

95% of that file is the compat routines for old openssl (<1.1.0). You can actually do most of those today with luaossl: its just writing to a file with the result of e.g. ssl:getMasterKey()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants