luaossl icon indicating copy to clipboard operation
luaossl copied to clipboard

Bind keylog_callback functionality

Open daurnimator opened this issue 7 years ago • 2 comments

  • SSL_CTX_set_keylog_callback

https://github.com/daurnimator/lua-http/issues/57#issuecomment-412746488

daurnimator avatar Aug 14 '18 03:08 daurnimator

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

pspacek avatar Oct 21 '19 12:10 pspacek

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()

daurnimator avatar Oct 26 '19 01:10 daurnimator