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

Issue 1454993002: QUIC - Code to verify SCT tag with certificate transparency verifier (Closed)

Created:
5 years, 1 month ago by ramant (doing other things)
Modified:
5 years ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, Eran Messeri
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

QUIC - Code to verify SCT tag with certificate transparency verifier (CTVerifier). SCT tag is verified only if it exists. Added unittests that verifies a known SCT (a string returned by ct::GetTestSignedCertificateTimestamp()) that are similar to MultiLogCTVerifierTest. Used the same certs as SCT unittests. TODO: Enable code that requests SCT tag from server. R=rch@chromium.org, eranm@chromium.org Committed: https://crrev.com/052774e6549b4b224e4678110c35e16cbb75ae49 Cr-Commit-Position: refs/heads/master@{#361439}

Patch Set 1 : #

Total comments: 13

Patch Set 2 : Fix comments and add tests for SCTList #

Total comments: 8

Patch Set 3 : rebase with TOT - use scoped_refptr<const CTLogVerifier> #

Unified diffs Side-by-side diffs Delta from patch set Stats (+205 lines, -29 lines) Patch
M net/http/http_network_session.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M net/quic/crypto/proof_verifier_chromium.h View 5 chunks +6 lines, -1 line 0 comments Download
M net/quic/crypto/proof_verifier_chromium.cc View 1 9 chunks +26 lines, -11 lines 0 comments Download
M net/quic/crypto/proof_verifier_chromium_test.cc View 1 2 10 chunks +117 lines, -6 lines 0 comments Download
M net/quic/quic_chromium_client_session.h View 2 chunks +2 lines, -0 lines 0 comments Download
M net/quic/quic_chromium_client_session.cc View 1 2 chunks +6 lines, -0 lines 0 comments Download
M net/quic/quic_end_to_end_unittest.cc View 1 4 chunks +4 lines, -0 lines 0 comments Download
M net/quic/quic_network_transaction_unittest.cc View 1 2 4 chunks +4 lines, -0 lines 0 comments Download
M net/quic/quic_stream_factory.h View 3 chunks +3 lines, -0 lines 0 comments Download
M net/quic/quic_stream_factory.cc View 4 chunks +5 lines, -1 line 0 comments Download
M net/quic/quic_stream_factory_test.cc View 1 4 chunks +4 lines, -1 line 0 comments Download
M net/quic/test_tools/crypto_test_utils_chromium.cc View 1 5 chunks +15 lines, -7 lines 0 comments Download
M net/tools/quic/quic_client_bin.cc View 1 3 chunks +6 lines, -1 line 0 comments Download
M net/tools/quic/quic_simple_client_bin.cc View 1 3 chunks +6 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 61 (31 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1454993002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1454993002/40001
5 years, 1 month ago (2015-11-17 23:55:07 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_compile_dbg_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_ng/builds/15182)
5 years, 1 month ago (2015-11-18 00:38:13 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1454993002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1454993002/80001
5 years, 1 month ago (2015-11-18 03:49:36 UTC) #11
ramant (doing other things)
Hi Ryan and Eran, This is a first cut verification of SCT. + If a ...
5 years, 1 month ago (2015-11-18 03:55:46 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-18 04:54:06 UTC) #16
Eran Messeri
LGTM from CT perspective - thanks a lot for doing this so quickly! A few ...
5 years, 1 month ago (2015-11-18 11:14:00 UTC) #18
Eran Messeri
Also, raullenchai suggested I file a tracking bug for this work, so I've filed https://code.google.com/p/chromium/issues/detail?id=557632.
5 years, 1 month ago (2015-11-18 11:21:28 UTC) #19
Ryan Hamilton
Thanks for doing this! https://codereview.chromium.org/1454993002/diff/80001/net/quic/crypto/proof_verifier_chromium_test.cc File net/quic/crypto/proof_verifier_chromium_test.cc (right): https://codereview.chromium.org/1454993002/diff/80001/net/quic/crypto/proof_verifier_chromium_test.cc#newcode150 net/quic/crypto/proof_verifier_chromium_test.cc:150: TEST(ProofVerifierChromiumTest, FailsIfCertFails) { On 2015/11/18 ...
5 years, 1 month ago (2015-11-18 20:57:27 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1454993002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1454993002/180001
5 years, 1 month ago (2015-11-21 00:22:01 UTC) #26
ramant (doing other things)
Hi Ryan and Eran, Sorry it took so long. Added unit tests for SCTList based ...
5 years, 1 month ago (2015-11-21 00:27:03 UTC) #28
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/138398)
5 years, 1 month ago (2015-11-21 02:07:45 UTC) #30
Ryan Hamilton
lgtm
5 years, 1 month ago (2015-11-21 03:45:02 UTC) #31
Eran Messeri
Still LGTM, a few minor comments regarding testing. I wouldn't mind that merging the common ...
5 years, 1 month ago (2015-11-23 17:35:19 UTC) #32
ramant (doing other things)
Thanks Eran. Will make your suggestions to use scoped_ptr and then call Pass with CTVerifyResult ...
5 years, 1 month ago (2015-11-23 17:57:41 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1454993002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1454993002/180001
5 years, 1 month ago (2015-11-23 17:59:11 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/132860)
5 years, 1 month ago (2015-11-23 19:28:42 UTC) #37
Eran Messeri
Heads up - you mail get a merge conflict with https://codereview.chromium.org/1440643002/ as I've made CTLogVerifier ...
5 years, 1 month ago (2015-11-23 19:53:00 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1454993002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1454993002/180001
5 years, 1 month ago (2015-11-23 20:24:54 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/133042)
5 years, 1 month ago (2015-11-23 22:07:08 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1454993002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1454993002/180001
5 years, 1 month ago (2015-11-23 22:46:58 UTC) #44
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/133222)
5 years, 1 month ago (2015-11-24 01:18:36 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1454993002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1454993002/180001
5 years, 1 month ago (2015-11-24 01:22:57 UTC) #48
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/133326)
5 years ago (2015-11-24 03:50:26 UTC) #50
ramant (doing other things)
On 2015/11/23 19:53:00, Eran Messeri wrote: > Heads up - you mail get a merge ...
5 years ago (2015-11-24 18:06:29 UTC) #51
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1454993002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1454993002/200001
5 years ago (2015-11-24 18:07:41 UTC) #54
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/100713)
5 years ago (2015-11-24 19:36:55 UTC) #56
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1454993002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1454993002/200001
5 years ago (2015-11-24 19:49:00 UTC) #58
commit-bot: I haz the power
Committed patchset #3 (id:200001)
5 years ago (2015-11-24 21:00:20 UTC) #59
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/052774e6549b4b224e4678110c35e16cbb75ae49 Cr-Commit-Position: refs/heads/master@{#361439}
5 years ago (2015-11-24 21:00:50 UTC) #60
ramant (doing other things)
5 years ago (2015-11-24 21:02:00 UTC) #61
Message was sent while issue was closed.
On 2015/11/24 21:00:50, commit-bot: I haz the power wrote:
> Patchset 3 (id:??) landed as
> https://crrev.com/052774e6549b4b224e4678110c35e16cbb75ae49
> Cr-Commit-Position: refs/heads/master@{#361439}

Try and try again till you succeed. :-).

Powered by Google App Engine
This is Rietveld 408576698