librdkafka icon indicating copy to clipboard operation
librdkafka copied to clipboard

Support for logging TLS session keys using SSLKEYLOGFILE environment variable

Open piotrsmolinski opened this issue 6 years ago • 3 comments

SSLKEYLOGFILE environment variable is standard way of declaring the file to write the TLS session keys. This mechanism is used by major web browsers as well as by cURL and other projects. The session key logging is a powerful mechanism to debug network services in such tools as Wireshark.

In Java the same solution is achieved using jSslKeyLog agent (https://svn.code.sf.net/p/jsslkeylog/code). The patch provides the feature to be available in librdkafka based Kafka applications.

The code in the PR was written similar way as the same feature in cURL.

piotrsmolinski avatar Oct 01 '19 17:10 piotrsmolinski

Please follow the coding style guide: https://github.com/edenhill/librdkafka/blob/master/CONTRIBUTING.md#librdkafka-c-style-guide

edenhill avatar Oct 07 '19 08:10 edenhill

Following up on this. I'd like to assist @piotrsmolinski with this as we both can make us of this feature in several projects and it is probably a really nice feature to have. @edenhill - if you have time for a short call/chat on what's missing and what we need to do to get this PR resolved, please let me know. Also sent you a message on slack!

Schm1tz1 avatar Jul 06 '22 13:07 Schm1tz1

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

:white_check_mark: Schm1tz1
:x: piotrsmolinski
You have signed the CLA already but the status is still pending? Let us recheck it.

cla-assistant[bot] avatar Aug 21 '23 15:08 cla-assistant[bot]