apple / apple/foundationdb

Support SSL Keylog generation for TLS connections

Open
#3,021 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
16.7k
Forks
1.6k
Avg merge
1d 20h
Merged PRs (30d)
126

Description

Particularly in the case of debugging TLS-specific backup issues, it's nice to be able to load a packet dump into Wireshark/ssldump and have it be able to show both the TLS handshake and the application data transferred thereafter. There's a standardized format that OpenSSL also implements, so we should add support to conditionally enable [SSL_CTX_set_keylog_callback](https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_set_keylog_callback.html) to generate the session key dump.

Contributor guide

Open the contributing guide

Research direction

Locate the TLS connection setup and its OpenSSL integration, then trace how SSL_CTX is configured before using SSL_CTX_set_keylog_callback. Determine how keylog generation should be conditionally enabled and verify that enabled connections expose handshake and application-data keys in the standardized format while disabled connections do not.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
networking, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.