Author jmfrank63
Recipients christian.heimes, jmfrank63
Date 2018-07-29.12:38:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1532867889.16.0.56676864532.issue34271@psf.upfronthosting.co.za>
In-reply-to
Content
As discussed on the EuroPython 2018 it would be a great improvement if the python SSL module would respect the SSLKEYLOGFILE environment variable to log the master secret and the client random for packet trace decryption.

The pycurl module compiled against libopenssl 1.1.0h does already work.

OpenSSL 1.1.1 will offer to register a callback that will log the keys.

There is also c code available using LD_PRELOAD here:

https://git.lekensteyn.nl/peter/wireshark-notes/tree/src/sslkeylog.c

It would be great if a call to the requests, aiohttp, urllib3 or asks library would lead to the keys logged if the environment variable is set from within python.

Thank you
History
Date User Action Args
2018-07-29 12:38:09jmfrank63setrecipients: + jmfrank63, christian.heimes
2018-07-29 12:38:09jmfrank63setmessageid: <1532867889.16.0.56676864532.issue34271@psf.upfronthosting.co.za>
2018-07-29 12:38:09jmfrank63linkissue34271 messages
2018-07-29 12:38:08jmfrank63create