Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Issue 10509009: Export key logging in normal builds. (Closed)

Created:
8 years, 6 months ago by agl
Modified:
8 years, 6 months ago
Reviewers:
wtc
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Export key logging in normal builds. This moves SSL keylogging (see [1]) out from behind the TRACE and DEBUG defines and allows normal builds to use it when the correct environment variable is set. It also adds a new CLIENT_RANDOM format to support ECDHE-RSA key-agreement (and others). [1] https://developer.mozilla.org/en/NSS_Key_Log_Format BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=141029

Patch Set 1 #

Patch Set 2 : ... #

Total comments: 10

Patch Set 3 : add hexEncode helper function #

Total comments: 2

Patch Set 4 : ... #

Patch Set 5 : ... #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+281 lines, -22 lines) Patch
M net/third_party/nss/README.chromium View 1 1 chunk +4 lines, -0 lines 0 comments Download
M net/third_party/nss/patches/applypatches.sh View 1 chunk +2 lines, -0 lines 0 comments Download
A net/third_party/nss/patches/keylog.patch View 1 2 3 4 1 chunk +186 lines, -0 lines 0 comments Download
M net/third_party/nss/ssl/ssl3con.c View 1 2 3 4 6 chunks +82 lines, -15 lines 0 comments Download
M net/third_party/nss/ssl/sslsock.c View 1 2 2 chunks +7 lines, -7 lines 2 comments Download

Messages

Total messages: 11 (0 generated)
agl
8 years, 6 months ago (2012-06-04 22:14:35 UTC) #1
wtc
Patch set 2 LGTM. I can open an upstream NSS bug when this patch is ...
8 years, 6 months ago (2012-06-05 23:45:22 UTC) #2
agl
Have added hexEncode helper function as requested. Won't submit until the new code has been ...
8 years, 6 months ago (2012-06-06 19:17:13 UTC) #3
wtc
Patch set 3 LGTM. Thanks! https://chromiumcodereview.appspot.com/10509009/diff/8001/net/third_party/nss/ssl/ssl3con.c File net/third_party/nss/ssl/ssl3con.c (right): https://chromiumcodereview.appspot.com/10509009/diff/8001/net/third_party/nss/ssl/ssl3con.c#newcode4807 net/third_party/nss/ssl/ssl3con.c:4807: Nit: delete one blank ...
8 years, 6 months ago (2012-06-06 21:29:18 UTC) #4
agl
https://chromiumcodereview.appspot.com/10509009/diff/8001/net/third_party/nss/ssl/ssl3con.c File net/third_party/nss/ssl/ssl3con.c (right): https://chromiumcodereview.appspot.com/10509009/diff/8001/net/third_party/nss/ssl/ssl3con.c#newcode4807 net/third_party/nss/ssl/ssl3con.c:4807: On 2012/06/06 21:29:18, wtc wrote: > > Nit: delete ...
8 years, 6 months ago (2012-06-07 15:31:42 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/agl@chromium.org/10509009/15001
8 years, 6 months ago (2012-06-07 15:32:04 UTC) #6
commit-bot: I haz the power
Try job failure for 10509009-15001 (retry) on mac_rel for step "compile" (clobber build). It's a ...
8 years, 6 months ago (2012-06-07 15:40:51 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/agl@chromium.org/10509009/18002
8 years, 6 months ago (2012-06-07 16:43:17 UTC) #8
commit-bot: I haz the power
Change committed as 141029
8 years, 6 months ago (2012-06-07 17:40:34 UTC) #9
wtc
https://chromiumcodereview.appspot.com/10509009/diff/18002/net/third_party/nss/ssl/sslsock.c File net/third_party/nss/ssl/sslsock.c (right): https://chromiumcodereview.appspot.com/10509009/diff/18002/net/third_party/nss/ssl/sslsock.c#newcode2917 net/third_party/nss/ssl/sslsock.c:2917: fputs("# pre-master secret log file, generated by NSS\n", Should ...
8 years, 6 months ago (2012-06-08 02:34:31 UTC) #10
agl
8 years, 6 months ago (2012-06-11 19:16:35 UTC) #11
https://chromiumcodereview.appspot.com/10509009/diff/18002/net/third_party/ns...
File net/third_party/nss/ssl/sslsock.c (right):

https://chromiumcodereview.appspot.com/10509009/diff/18002/net/third_party/ns...
net/third_party/nss/ssl/sslsock.c:2917: fputs("# pre-master secret log file,
generated by NSS\n",
On 2012/06/08 02:34:31, wtc wrote:
> 
> Should we update this comment?  You are now logging the
> master secret, right?

updated in crrev.com/141456

Powered by Google App Engine
This is Rietveld 408576698