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

Issue 3293019: Show these three cert errors as warnings, not errors (as requested by Ian):... (Closed)

Created:
10 years, 3 months ago by Finnur
Modified:
9 years, 6 months ago
Reviewers:
ian fette, wtc
CC:
chromium-reviews, ben+cc_chromium.org, Peter Kasting
Visibility:
Public.

Description

Show these two cert errors as warnings, not errors (as requested by Ian): CERT_STATUS_UNABLE_TO_CHECK_REVOCATION CERT_STATUS_NO_REVOCATION_MECHANISM Note: The Omnibox shows no_revocation_mechanism as skull and bones, but that's a separate issue. BUG=http://crbug.com/52916 TEST=Requires server with cert errors. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=59360

Patch Set 1 #

Total comments: 10

Patch Set 2 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -9 lines) Patch
M chrome/app/generated_resources.grd View 1 1 chunk +7 lines, -1 line 0 comments Download
M chrome/browser/page_info_model.cc View 1 3 chunks +37 lines, -8 lines 1 comment Download

Messages

Total messages: 5 (0 generated)
Finnur
10 years, 3 months ago (2010-09-13 18:47:52 UTC) #1
wtc
LGTM. Note the comment marked with "UI ISSUE" below, and the suggestion to not consider ...
10 years, 3 months ago (2010-09-13 19:32:20 UTC) #2
ian fette
I'm fine with keeping "weak signature" more severe. What I told Jay was based on ...
10 years, 3 months ago (2010-09-13 21:12:58 UTC) #3
Finnur
I've removed the WeakSignature enum from the warnings list and addressed all issues raised. I'll ...
10 years, 3 months ago (2010-09-14 11:19:18 UTC) #4
wtc
10 years, 3 months ago (2010-09-14 22:31:56 UTC) #5
LGTM.

http://codereview.chromium.org/3293019/diff/1/3
File chrome/browser/page_info_model.cc (right):

http://codereview.chromium.org/3293019/diff/1/3#newcode50
chrome/browser/page_info_model.cc:50: net::CERT_STATUS_WEAK_SIGNATURE_ALGORITHM;
On 2010/09/14 11:19:21, Finnur wrote:
>
> I presume since I've removed the WeakSignature enum that this needs no further
> work?

Correct.

http://codereview.chromium.org/3293019/diff/6001/7002#newcode71
chrome/browser/page_info_model.cc:71: } else if ((ssl.cert_status() &
net::CERT_STATUS_IS_EV) != 0) {
Strictly speaking, we should not use "else if" here, because
the two CERT_STATUS_ bits can be set at the same time.

In practice, Chrome never sets the
CERT_STATUS_NO_REVOCATION_MECHANISM bit, so the code here will
work.

Another way to look at it is that if both bits are set,
we will only report the CERT_STATUS_UNABLE_TO_CHECK_REVOCATION bit,
and that's a reasonable thing to do.

Powered by Google App Engine
This is Rietveld 408576698