[Webkit-unassigned] [Bug 208192] [Curl] Add TLS debugging feature to log encryption keys

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 26 12:41:37 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=208192

--- Comment #19 from Alex Christensen <achristensen at apple.com> ---
Comment on attachment 391729
  --> https://bugs.webkit.org/attachment.cgi?id=391729
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=391729&action=review

> Source/WebCore/platform/network/curl/CurlSSLVerifier.cpp:122
> +    auto fp = fopen(CurlContext::singleton().tlsKeyLogFilePath().utf8().data(), "a");

Are you sure you want all this file I/O on the main thread?
Is there an advantage to using wtf/FileSystem.h?

> Source/WebCore/platform/network/curl/CurlSSLVerifier.cpp:126
> +    fprintf(fp, "CLIENT_RANDOM ");

Do you care about the return code?

> Source/cmake/OptionsWinCairo.cmake:56
> +WEBKIT_OPTION_DEFINE(ENABLE_TLS_DEBUG "Enable TLS key log support" PRIVATE ON)

You probably want to have this off by default.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200226/040da86f/attachment-0001.htm>


More information about the webkit-unassigned mailing list