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

Issue 2850033002: Check Expect-CT at connection setup (Closed)

Created:
3 years, 7 months ago by estark
Modified:
3 years, 7 months ago
Reviewers:
Ryan Hamilton, mattm
CC:
chromium-reviews, cbentzel+watch_chromium.org, bnc+watch_chromium.org, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Check Expect-CT at connection setup This CL adds an Expect-CT check to ShouldRequireCT(), with an option to send reports if the host is configured with Expect-CT. This CL is missing a test for ProofVerifierChromium, which I'm omitting because all the tests for that file are mysteriously disabled and I'm not sure why. BUG=679012 Review-Url: https://codereview.chromium.org/2850033002 Cr-Commit-Position: refs/heads/master@{#469686} Committed: https://chromium.googlesource.com/chromium/src/+/bf1b5296ef441a71980bd48279c4442cb53957fd

Patch Set 1 #

Patch Set 2 : fix TSS test and add another one #

Patch Set 3 : fix comment #

Patch Set 4 : fix CanPool check #

Total comments: 11

Patch Set 5 : mattm comments #

Total comments: 11

Patch Set 6 : fixes per mattm's comments #

Total comments: 2

Patch Set 7 : fix comment typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+769 lines, -98 lines) Patch
M chrome/browser/ssl/chrome_expect_ct_reporter.h View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/ssl/chrome_expect_ct_reporter.cc View 1 2 3 4 2 chunks +7 lines, -4 lines 0 comments Download
M chrome/browser/ssl/chrome_expect_ct_reporter_unittest.cc View 1 2 3 4 4 chunks +11 lines, -5 lines 0 comments Download
M net/http/transport_security_state.h View 1 2 3 4 5 6 5 chunks +53 lines, -13 lines 0 comments Download
M net/http/transport_security_state.cc View 1 2 3 4 5 5 chunks +53 lines, -14 lines 0 comments Download
M net/http/transport_security_state_unittest.cc View 1 2 3 4 5 9 chunks +425 lines, -40 lines 0 comments Download
M net/quic/chromium/crypto/proof_verifier_chromium.cc View 1 2 3 4 5 1 chunk +9 lines, -7 lines 0 comments Download
M net/socket/ssl_client_socket_impl.cc View 1 2 3 4 5 1 chunk +8 lines, -7 lines 0 comments Download
M net/socket/ssl_client_socket_unittest.cc View 1 2 3 4 2 chunks +143 lines, -0 lines 0 comments Download
M net/spdy/chromium/spdy_session.cc View 1 2 3 4 5 1 chunk +9 lines, -6 lines 0 comments Download
M net/spdy/chromium/spdy_session_unittest.cc View 1 2 3 4 1 chunk +43 lines, -0 lines 0 comments Download
M net/url_request/url_request_unittest.cc View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 38 (26 generated)
estark
mattm, PTAL? https://codereview.chromium.org/2850033002/diff/60001/chrome/browser/ssl/chrome_expect_ct_reporter.h File chrome/browser/ssl/chrome_expect_ct_reporter.h (left): https://codereview.chromium.org/2850033002/diff/60001/chrome/browser/ssl/chrome_expect_ct_reporter.h#oldcode31 chrome/browser/ssl/chrome_expect_ct_reporter.h:31: const net::SSLInfo& ssl_info) override; Two notes: - ...
3 years, 7 months ago (2017-05-01 23:14:18 UTC) #14
mattm
rch: Do you know why all the ProofVerifierChromium tests are disabled? https://codereview.chromium.org/2850033002/diff/60001/net/http/transport_security_state.h File net/http/transport_security_state.h (right): ...
3 years, 7 months ago (2017-05-02 23:32:52 UTC) #16
Ryan Hamilton
On 2017/05/02 23:32:52, mattm wrote: > rch: Do you know why all the ProofVerifierChromium tests ...
3 years, 7 months ago (2017-05-02 23:41:27 UTC) #17
estark
(no code changes yet) https://codereview.chromium.org/2850033002/diff/60001/net/http/transport_security_state.h File net/http/transport_security_state.h (right): https://codereview.chromium.org/2850033002/diff/60001/net/http/transport_security_state.h#newcode384 net/http/transport_security_state.h:384: // will be sent. On ...
3 years, 7 months ago (2017-05-03 00:13:20 UTC) #18
mattm
https://codereview.chromium.org/2850033002/diff/60001/net/http/transport_security_state.h File net/http/transport_security_state.h (right): https://codereview.chromium.org/2850033002/diff/60001/net/http/transport_security_state.h#newcode384 net/http/transport_security_state.h:384: // will be sent. On 2017/05/03 00:13:20, estark wrote: ...
3 years, 7 months ago (2017-05-03 00:37:07 UTC) #19
estark
https://codereview.chromium.org/2850033002/diff/60001/net/http/transport_security_state.h File net/http/transport_security_state.h (right): https://codereview.chromium.org/2850033002/diff/60001/net/http/transport_security_state.h#newcode384 net/http/transport_security_state.h:384: // will be sent. On 2017/05/03 00:37:07, mattm wrote: ...
3 years, 7 months ago (2017-05-04 01:18:30 UTC) #22
mattm
https://codereview.chromium.org/2850033002/diff/80001/net/http/transport_security_state.cc File net/http/transport_security_state.cc (right): https://codereview.chromium.org/2850033002/diff/80001/net/http/transport_security_state.cc#newcode863 net/http/transport_security_state.cc:863: bool TransportSecurityState::CheckCTRequirements( do you think it's worth returning an ...
3 years, 7 months ago (2017-05-04 01:57:11 UTC) #25
estark
https://codereview.chromium.org/2850033002/diff/80001/net/http/transport_security_state.cc File net/http/transport_security_state.cc (right): https://codereview.chromium.org/2850033002/diff/80001/net/http/transport_security_state.cc#newcode863 net/http/transport_security_state.cc:863: bool TransportSecurityState::CheckCTRequirements( On 2017/05/04 01:57:11, mattm wrote: > do ...
3 years, 7 months ago (2017-05-04 04:03:25 UTC) #28
mattm
lgtm https://codereview.chromium.org/2850033002/diff/100001/net/http/transport_security_state.h File net/http/transport_security_state.h (right): https://codereview.chromium.org/2850033002/diff/100001/net/http/transport_security_state.h#newcode389 net/http/transport_security_state.h:389: // Returns CT_REQUIREMENTS_NOT)MET if a connection violates CT ...
3 years, 7 months ago (2017-05-05 06:59:02 UTC) #31
estark
Thanks, Matt! Filed crbug.com/718895 for following up on the QUIC test. https://codereview.chromium.org/2850033002/diff/100001/net/http/transport_security_state.h File net/http/transport_security_state.h (right): ...
3 years, 7 months ago (2017-05-05 15:15:12 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2850033002/120001
3 years, 7 months ago (2017-05-05 15:16:30 UTC) #35
commit-bot: I haz the power
3 years, 7 months ago (2017-05-05 17:05:48 UTC) #38
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/bf1b5296ef441a71980bd48279c4...

Powered by Google App Engine
This is Rietveld 408576698