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

Issue 2556953002: Update CertVerifyProcTest.RejectWeakKeys for Sierra (Mac OS 10.12) (Closed)

Created:
4 years ago by mattm
Modified:
4 years ago
Reviewers:
davidben
CC:
chromium-reviews, cbentzel+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update CertVerifyProcTest.RejectWeakKeys for Sierra (Mac OS 10.12) Starting with Mac OS 10.12, weak keys result in a kSecTrustResultRecoverableTrustFailure with a CSSMERR_TP_INVALID_CERTIFICATE result code and CSSMERR_TP_INVALID_CERTIFICATE chain status codes. This results in a CERT_STATUS_INVALID result of VerifyInternal, but the os-independent ExaminePublicKeys function still adds CERT_STATUS_WEAK_KEY. (Previously they were a kSecTrustResultRecoverableTrustFailure with a CSSMERR_TP_VERIFY_ACTION_FAILED result code and CSSMERR_CSP_UNSUPPORTED_KEY_SIZE chain status codes, so VerifyInternal could directly map that to CERT_STATUS_WEAK_KEY.) BUG=629712 Committed: https://crrev.com/c74f2ca3e10529dc7a17eaa0bbcb0c1f8876029b Cr-Commit-Position: refs/heads/master@{#436823}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -1 line) Patch
M net/cert/cert_verify_proc_unittest.cc View 3 chunks +12 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 13 (8 generated)
mattm
4 years ago (2016-12-06 23:15:17 UTC) #4
davidben
lgtm What exactly is the point of having so complicated of a return type out ...
4 years ago (2016-12-07 01:12:45 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2556953002/1
4 years ago (2016-12-07 01:23:42 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-07 01:33:44 UTC) #11
commit-bot: I haz the power
4 years ago (2016-12-07 01:35:59 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/c74f2ca3e10529dc7a17eaa0bbcb0c1f8876029b
Cr-Commit-Position: refs/heads/master@{#436823}

Powered by Google App Engine
This is Rietveld 408576698