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

Issue 37633002: CT: First step towards supporting Certificate Transparency in Chrome. (Closed)

Created:
7 years, 2 months ago by Eran M. (Google)
Modified:
7 years, 1 month ago
Reviewers:
wtc, Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

CT: First step towards supporting Certificate Transparency in Chrome. This patch adds Signed Certificate Timestamp (SCT) encoding/decoding. SCT is the Certificate Transparency (CT) structure containing a proof of a public log's commitment to adding a certificate to its public repository. The next patches would be extracting the SCTs when embedded in certificates and verifying the signature from the SCT over them. BUG=309578 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=232131 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=232267

Patch Set 1 #

Total comments: 82

Patch Set 2 : Addressing review comments #

Patch Set 3 : Exporting DigitallySigned #

Total comments: 8

Patch Set 4 : Addressing Ryan's review comments, fixing signed/unsigned comparison. #

Patch Set 5 : Fixing ASAN-found error with the tests #

Patch Set 6 : Implementing Ryan's suggestion of substr-ing the StringPiece #

Unified diffs Side-by-side diffs Delta from patch set Stats (+905 lines, -1 line) Patch
A net/cert/ct_serialization.h View 1 1 chunk +72 lines, -0 lines 0 comments Download
A net/cert/ct_serialization.cc View 1 2 3 1 chunk +375 lines, -0 lines 0 comments Download
A net/cert/ct_serialization_unittest.cc View 1 2 3 4 5 1 chunk +170 lines, -0 lines 0 comments Download
A net/cert/signed_certificate_timestamp.h View 1 2 1 chunk +102 lines, -0 lines 0 comments Download
A net/cert/signed_certificate_timestamp.cc View 1 1 chunk +31 lines, -0 lines 0 comments Download
M net/net.gyp View 1 2 3 4 4 chunks +8 lines, -1 line 0 comments Download
A net/test/ct_test_util.h View 1 1 chunk +35 lines, -0 lines 0 comments Download
A net/test/ct_test_util.cc View 1 2 3 1 chunk +112 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Eran M. (Google)
akalin: git-cl suggested you as a reviewer. Ryan could provide more context on this patch ...
7 years, 2 months ago (2013-10-23 18:08:54 UTC) #1
akalin
sleevi suggested wtc@ review this instead of me. After taking a quick look, I agree. ...
7 years, 2 months ago (2013-10-23 19:50:15 UTC) #2
akalin
7 years, 2 months ago (2013-10-23 19:50:33 UTC) #3
Ryan Sleevi
Considering a good bit was based on my original code, -akalin and +wtc, who is ...
7 years, 2 months ago (2013-10-23 19:50:36 UTC) #4
wtc
Patch set 1 LGTM. I suggest some changes. After making the changes, if you are ...
7 years, 2 months ago (2013-10-24 23:14:22 UTC) #5
Eran M. (Google)
wtc, thanks for the quick review. I've addressed all comments. sleevi, could you please commit ...
7 years, 1 month ago (2013-10-30 18:00:07 UTC) #6
Ryan Sleevi
lgtm https://codereview.chromium.org/37633002/diff/270001/net/cert/ct_serialization.cc File net/cert/ct_serialization.cc (right): https://codereview.chromium.org/37633002/diff/270001/net/cert/ct_serialization.cc#newcode64 net/cert/ct_serialization.cc:64: // |max_length| indicates the maximum length supported (eg: ...
7 years, 1 month ago (2013-10-30 20:48:27 UTC) #7
Eran M. (Google)
Addressed Ryan's comments. https://codereview.chromium.org/37633002/diff/270001/net/cert/ct_serialization.cc File net/cert/ct_serialization.cc (right): https://codereview.chromium.org/37633002/diff/270001/net/cert/ct_serialization.cc#newcode64 net/cert/ct_serialization.cc:64: // |max_length| indicates the maximum length ...
7 years, 1 month ago (2013-10-31 11:37:37 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eranm@google.com/37633002/410002
7 years, 1 month ago (2013-10-31 12:34:36 UTC) #9
commit-bot: I haz the power
Change committed as 232131
7 years, 1 month ago (2013-10-31 16:01:07 UTC) #10
Eran M. (Google)
Fixed the test so the ASAN build will not fail (the issue was using a ...
7 years, 1 month ago (2013-10-31 19:04:21 UTC) #11
Ryan Sleevi
Consider this an LGTM for either this copy approach, or for doing the StringPiece of ...
7 years, 1 month ago (2013-10-31 19:12:07 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eranm@google.com/37633002/770001
7 years, 1 month ago (2013-10-31 21:10:28 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eranm@google.com/37633002/770001
7 years, 1 month ago (2013-10-31 23:15:25 UTC) #14
commit-bot: I haz the power
7 years, 1 month ago (2013-11-01 01:42:04 UTC) #15
Message was sent while issue was closed.
Change committed as 232267

Powered by Google App Engine
This is Rietveld 408576698