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

Issue 18554002: Distinguish STS observation times from PKP observation times. (Closed)

Created:
7 years, 5 months ago by palmer
Modified:
7 years ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Visibility:
Public.

Description

Distinguish STS observation times from PKP observation times. Formerly, there was one time, called "created". "Observed" is more accurate. This part of the overall effort to distinguish HSTS policies from key pinning policies. BUG=249481 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=241656

Patch Set 1 #

Patch Set 2 : Declarations close to use; add comment. #

Total comments: 4

Patch Set 3 : Respond to rsleevi's comments #

Total comments: 6

Patch Set 4 : Rebase, and respond to comments. #

Total comments: 5

Patch Set 5 : Fix iterator troubles. #

Patch Set 6 : Experts agree: browser_tests should pass. #

Patch Set 7 : Thanks to wtc for a nice loop. #

Total comments: 2

Patch Set 8 : Add a TODO to clean up the JavaScript. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -40 lines) Patch
M chrome/browser/resources/net_internals/hsts_view.js View 1 2 3 4 5 6 7 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/net_internals/net_internals_ui.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/data/webui/net_internals/hsts_view.js View 1 2 3 4 5 15 chunks +42 lines, -22 lines 0 comments Download
M net/http/transport_security_persister.cc View 1 2 3 4 4 chunks +22 lines, -6 lines 0 comments Download
M net/http/transport_security_state.h View 1 2 3 1 chunk +9 lines, -3 lines 0 comments Download
M net/http/transport_security_state.cc View 1 2 3 4 5 6 6 chunks +18 lines, -9 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
palmer
With luck, this patch will stay simple. PTAL, and thank you!
7 years, 5 months ago (2013-07-02 17:09:33 UTC) #1
Ryan Sleevi
https://codereview.chromium.org/18554002/diff/2001/net/http/transport_security_state.cc File net/http/transport_security_state.cc (right): https://codereview.chromium.org/18554002/diff/2001/net/http/transport_security_state.cc#newcode205 net/http/transport_security_state.cc:205: if (i->second.sts_observed >= time && i->second.pkp_observed >= time) { ...
7 years, 5 months ago (2013-07-02 23:41:09 UTC) #2
cbentzel
Am I needed for a particular portion of this review? I'll also still be on ...
7 years, 5 months ago (2013-07-05 15:42:04 UTC) #3
palmer
https://codereview.chromium.org/18554002/diff/2001/net/http/transport_security_state.cc File net/http/transport_security_state.cc (right): https://codereview.chromium.org/18554002/diff/2001/net/http/transport_security_state.cc#newcode205 net/http/transport_security_state.cc:205: if (i->second.sts_observed >= time && i->second.pkp_observed >= time) { ...
7 years, 5 months ago (2013-07-08 22:48:16 UTC) #4
Ryan Sleevi
LGTM, but I wasn't sure if you were still planning on this approach or waiting ...
7 years, 5 months ago (2013-07-17 23:32:43 UTC) #5
wtc
Patch set 3 LGTM. https://codereview.chromium.org/18554002/diff/15001/net/http/transport_security_state.cc File net/http/transport_security_state.cc (right): https://codereview.chromium.org/18554002/diff/15001/net/http/transport_security_state.cc#newcode213 net/http/transport_security_state.cc:213: i->second.dynamic_spki_hashes.clear(); Should we increment |i| ...
7 years, 5 months ago (2013-07-23 21:31:06 UTC) #6
palmer
https://codereview.chromium.org/18554002/diff/15001/net/http/transport_security_state.cc File net/http/transport_security_state.cc (right): https://codereview.chromium.org/18554002/diff/15001/net/http/transport_security_state.cc#newcode213 net/http/transport_security_state.cc:213: i->second.dynamic_spki_hashes.clear(); On 2013/07/23 21:31:07, wtc wrote: > > Should ...
7 years ago (2013-12-12 01:32:12 UTC) #7
wtc
Patch set 4 LGTM. https://codereview.chromium.org/18554002/diff/21001/net/http/transport_security_persister.cc File net/http/transport_security_persister.cc (right): https://codereview.chromium.org/18554002/diff/21001/net/http/transport_security_persister.cc#newcode285 net/http/transport_security_persister.cc:285: // We're migrating an old ...
7 years ago (2013-12-12 23:20:43 UTC) #8
palmer
https://codereview.chromium.org/18554002/diff/21001/net/http/transport_security_persister.cc File net/http/transport_security_persister.cc (right): https://codereview.chromium.org/18554002/diff/21001/net/http/transport_security_persister.cc#newcode285 net/http/transport_security_persister.cc:285: // We're migrating an old entry with no creation ...
7 years ago (2013-12-13 01:42:42 UTC) #9
wtc
https://codereview.chromium.org/18554002/diff/21001/net/http/transport_security_state.cc File net/http/transport_security_state.cc (right): https://codereview.chromium.org/18554002/diff/21001/net/http/transport_security_state.cc#newcode218 net/http/transport_security_state.cc:218: } On 2013/12/13 01:42:42, Chromium Palmer wrote: > > ...
7 years ago (2013-12-13 02:35:03 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/palmer@chromium.org/18554002/81001
7 years ago (2013-12-17 19:07:20 UTC) #11
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=41850
7 years ago (2013-12-17 19:31:08 UTC) #12
palmer
+eroman,mmenke for chrome/browser/resources/net_internals/hsts_view.js chrome/browser/ui/webui/net_internals/net_internals_ui.cc Could one of you please take a look? Thank you!
7 years ago (2013-12-17 23:14:33 UTC) #13
mmenke
On 2013/12/17 23:14:33, Chromium Palmer wrote: > +eroman,mmenke for > > chrome/browser/resources/net_internals/hsts_view.js > chrome/browser/ui/webui/net_internals/net_internals_ui.cc > ...
7 years ago (2013-12-17 23:26:14 UTC) #14
eroman
net_internals lgtm https://codereview.chromium.org/18554002/diff/81001/chrome/browser/resources/net_internals/hsts_view.js File chrome/browser/resources/net_internals/hsts_view.js (right): https://codereview.chromium.org/18554002/diff/81001/chrome/browser/resources/net_internals/hsts_view.js#newcode136 chrome/browser/resources/net_internals/hsts_view.js:136: t = addNode(this.queryOutputDiv_, 'tt'); you can combine ...
7 years ago (2013-12-18 01:21:57 UTC) #15
mmenke
I defer to eroman, no need to wait for my review. On 2013/12/18 01:21:57, eroman ...
7 years ago (2013-12-18 15:45:17 UTC) #16
palmer
https://codereview.chromium.org/18554002/diff/81001/chrome/browser/resources/net_internals/hsts_view.js File chrome/browser/resources/net_internals/hsts_view.js (right): https://codereview.chromium.org/18554002/diff/81001/chrome/browser/resources/net_internals/hsts_view.js#newcode136 chrome/browser/resources/net_internals/hsts_view.js:136: t = addNode(this.queryOutputDiv_, 'tt'); > you can combine this ...
7 years ago (2013-12-18 18:15:43 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/palmer@chromium.org/18554002/101001
7 years ago (2013-12-18 18:17:21 UTC) #18
commit-bot: I haz the power
7 years ago (2013-12-18 21:36:29 UTC) #19
Message was sent while issue was closed.
Change committed as 241656

Powered by Google App Engine
This is Rietveld 408576698