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

Issue 1222953002: Certificate Transparency: Add STH Fetching capability. (Closed)

Created:
5 years, 5 months ago by Eran Messeri
Modified:
5 years, 3 months ago
CC:
Cait (Slow), cbentzel+watch_chromium.org, chromium-reviews, davidben, Ryan Sleevi
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Certificate Transparency: Add STH Fetching capability. This will be used by the CT's Tree State Tracker to fetch STHs and consistency proofs from CT logs. BUG=506227 Committed: https://crrev.com/d86db1082a7f7a90813641397b04e6c3097ab0f6 Cr-Commit-Position: refs/heads/master@{#347254}

Patch Set 1 #

Patch Set 2 : Simplified testing #

Patch Set 3 : Build file fixes #

Patch Set 4 : Merging with master #

Total comments: 28

Patch Set 5 : Addressing review comments #

Total comments: 59

Patch Set 6 : Simplified handling of responses per review comments #

Total comments: 69

Patch Set 7 : Improving tests, addressing review comments #

Patch Set 8 : Mac compilation fix #

Total comments: 12

Patch Set 9 : Addressing review comments #

Total comments: 39

Patch Set 10 : Simplified tests, FetchState again an implementation detail #

Total comments: 53

Patch Set 11 : Further test improvements #

Total comments: 10

Patch Set 12 : Addressed comments regarding test #

Patch Set 13 : Adding OWNERS #

Total comments: 8

Patch Set 14 : BUILD.gn fixes #

Patch Set 15 : Merging with master #

Total comments: 1

Patch Set 16 : Removing explicit base dep #

