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

Issue 2277653002: Bring back SCT_STATUS_INVALID for cached entries (Closed)

Created:
4 years, 4 months ago by estark
Modified:
4 years, 3 months ago
CC:
chromium-reviews, rsleevi+watch_chromium.org, certificate-transparency-chrome_googlegroups.com, cbentzel+watch_chromium.org, jam, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Bring back SCT_STATUS_INVALID for cached entries https://codereview.chromium.org/2241213002/ split SCT_STATUS_INVALID into two new enum values to record the different reasons that an SCT might be invalid. However, we didn't realize that SCT_STATUS_INVALID might still be present in disk cache entries, resulting in renderer kills when the browser tries to deserialize SSLStatus objects containing these cached SCT_STATUS_INVALID values. This CL brings back SCT_STATUS_INVALID and documents it as deprecated, but still existent for the sake of cache entries. BUG=640296 Committed: https://crrev.com/321ed2a53224c50af40387e8211726f8400ecad2 Cr-Commit-Position: refs/heads/master@{#414280}

Patch Set 1 #

Patch Set 2 : handle INVALID in website settings again #

Total comments: 1

Patch Set 3 : fix SCT_STATUS_INVALID comment to not refer to disk cache #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -4 lines) Patch
M chrome/browser/ssl/chrome_expect_ct_reporter.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/website_settings/website_settings.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M content/common/ssl_status_serialization.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M content/common/ssl_status_serialization_unittest.cc View 1 chunk +15 lines, -0 lines 0 comments Download
M net/cert/ct_sct_to_string.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M net/cert/sct_status_flags.h View 1 2 1 chunk +6 lines, -3 lines 0 comments Download

Messages

Total messages: 33 (17 generated)
estark
avi, eroman: this is a follow-up to a CL you reviewed (https://codereview.chromium.org/2241213002/) that turned out ...
4 years, 4 months ago (2016-08-24 04:30:35 UTC) #4
Ryan Sleevi
As a short-term fix, LGTM, but I'm surprised we ran into this because of disk ...
4 years, 4 months ago (2016-08-24 04:51:13 UTC) #8
Ryan Sleevi
Alternatively, why not just map the old value to the new value in https://chromium.googlesource.com/chromium/src/+blame/master/net/http/http_response_info.cc#232 ?
4 years, 4 months ago (2016-08-24 04:57:21 UTC) #9
estark
On 2016/08/24 04:57:21, Ryan Sleevi (slow) wrote: > Alternatively, why not just map the old ...
4 years, 4 months ago (2016-08-24 05:01:41 UTC) #10
Ryan Sleevi
On 2016/08/24 05:01:41, estark wrote: > On 2016/08/24 04:57:21, Ryan Sleevi (slow) wrote: > > ...
4 years, 4 months ago (2016-08-24 05:37:22 UTC) #11
Eran Messeri
On 2016/08/24 at 05:37:22, rsleevi wrote: > On 2016/08/24 05:01:41, estark wrote: > > On ...
4 years, 4 months ago (2016-08-24 11:10:46 UTC) #14
estark
On 2016/08/24 11:10:46, Eran Messeri wrote: > On 2016/08/24 at 05:37:22, rsleevi wrote: > > ...
4 years, 4 months ago (2016-08-24 15:07:08 UTC) #15
estark
On 2016/08/24 15:07:08, estark wrote: > On 2016/08/24 11:10:46, Eran Messeri wrote: > > On ...
4 years, 4 months ago (2016-08-24 15:08:44 UTC) #16
Ryan Sleevi
On 2016/08/24 15:08:44, estark wrote: > On 2016/08/24 15:07:08, estark wrote: > > I dunno ...
4 years, 4 months ago (2016-08-24 16:18:04 UTC) #17
estark
Follow-up discussion is on https://crbug.com/640689 about longer-term fixes. For the short-term, my preference is to ...
4 years, 4 months ago (2016-08-24 18:56:28 UTC) #20
nasko
content/ LGTM
4 years, 4 months ago (2016-08-25 00:10:48 UTC) #24
estark
felt, could you please review chrome/browser/ui/website_settings/website_settings.cc?
4 years, 4 months ago (2016-08-25 00:16:00 UTC) #26
felt
chrome/browser/ui/website_settings/website_settings.cc lgtm
4 years, 4 months ago (2016-08-25 00:20:07 UTC) #27
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/2277653002/40001
4 years, 4 months ago (2016-08-25 00:21:37 UTC) #30
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-08-25 02:58:25 UTC) #31
commit-bot: I haz the power
4 years, 3 months ago (2016-08-25 03:01:00 UTC) #33
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/321ed2a53224c50af40387e8211726f8400ecad2
Cr-Commit-Position: refs/heads/master@{#414280}

Powered by Google App Engine
This is Rietveld 408576698