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

Issue 1267513003: Add parsing for Public-Key-Pins-Report-Only header (Closed)

Created:
5 years, 4 months ago by estark
Modified:
5 years, 4 months ago
Reviewers:
davidben, Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org, Ryan Sleevi
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add parsing for Public-Key-Pins-Report-Only header Adds the ability to parse HPKP Report-Only headers, which will later be processed on the requests on which they are received. BUG=445793 Committed: https://crrev.com/640590d4170cd3d2ac9dec78d655ef064ec1b4a0 Cr-Commit-Position: refs/heads/master@{#341441}

Patch Set 1 #

Total comments: 8

Patch Set 2 : rename test function; add includeSubdomains to RO parsing #

Total comments: 3

Patch Set 3 : fix includeSubdomains comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+299 lines, -198 lines) Patch
M net/http/http_security_headers.h View 1 2 chunks +20 lines, -3 lines 0 comments Download
M net/http/http_security_headers.cc View 1 2 4 chunks +116 lines, -74 lines 0 comments Download
M net/http/http_security_headers_unittest.cc View 1 9 chunks +163 lines, -121 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
estark
davidben, could you PTAL? This CL does the parsing and crrev.com/1266723003 does the processing/sending for ...
5 years, 4 months ago (2015-07-30 01:19:49 UTC) #2
Ryan Sleevi
https://codereview.chromium.org/1267513003/diff/1/net/http/http_security_headers.h File net/http/http_security_headers.h (right): https://codereview.chromium.org/1267513003/diff/1/net/http/http_security_headers.h#newcode76 net/http/http_security_headers.h:76: GURL* report_uri); Is there any reason to introduce a ...
5 years, 4 months ago (2015-07-30 01:43:50 UTC) #4
estark
https://codereview.chromium.org/1267513003/diff/1/net/http/http_security_headers.h File net/http/http_security_headers.h (right): https://codereview.chromium.org/1267513003/diff/1/net/http/http_security_headers.h#newcode76 net/http/http_security_headers.h:76: GURL* report_uri); On 2015/07/30 01:43:50, Ryan Sleevi wrote: > ...
5 years, 4 months ago (2015-07-30 02:43:49 UTC) #5
Ryan Sleevi
https://codereview.chromium.org/1267513003/diff/1/net/http/http_security_headers.h File net/http/http_security_headers.h (right): https://codereview.chromium.org/1267513003/diff/1/net/http/http_security_headers.h#newcode76 net/http/http_security_headers.h:76: GURL* report_uri); On 2015/07/30 02:43:49, estark wrote: > The ...
5 years, 4 months ago (2015-07-30 02:52:25 UTC) #6
Ryan Sleevi
https://codereview.chromium.org/1267513003/diff/1/net/http/http_security_headers_unittest.cc File net/http/http_security_headers_unittest.cc (right): https://codereview.chromium.org/1267513003/diff/1/net/http/http_security_headers_unittest.cc#newcode71 net/http/http_security_headers_unittest.cc:71: bool ParseBothHPKPHeaders(const std::string& value, On 2015/07/30 02:43:49, estark wrote: ...
5 years, 4 months ago (2015-07-30 02:53:33 UTC) #7
estark
https://codereview.chromium.org/1267513003/diff/1/net/http/http_security_headers.h File net/http/http_security_headers.h (right): https://codereview.chromium.org/1267513003/diff/1/net/http/http_security_headers.h#newcode76 net/http/http_security_headers.h:76: GURL* report_uri); On 2015/07/30 02:52:25, Ryan Sleevi wrote: > ...
5 years, 4 months ago (2015-07-30 15:21:21 UTC) #8
davidben
lgtm https://codereview.chromium.org/1267513003/diff/20001/net/http/http_security_headers.cc File net/http/http_security_headers.cc (right): https://codereview.chromium.org/1267513003/diff/20001/net/http/http_security_headers.cc#newcode355 net/http/http_security_headers.cc:355: GURL candidate_report_uri; [Incidentally, this "candidate" silliness is why ...
5 years, 4 months ago (2015-07-31 19:53:23 UTC) #9
estark
Thanks, David. Ryan, do you want to have another look before I land? https://codereview.chromium.org/1267513003/diff/20001/net/http/http_security_headers.cc File ...
5 years, 4 months ago (2015-07-31 20:29:47 UTC) #10
Ryan Sleevi
lgtm
5 years, 4 months ago (2015-07-31 22:29:03 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1267513003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1267513003/40001
5 years, 4 months ago (2015-07-31 22:38:33 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 4 months ago (2015-07-31 23:56:32 UTC) #15
commit-bot: I haz the power
5 years, 4 months ago (2015-07-31 23:57:33 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/640590d4170cd3d2ac9dec78d655ef064ec1b4a0
Cr-Commit-Position: refs/heads/master@{#341441}

Powered by Google App Engine
This is Rietveld 408576698