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

Issue 55953002: CT: Adding SCT verification functionality: A CTLogVerifier instance can verify SCTs signed by a sin… (Closed)

Created:
7 years, 1 month 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: Adding SCT verification functionality: A CTLogVerifier instance can verify SCTs signed by a single log. BUG=309578 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=234672

Patch Set 1 #

Total comments: 44

Patch Set 2 : Addressing review comments #

Patch Set 3 : Switching back to original EVP_Verify OpenSSL API #

Patch Set 4 : Small compilation and test fixes #

Patch Set 5 : #

Patch Set 6 : Sorting out const castness #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+551 lines, -9 lines) Patch
A net/cert/ct_log_verifier.h View 1 1 chunk +78 lines, -0 lines 0 comments Download
A net/cert/ct_log_verifier.cc View 1 1 chunk +56 lines, -0 lines 0 comments Download
A net/cert/ct_log_verifier_nss.cc View 1 1 chunk +142 lines, -0 lines 2 comments Download
A net/cert/ct_log_verifier_openssl.cc View 1 2 3 4 5 1 chunk +120 lines, -0 lines 3 comments Download
A net/cert/ct_log_verifier_unittest.cc View 1 2 3 1 chunk +78 lines, -0 lines 0 comments Download
M net/net.gyp View 1 4 chunks +7 lines, -0 lines 0 comments Download
M net/test/ct_test_util.h View 2 chunks +15 lines, -0 lines 0 comments Download
M net/test/ct_test_util.cc View 1 2 3 5 chunks +55 lines, -9 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Eran M. (Google)
7 years, 1 month ago (2013-11-01 14:20:33 UTC) #1
Ryan Sleevi
Mostly good, a few style nits here. I'll let Wan-Teh do the actual review. https://codereview.chromium.org/55953002/diff/1/net/cert/ct_log_verifier.h ...
7 years, 1 month ago (2013-11-08 00:30:42 UTC) #2
wtc
Patch set 1 LGTM. I will review the _unittest.cc file after lunch. You should be ...
7 years, 1 month ago (2013-11-08 21:03:59 UTC) #3
wtc
I have reviewed the _unittest.cc file. https://codereview.chromium.org/55953002/diff/1/net/cert/ct_log_verifier_unittest.cc File net/cert/ct_log_verifier_unittest.cc (right): https://codereview.chromium.org/55953002/diff/1/net/cert/ct_log_verifier_unittest.cc#newcode72 net/cert/ct_log_verifier_unittest.cc:72: // ever attempting ...
7 years, 1 month ago (2013-11-08 21:51:14 UTC) #4
Eran M. (Google)
Addressed all comments. I'm still checking if using a different OpenSSL api to verify the ...
7 years, 1 month ago (2013-11-12 12:01:28 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eranm@google.com/55953002/330001
7 years, 1 month ago (2013-11-12 17:45:00 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eranm@google.com/55953002/330001
7 years, 1 month ago (2013-11-12 23:31:11 UTC) #7
commit-bot: I haz the power
Change committed as 234672
7 years, 1 month ago (2013-11-13 00:18:14 UTC) #8
wtc
Patch set 6 LGTM. Thanks! Please write a new CL to fix the coding style ...
7 years, 1 month ago (2013-11-14 18:46:29 UTC) #9
Eran M. (Google)
See replies below. I will send out another CL with formatting fixes shortly. https://codereview.chromium.org/55953002/diff/1/net/cert/ct_log_verifier_openssl.cc File ...
7 years, 1 month ago (2013-11-16 22:59:16 UTC) #10
wtc
7 years, 1 month ago (2013-11-19 21:58:09 UTC) #11
Message was sent while issue was closed.
https://codereview.chromium.org/55953002/diff/1/net/test/ct_test_util.cc
File net/test/ct_test_util.cc (right):

https://codereview.chromium.org/55953002/diff/1/net/test/ct_test_util.cc#newc...
net/test/ct_test_util.cc:96: const uint64_t kTestSCTTimestamp =
GG_UINT64_C(1365181456089);

On 2013/11/16 22:59:16, eranm wrote:
>
> A rather lame reason: The Windows trybot did not like this variable
declaration
> (compile failed) ...

That's strange. I wonder if the problem is as simple as uint64 vs. uint64_t.

> It does matter - this value is used during the creation of a
> SignedCertificateTimestamp instance that verifies over the test certificate
> defined above.

Thanks. What date/time does this timestamp represent? Would be nice to have a
comment because I was curious about it.

https://codereview.chromium.org/55953002/diff/1/net/test/ct_test_util.cc#newc...
net/test/ct_test_util.cc:150:
base::TimeDelta::FromMilliseconds(GG_UINT64_C(1365181456275));

Nit: since FromMilliseconds takes an int64 argument, it would be better to use
GG_INT64_C instead.

Powered by Google App Engine
This is Rietveld 408576698