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

Issue 949633002: Include both certificate chains in invalid cert reporting (Closed)

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

Description

Include both certificate chains in invalid cert reporting The report now includes the chain as received by the client from the server as well as the verified chain built by the client. This is done by adding an |unverified_server_cert| field to SSLInfo (which replaces SSLClientSocket::GetUnverifiedServerCertificateChain(), which was only used by unit tests). My understanding is that the |cert| field contains the chain as verified by the client, or as received by the client if a verified chain can't be built. So in some cases the |cert| and |unverified_server_cert| fields might be the same. This CL is based on https://codereview.chromium.org/935663004/ BUG=461588

Patch Set 1 #

Total comments: 2

Patch Set 2 : styles fixes, comments, naming #

Patch Set 3 : add a comment to cert logger pb #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -51 lines) Patch
M chrome/browser/extensions/api/socket/tls_socket_unittest.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/net/cert_logger.proto View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/net/chrome_fraudulent_certificate_reporter.h View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/net/chrome_fraudulent_certificate_reporter.cc View 1 3 chunks +23 lines, -10 lines 2 comments Download
M chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc View 1 4 chunks +75 lines, -0 lines 0 comments Download
M net/cert/cert_verify_proc.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M net/cert/cert_verify_proc_unittest.cc View 1 2 chunks +16 lines, -1 line 0 comments Download
M net/cert/cert_verify_result.h View 1 chunk +3 lines, -0 lines 1 comment Download
M net/cert/cert_verify_result.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/cert/mock_cert_verifier.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/socket/socket_test_util.h View 1 chunk +0 lines, -4 lines 0 comments Download
M net/socket/socket_test_util.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M net/socket/ssl_client_socket.h View 1 chunk +0 lines, -7 lines 0 comments Download
M net/socket/ssl_client_socket_nss.h View 1 chunk +0 lines, -5 lines 0 comments Download
M net/socket/ssl_client_socket_nss.cc View 3 chunks +4 lines, -5 lines 0 comments Download
M net/socket/ssl_client_socket_openssl.h View 1 chunk +0 lines, -5 lines 0 comments Download
M net/socket/ssl_client_socket_openssl.cc View 3 chunks +3 lines, -5 lines 0 comments Download
M net/socket/ssl_client_socket_unittest.cc View 1 chunk +3 lines, -1 line 0 comments Download
M net/ssl/ssl_info.h View 1 chunk +4 lines, -0 lines 2 comments Download
M net/ssl/ssl_info.cc View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
estark
felt@, could you please take a look? This was the CL that I was talking ...
5 years, 10 months ago (2015-02-21 06:42:23 UTC) #2
felt
Looks right to me % a few nits. Adding Sleevi who might have more opinions. ...
5 years, 9 months ago (2015-02-25 16:41:33 UTC) #5
Ryan Sleevi
Not LGTM, unfortunately. I don't have a good suggestion (yet) on how to wire this ...
5 years, 9 months ago (2015-02-25 23:15:41 UTC) #6
Ryan Sleevi
Hey Emily, with my Not LG, it sounds like there's going to be some other ...
5 years, 7 months ago (2015-05-07 01:14:33 UTC) #7
estark
5 years, 7 months ago (2015-05-07 01:16:36 UTC) #8
On 2015/05/07 01:14:33, Ryan Sleevi wrote:
> Hey Emily, with my Not LG, it sounds like there's going to be some other work
to
> do first before getting to this.
> 
> Any concerns with closing out this CL for now until we resolve some of the
> transient issues?

Sure, that's fine by me.

Powered by Google App Engine
This is Rietveld 408576698