Unified diffs Side-by-side diffs Delta from patch set Stats (+702 lines, -15 lines) Patch
M components/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -0 lines 0 comments Download
A + components/certificate_transparency.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +10 lines, -9 lines 0 comments Download
A + components/certificate_transparency/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +8 lines, -6 lines 0 comments Download
A + components/certificate_transparency/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
A + components/certificate_transparency/OWNERS View 1 2 3 4 5 6 7 8 9 10 11 12 0 chunks +-1 lines, --1 lines 0 comments Download
A components/certificate_transparency/log_proof_fetcher.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +122 lines, -0 lines 0 comments Download
A components/certificate_transparency/log_proof_fetcher.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +242 lines, -0 lines 0 comments Download
A components/certificate_transparency/log_proof_fetcher_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +307 lines, -0 lines 0 comments Download
M components/components.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
M components/components_tests.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +5 lines, -0 lines 0 comments Download
M net/base/net_error_list.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 54 (15 generated)
Eran Messeri
David - this is the start of the certificate_transparency component, broken off from the draft ...
5 years, 5 months ago (2015-07-10 12:10:54 UTC) #2
davidben
Initial brief pass. I stopped largely because, after consulting with mmenke, he suggested I point ...
5 years, 5 months ago (2015-07-16 21:53:39 UTC) #3
Eran Messeri
David, PTAL - The use of URLRequest rather than URLFetcher should be OK according to ...
5 years, 5 months ago (2015-07-17 15:40:24 UTC) #4
davidben
Matt, mind if I toss this at you? You're more familiar with URLRequest::Read and I ...
5 years, 5 months ago (2015-07-17 16:44:28 UTC) #6
mmenke
https://codereview.chromium.org/1222953002/diff/80001/components/certificate_transparency/log_proof_fetcher.cc File components/certificate_transparency/log_proof_fetcher.cc (right): https://codereview.chromium.org/1222953002/diff/80001/components/certificate_transparency/log_proof_fetcher.cc#newcode65 components/certificate_transparency/log_proof_fetcher.cc:65: ++it) Can just delete these - no need to ...
5 years, 5 months ago (2015-07-17 17:57:48 UTC) #7
Eran Messeri
Thanks for your patience, PTAL. https://codereview.chromium.org/1222953002/diff/80001/components/certificate_transparency/log_proof_fetcher.cc File components/certificate_transparency/log_proof_fetcher.cc (right): https://codereview.chromium.org/1222953002/diff/80001/components/certificate_transparency/log_proof_fetcher.cc#newcode65 components/certificate_transparency/log_proof_fetcher.cc:65: ++it) On 2015/07/17 17:57:47, ...
5 years, 4 months ago (2015-07-29 15:16:59 UTC) #8
mmenke
Volunteer sheriffing today, and the tree is not in a good state. Probably won't get ...
5 years, 4 months ago (2015-07-29 15:22:21 UTC) #9
mmenke
https://codereview.chromium.org/1222953002/diff/80001/components/certificate_transparency/log_proof_fetcher.cc File components/certificate_transparency/log_proof_fetcher.cc (right): https://codereview.chromium.org/1222953002/diff/80001/components/certificate_transparency/log_proof_fetcher.cc#newcode152 components/certificate_transparency/log_proof_fetcher.cc:152: DVLOG(1) << "No more bytes to read, finishing."; On ...
5 years, 4 months ago (2015-07-29 18:51:51 UTC) #10
Eran Messeri
Thanks for the quick and through review; It has surfaced the issue of what to ...
5 years, 4 months ago (2015-07-31 12:55:53 UTC) #11
mmenke
This code doesn't crash and burn with redundant IDs - we just send both requests, ...
5 years, 4 months ago (2015-07-31 15:40:26 UTC) #12
Eran Messeri
Thanks for the quick review, accepted all comments. Note that I had to change the ...
5 years, 4 months ago (2015-08-03 12:53:02 UTC) #13
mmenke
https://codereview.chromium.org/1222953002/diff/160001/components/certificate_transparency/log_proof_fetcher.cc File components/certificate_transparency/log_proof_fetcher.cc (right): https://codereview.chromium.org/1222953002/diff/160001/components/certificate_transparency/log_proof_fetcher.cc#newcode108 components/certificate_transparency/log_proof_fetcher.cc:108: CleanupRequest(request); Optional: There are 4 places where you call ...
5 years, 4 months ago (2015-08-03 18:18:54 UTC) #14
Eran Messeri
Thanks again for the quick review, accepted almost all comments. PTAL. Hopefully the more through ...
5 years, 4 months ago (2015-08-04 16:15:43 UTC) #15
mmenke
Think we're pretty much there, modulo my comments. Want to skim over the CL once ...
5 years, 4 months ago (2015-08-04 19:54:30 UTC) #16
Eran Messeri
Addressed all comments, PTAL. Regarding the issue around async io tests, I'll follow up separately. ...
5 years, 4 months ago (2015-08-05 13:10:53 UTC) #17
mmenke
Just small suggestions. Still concerned about why only the first read can be async, though. ...
5 years, 4 months ago (2015-08-05 15:37:09 UTC) #18
Eran Messeri
Addressed all comments. Thanks for the help figuring out the issue with Async IO and ...
5 years, 4 months ago (2015-08-06 09:07:51 UTC) #19
mmenke
LGTM!
5 years, 4 months ago (2015-08-06 14:23:03 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1222953002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1222953002/220001
5 years, 4 months ago (2015-08-06 21:42:07 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/85943)
5 years, 4 months ago (2015-08-06 21:53:32 UTC) #24
Eran Messeri
Cait, kindly review this new component for supporting Certificate Transparency (http://code.google.com/p/chromium/issues/detail?id=506227 for more context). mmenke@ ...
5 years, 4 months ago (2015-08-07 10:15:37 UTC) #26
Cait (Slow)
Hi Eran, I'm headed out on vacation next week, and it's unlikely I'll be able ...
5 years, 4 months ago (2015-08-07 12:43:54 UTC) #27
Eran Messeri
Per caitpk's suggestion, switching reviewers to sdefresne. Regarding the public intent to implement document - ...
5 years, 4 months ago (2015-08-07 13:44:10 UTC) #30
Robert Sesek
safe_json DEPS LGTM
5 years, 4 months ago (2015-08-07 15:54:11 UTC) #31
sdefresne
I'd like to see the Intents to Implements once available, especially the answer to whether ...
5 years, 4 months ago (2015-08-07 16:39:08 UTC) #32
Eran Messeri
On 2015/08/07 16:39:08, sdefresne wrote: > I'd like to see the Intents to Implements once ...
5 years, 4 months ago (2015-08-17 16:33:07 UTC) #33
Eran Messeri
FYI still working on the public announcement. Otherwise addressed comments. https://codereview.chromium.org/1222953002/diff/240001/components/certificate_transparency.gypi File components/certificate_transparency.gypi (right): https://codereview.chromium.org/1222953002/diff/240001/components/certificate_transparency.gypi#newcode17 ...
5 years, 4 months ago (2015-08-17 16:33:35 UTC) #34
Eran Messeri
FYI still working on the public announcement. Otherwise addressed comments.
5 years, 4 months ago (2015-08-17 16:49:38 UTC) #35
sdefresne
components lgtm
5 years, 4 months ago (2015-08-17 16:59:16 UTC) #36
Eran Messeri
FYI we're still planning on publishing an intent to implement - I was waiting on ...
5 years, 3 months ago (2015-09-03 12:04:00 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1222953002/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1222953002/280001
5 years, 3 months ago (2015-09-03 14:52:01 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/96159)
5 years, 3 months ago (2015-09-03 15:01:34 UTC) #42
Eran Messeri
Lei, kindly review for the addition of dependency on base (this is a new component ...
5 years, 3 months ago (2015-09-03 15:06:50 UTC) #44
Lei Zhang
https://codereview.chromium.org/1222953002/diff/280001/components/certificate_transparency/DEPS File components/certificate_transparency/DEPS (right): https://codereview.chromium.org/1222953002/diff/280001/components/certificate_transparency/DEPS#newcode2 components/certificate_transparency/DEPS:2: "+base", You should remove this rule and the rule ...
5 years, 3 months ago (2015-09-03 16:35:33 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1222953002/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1222953002/300001
5 years, 3 months ago (2015-09-03 20:01:27 UTC) #48
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/107968)
5 years, 3 months ago (2015-09-03 21:20:24 UTC) #50
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1222953002/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1222953002/300001
5 years, 3 months ago (2015-09-03 21:21:51 UTC) #52
commit-bot: I haz the power
Committed patchset #16 (id:300001)
5 years, 3 months ago (2015-09-03 21:52:35 UTC) #53
commit-bot: I haz the power
5 years, 3 months ago (2015-09-03 21:53:10 UTC) #54
Message was sent while issue was closed.
Patchset 16 (id:??) landed as
https://crrev.com/d86db1082a7f7a90813641397b04e6c3097ab0f6
Cr-Commit-Position: refs/heads/master@{#347254}

Powered by Google App Engine
This is Rietveld 408576698