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

Issue 452183002: Perform dynamic pin checks even when the build is not timely. (Closed)

Created:
6 years, 4 months ago by Ryan Hamilton
Modified:
6 years, 4 months ago
Reviewers:
wtc, Ryan Sleevi, davidben
CC:
chromium-reviews, cbentzel+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Perform dynamic pin checks even when the build is not timely. BUG=391032 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289389

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix comments from rsleevi #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -7 lines) Patch
M net/http/transport_security_state.cc View 1 1 chunk +1 line, -7 lines 1 comment Download

Messages

Total messages: 13 (0 generated)
Ryan Hamilton
I think this small CL fixes the associated bug. I'd add a test, but I'm ...
6 years, 4 months ago (2014-08-08 16:32:03 UTC) #1
Ryan Hamilton
+wtc
6 years, 4 months ago (2014-08-08 22:40:34 UTC) #2
Ryan Sleevi
https://codereview.chromium.org/452183002/diff/1/net/http/transport_security_state.cc File net/http/transport_security_state.cc (right): https://codereview.chromium.org/452183002/diff/1/net/http/transport_security_state.cc#newcode799 net/http/transport_security_state.cc:799: return true; This seems unnecessary, given that GetStaticDomainState checks ...
6 years, 4 months ago (2014-08-12 01:04:53 UTC) #3
Ryan Hamilton
https://codereview.chromium.org/452183002/diff/1/net/http/transport_security_state.cc File net/http/transport_security_state.cc (right): https://codereview.chromium.org/452183002/diff/1/net/http/transport_security_state.cc#newcode799 net/http/transport_security_state.cc:799: return true; On 2014/08/12 01:04:53, Ryan Sleevi wrote: > ...
6 years, 4 months ago (2014-08-12 14:01:55 UTC) #4
Ryan Hamilton
https://codereview.chromium.org/452183002/diff/1/net/http/transport_security_state.cc File net/http/transport_security_state.cc (right): https://codereview.chromium.org/452183002/diff/1/net/http/transport_security_state.cc#newcode799 net/http/transport_security_state.cc:799: return true; On 2014/08/12 01:04:53, Ryan Sleevi wrote: > ...
6 years, 4 months ago (2014-08-12 14:01:55 UTC) #5
Ryan Sleevi
lgtm
6 years, 4 months ago (2014-08-12 20:04:42 UTC) #6
Ryan Sleevi
Actually, I say that, but please hold off CQing until you hear from David David: ...
6 years, 4 months ago (2014-08-12 20:05:37 UTC) #7
davidben
On 2014/08/12 20:05:37, Ryan Sleevi wrote: > Actually, I say that, but please hold off ...
6 years, 4 months ago (2014-08-12 20:13:00 UTC) #8
Ryan Hamilton
The CQ bit was checked by rch@chromium.org
6 years, 4 months ago (2014-08-13 15:17:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/452183002/20001
6 years, 4 months ago (2014-08-13 15:19:34 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_chromium_rel_swarming on tryserver.chromium.mac ...
6 years, 4 months ago (2014-08-13 20:48:42 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (20001) as 289389
6 years, 4 months ago (2014-08-13 21:53:41 UTC) #12
wtc
6 years, 4 months ago (2014-08-13 23:08:21 UTC) #13
Message was sent while issue was closed.
Patch set 2 LGTM.

https://codereview.chromium.org/452183002/diff/20001/net/http/transport_secur...
File net/http/transport_security_state.cc (right):

https://codereview.chromium.org/452183002/diff/20001/net/http/transport_secur...
net/http/transport_security_state.cc:816: const bool is_build_timely =
IsBuildTimely();

Nit: I assume we are now relying on this IsBuildTimely() check for static pins.

Unless we need the side effect of line 821, we can return false directly if
is_build_timely is false.

Powered by Google App Engine
This is Rietveld 408576698