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

Issue 1213783005: Send HPKP violation reports when a pin check fails (Closed)

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

Description

Send HPKP violation reports when a pin check fails This CL uses a net::TransportSecurityState::Reporter, instantiated by ProfileIOData, to send HPKP violation reports. Information included in the report (such as the validated and server-sent certificate chains) is passed in to CheckPublicKeyPins(). CL #1: crrev.com/1211363005 (parse report-uri) CL #2: crrev.com/1212973002 (add net::CertificateReportSender) CL #3: crrev.com/1212613004 (add net::TransportSecurityReporter) This is CL #4. BUG=445793

Patch Set 1 #

Total comments: 10

Patch Set 2 : rebase #

Patch Set 3 : rsleevi comments #

Total comments: 4

Patch Set 4 : rename enum, allow reporting on static pins #

Patch Set 5 : minor fixes #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+301 lines, -45 lines) Patch
M chrome/browser/profiles/profile_io_data.h View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.cc View 1 2 3 4 2 chunks +13 lines, -0 lines 0 comments Download
M net/http/http_security_headers_unittest.cc View 1 2 3 4 5 6 chunks +20 lines, -18 lines 0 comments Download
M net/http/transport_security_state.h View 1 2 3 4 5 5 chunks +22 lines, -5 lines 0 comments Download
M net/http/transport_security_state.cc View 1 2 3 4 5 3 chunks +39 lines, -12 lines 0 comments Download
M net/http/transport_security_state_unittest.cc View 1 2 3 4 5 4 chunks +185 lines, -0 lines 0 comments Download
M net/quic/crypto/proof_verifier_chromium.cc View 1 2 3 1 chunk +6 lines, -3 lines 0 comments Download
M net/socket/ssl_client_socket_nss.cc View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M net/socket/ssl_client_socket_openssl.cc View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M net/spdy/spdy_session.cc View 1 2 3 1 chunk +6 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
estark
This is CL 4/4 split out from https://codereview.chromium.org/1211933005/.
5 years, 6 months ago (2015-06-26 19:29:01 UTC) #2
Ryan Sleevi
https://codereview.chromium.org/1213783005/diff/1/net/http/transport_security_state.h File net/http/transport_security_state.h (right): https://codereview.chromium.org/1213783005/diff/1/net/http/transport_security_state.h#newcode221 net/http/transport_security_state.h:221: const PublicKeyPinReportStatus report_status, same comments re: raw pointers being ...
5 years, 6 months ago (2015-06-26 20:22:20 UTC) #4
estark
https://codereview.chromium.org/1213783005/diff/1/net/http/transport_security_state.h File net/http/transport_security_state.h (right): https://codereview.chromium.org/1213783005/diff/1/net/http/transport_security_state.h#newcode221 net/http/transport_security_state.h:221: const PublicKeyPinReportStatus report_status, On 2015/06/26 20:22:19, Ryan Sleevi (slow ...
5 years, 5 months ago (2015-07-09 22:18:42 UTC) #7
Ryan Sleevi
One big design question: Does this preclude preloaded report uris? https://codereview.chromium.org/1213783005/diff/80001/net/http/transport_security_state.cc File net/http/transport_security_state.cc (right): https://codereview.chromium.org/1213783005/diff/80001/net/http/transport_security_state.cc#newcode845 ...
5 years, 5 months ago (2015-07-10 16:40:00 UTC) #8
estark
https://codereview.chromium.org/1213783005/diff/80001/net/http/transport_security_state.cc File net/http/transport_security_state.cc (right): https://codereview.chromium.org/1213783005/diff/80001/net/http/transport_security_state.cc#newcode845 net/http/transport_security_state.cc:845: if (!reporter_->GetHPKPReportUri(dynamic_state, &report_uri)) On 2015/07/10 16:40:00, Ryan Sleevi (slow ...
5 years, 5 months ago (2015-07-10 19:33:30 UTC) #9
Ryan Sleevi
Is this waiting on me? Does it need to be rebased?
5 years, 4 months ago (2015-08-08 00:30:25 UTC) #10
estark
On 2015/08/08 00:30:25, Ryan Sleevi wrote: > Is this waiting on me? Does it need ...
5 years, 4 months ago (2015-08-08 00:35:39 UTC) #11
Ryan Sleevi
5 years, 4 months ago (2015-08-08 00:37:03 UTC) #12
Message was sent while issue was closed.
On 2015/08/08 00:35:39, estark wrote:
> On 2015/08/08 00:30:25, Ryan Sleevi wrote:
> > Is this waiting on me? Does it need to be rebased?
> 
> This CL isn't needed anymore (which is why it's Closed -- though maybe I
should
> have just deleted it to be less confusing). I shuffled things around so that
> this kind of got folded into the previous CL in the series.

Nah, it's my fault; was using email instead of code review to drive my reviews
:)

Powered by Google App Engine
This is Rietveld 408576698