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

Issue 2004843002: Adds a MerkleAuditProof struct to net/cert. (Closed)

Created:
4 years, 7 months ago by Rob Percival
Modified:
4 years, 7 months ago
Reviewers:
eroman, Eran Messeri
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adds a MerkleAuditProof struct to net/cert. This holds a Merkle audit path, as defined in RFC6962. BUG=612439 Committed: https://crrev.com/c96ecf9d0e6f78ea6a1ef8c1dadb9446146cc665 Cr-Commit-Position: refs/heads/master@{#396302}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Addresses review comments from eranm #

Total comments: 2

Patch Set 3 : Addresses final comment from eranm #

Patch Set 4 : Only test DCHECK in debug builds where GTEST_HAS_DEATH_TEST #

Patch Set 5 : Use DCHECK_IS_ON() rather than EXPECT_DEBUG_DEATH #

Total comments: 3

Patch Set 6 : Addresses review comment from eroman #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -0 lines) Patch
A net/cert/merkle_audit_proof.h View 1 1 chunk +46 lines, -0 lines 0 comments Download
A net/cert/merkle_audit_proof.cc View 1 2 3 4 5 1 chunk +41 lines, -0 lines 0 comments Download
A net/cert/merkle_audit_proof_unittest.cc View 1 2 3 4 5 1 chunk +49 lines, -0 lines 0 comments Download
M net/net.gypi View 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (13 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/2004843002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2004843002/1
4 years, 7 months ago (2016-05-23 12:32:42 UTC) #2
Rob Percival
4 years, 7 months ago (2016-05-23 12:49:50 UTC) #4
Eran Messeri
https://codereview.chromium.org/2004843002/diff/1/net/cert/merkle_audit_proof.cc File net/cert/merkle_audit_proof.cc (right): https://codereview.chromium.org/2004843002/diff/1/net/cert/merkle_audit_proof.cc#newcode11 net/cert/merkle_audit_proof.cc:11: // As described in RFC6962, section 4.5 The length ...
4 years, 7 months ago (2016-05-23 13:10:52 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-23 14:26:00 UTC) #7
Rob Percival
https://codereview.chromium.org/2004843002/diff/1/net/cert/merkle_audit_proof.cc File net/cert/merkle_audit_proof.cc (right): https://codereview.chromium.org/2004843002/diff/1/net/cert/merkle_audit_proof.cc#newcode11 net/cert/merkle_audit_proof.cc:11: // As described in RFC6962, section 4.5 On 2016/05/23 ...
4 years, 7 months ago (2016-05-24 17:10:05 UTC) #8
Eran Messeri
lgtm https://codereview.chromium.org/2004843002/diff/20001/net/cert/merkle_audit_proof.cc File net/cert/merkle_audit_proof.cc (right): https://codereview.chromium.org/2004843002/diff/20001/net/cert/merkle_audit_proof.cc#newcode14 net/cert/merkle_audit_proof.cc:14: // https://github.com/google/certificate-transparency-rfcs/blob/c8844de6bd0b5d3d16bac79865e6edef533d760b/dns/draft-ct-over-dns.md#retrieve-merkle-audit-proof-from-log-by-leaf-hash. Nit: The ct-over-dns is what you ...
4 years, 7 months ago (2016-05-25 09:59:56 UTC) #9
Rob Percival
PTAL Eric https://codereview.chromium.org/2004843002/diff/20001/net/cert/merkle_audit_proof.cc File net/cert/merkle_audit_proof.cc (right): https://codereview.chromium.org/2004843002/diff/20001/net/cert/merkle_audit_proof.cc#newcode14 net/cert/merkle_audit_proof.cc:14: // https://github.com/google/certificate-transparency-rfcs/blob/c8844de6bd0b5d3d16bac79865e6edef533d760b/dns/draft-ct-over-dns.md#retrieve-merkle-audit-proof-from-log-by-leaf-hash. On 2016/05/25 09:59:55, Eran Messeri ...
4 years, 7 months ago (2016-05-25 10:14:07 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2004843002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2004843002/40001
4 years, 7 months ago (2016-05-25 10:14:43 UTC) #13
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios-device-gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-gn/builds/11242)
4 years, 7 months ago (2016-05-25 10:25:39 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2004843002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2004843002/60001
4 years, 7 months ago (2016-05-25 10:45:33 UTC) #17
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/116931)
4 years, 7 months ago (2016-05-25 11:10:14 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2004843002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2004843002/80001
4 years, 7 months ago (2016-05-25 15:18:39 UTC) #21
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-25 16:21:22 UTC) #23
commit-bot: I haz the power
Dry run: None
4 years, 7 months ago (2016-05-25 16:21:35 UTC) #24
eroman
https://codereview.chromium.org/2004843002/diff/80001/net/cert/merkle_audit_proof_unittest.cc File net/cert/merkle_audit_proof_unittest.cc (right): https://codereview.chromium.org/2004843002/diff/80001/net/cert/merkle_audit_proof_unittest.cc#newcode40 net/cert/merkle_audit_proof_unittest.cc:40: TEST(MerkleAuditProofDeathTest, DiesIfLeafIndexIsGreaterThanOrEqualToTreeSize) { This test sounds fishy. (a) if ...
4 years, 7 months ago (2016-05-26 00:39:43 UTC) #25
Rob Percival
https://codereview.chromium.org/2004843002/diff/80001/net/cert/merkle_audit_proof_unittest.cc File net/cert/merkle_audit_proof_unittest.cc (right): https://codereview.chromium.org/2004843002/diff/80001/net/cert/merkle_audit_proof_unittest.cc#newcode40 net/cert/merkle_audit_proof_unittest.cc:40: TEST(MerkleAuditProofDeathTest, DiesIfLeafIndexIsGreaterThanOrEqualToTreeSize) { On 2016/05/26 00:39:43, eroman wrote: > ...
4 years, 7 months ago (2016-05-26 03:17:13 UTC) #26
eroman
Thanks. Apologies for not being more familiar with CT. I should probably take some time ...
4 years, 7 months ago (2016-05-26 05:54:39 UTC) #27
Rob Percival
https://codereview.chromium.org/2004843002/diff/80001/net/cert/merkle_audit_proof_unittest.cc File net/cert/merkle_audit_proof_unittest.cc (right): https://codereview.chromium.org/2004843002/diff/80001/net/cert/merkle_audit_proof_unittest.cc#newcode40 net/cert/merkle_audit_proof_unittest.cc:40: TEST(MerkleAuditProofDeathTest, DiesIfLeafIndexIsGreaterThanOrEqualToTreeSize) { On 2016/05/26 03:17:13, Rob Percival wrote: ...
4 years, 7 months ago (2016-05-26 16:00:58 UTC) #28
eroman
lgtm
4 years, 7 months ago (2016-05-26 19:21:56 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2004843002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2004843002/100001
4 years, 7 months ago (2016-05-26 20:49:36 UTC) #32
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 7 months ago (2016-05-26 22:38:15 UTC) #33
commit-bot: I haz the power
4 years, 7 months ago (2016-05-26 22:39:25 UTC) #35
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/c96ecf9d0e6f78ea6a1ef8c1dadb9446146cc665
Cr-Commit-Position: refs/heads/master@{#396302}

Powered by Google App Engine
This is Rietveld 408576698