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

Issue 2587243002: Do not do Expect-Staple when OCSPVerifyResult has not been populated (Closed)

Created:
4 years ago by estark
Modified:
3 years, 12 months ago
Reviewers:
Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Do not do Expect-Staple when OCSPVerifyResult has not been populated The OCSPVerifyResult is not always populated on a connection, for example when a certificate error has been bypassed. This CL adds a new response status that allows us to distinguish whether or not OCSP details have been checked on the connection, and we no longer send reports when they haven't been checked. This CL also adds a test that reports are not sent when there is a certificate error, as is the case when first encountering a cert error, before it has been bypassed. BUG=654127 Committed: https://crrev.com/13e0b315a37468b305d5504caab8f3dd3691f3ba Cr-Commit-Position: refs/heads/master@{#440547}

Patch Set 1 #

Total comments: 18

Patch Set 2 : sleevi comments; revert to not sending reports on cert errors #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -2 lines) Patch
M net/cert/ocsp_verify_result.h View 1 2 chunks +4 lines, -1 line 0 comments Download
M net/http/transport_security_state.cc View 1 3 chunks +10 lines, -1 line 0 comments Download
M net/url_request/url_request_unittest.cc View 1 2 chunks +118 lines, -0 lines 1 comment Download

Messages

Total messages: 28 (16 generated)
estark
rsleevi, PTAL?
4 years ago (2016-12-19 23:23:28 UTC) #4
Ryan Sleevi
I still can't convince myself that it's the right thing to do to, to send ...
3 years, 12 months ago (2016-12-21 01:35:29 UTC) #5
Ryan Sleevi
Oh, and to be clear: I definitely think we want to not send reports on ...
3 years, 12 months ago (2016-12-21 01:41:14 UTC) #6
estark
(no code changes yet, want to first hash out whether we should send reports on ...
3 years, 12 months ago (2016-12-21 01:45:51 UTC) #7
estark
On 2016/12/21 01:45:51, estark wrote: > (no code changes yet, want to first hash out ...
3 years, 12 months ago (2016-12-21 01:52:18 UTC) #8
Ryan Sleevi
On 2016/12/21 01:45:51, estark wrote: > This came up in looking through some of Dropbox's ...
3 years, 12 months ago (2016-12-21 07:25:17 UTC) #9
estark
On 2016/12/21 07:25:17, Ryan Sleevi wrote: > On 2016/12/21 01:45:51, estark wrote: > > This ...
3 years, 12 months ago (2016-12-21 16:45:19 UTC) #10
estark
Updated code and CL description; PTAL. I reverted the SSLClientSocketImpl change so that we continue ...
3 years, 12 months ago (2016-12-21 17:53:12 UTC) #18
Ryan Sleevi
LGTM! Thanks for adding the tests, and definitely think we should keep exploring on how ...
3 years, 12 months ago (2016-12-22 22:31:59 UTC) #21
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/2587243002/40001
3 years, 12 months ago (2016-12-22 22:32:53 UTC) #23
commit-bot: I haz the power
Committed patchset #2 (id:40001)
3 years, 12 months ago (2016-12-22 23:53:13 UTC) #26
commit-bot: I haz the power
3 years, 12 months ago (2016-12-22 23:55:14 UTC) #28
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/13e0b315a37468b305d5504caab8f3dd3691f3ba
Cr-Commit-Position: refs/heads/master@{#440547}

Powered by Google App Engine
This is Rietveld 408576698