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

Issue 561613002: Support SHA-256 on pre-Vista Windows clients (Closed)

Created:
6 years, 3 months ago by Ryan Sleevi
Modified:
6 years, 3 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, agl
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Use sidestep to detour CertVerifyCertificateSignatureEx on Windows versions earlier than Vista (excluding XP SP3), adding in SHA-256 support by deferring to NSS. The canonical path to supporting SHA-256 is to install XP SP3 or the appropriate hotfixes for XP x64 / Windows Server 2003. However, as not all users may do so, and there's enough of a usability hurdle, provide an interception hook until we fully drop support for these systems. XP is already outside of MSFT EOL (April 2014). Windows Server 2003 is EOL'd July 2015. BUG=401365 Committed: https://crrev.com/25e2bc0a95354727342757ba71582bf4de638fe8 Cr-Commit-Position: refs/heads/master@{#296335}

Patch Set 1 #

Patch Set 2 : Cleaned up patch #

Patch Set 3 : Dead code #

Total comments: 23

Patch Set 4 : Feedback #

Patch Set 5 : Attempt to reset net_test_suite #

Unified diffs Side-by-side diffs Delta from patch set Stats (+460 lines, -0 lines) Patch
M content/browser/browser_main_runner.cc View 1 2 3 3 chunks +87 lines, -0 lines 0 comments Download
A net/cert/sha256_legacy_support_win.h View 1 2 3 1 chunk +48 lines, -0 lines 0 comments Download
A net/cert/sha256_legacy_support_win.cc View 1 2 3 1 chunk +195 lines, -0 lines 0 comments Download
A net/cert/sha256_legacy_support_win_unittest.cc View 1 1 chunk +52 lines, -0 lines 0 comments Download
M net/data/ssl/certificates/README View 1 1 chunk +5 lines, -0 lines 0 comments Download
A net/data/ssl/certificates/sha256.pem View 1 1 chunk +70 lines, -0 lines 0 comments Download
M net/net.gypi View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (6 generated)
Ryan Sleevi
cpu, shrikant: Below is a WIP that tests out on my XP SP3 VM (and, ...
6 years, 3 months ago (2014-09-10 04:55:02 UTC) #2
Shrikant Kelkar
On 2014/09/10 04:55:02, Ryan Sleevi wrote: > cpu, shrikant: Below is a WIP that tests ...
6 years, 3 months ago (2014-09-10 15:20:17 UTC) #3
Ryan Sleevi
jam: As we discussed this morning, the //content changes shrikant: Please take a look at ...
6 years, 3 months ago (2014-09-11 20:17:36 UTC) #5
Shrikant Kelkar
On 2014/09/11 20:17:36, Ryan Sleevi wrote: > jam: As we discussed this morning, the //content ...
6 years, 3 months ago (2014-09-11 21:53:27 UTC) #6
Ryan Sleevi
On 2014/09/11 21:53:27, Shrikant Kelkar wrote: > On 2014/09/11 20:17:36, Ryan Sleevi wrote: > > ...
6 years, 3 months ago (2014-09-11 21:56:52 UTC) #7
jam
https://codereview.chromium.org/561613002/diff/40001/content/browser/browser_main_runner.cc File content/browser/browser_main_runner.cc (right): https://codereview.chromium.org/561613002/diff/40001/content/browser/browser_main_runner.cc#newcode60 content/browser/browser_main_runner.cc:60: // Interception on x64 is not supported. nit: move ...
6 years, 3 months ago (2014-09-12 04:13:08 UTC) #8
Ryan Sleevi
https://codereview.chromium.org/561613002/diff/40001/content/browser/browser_main_runner.cc File content/browser/browser_main_runner.cc (right): https://codereview.chromium.org/561613002/diff/40001/content/browser/browser_main_runner.cc#newcode60 content/browser/browser_main_runner.cc:60: // Interception on x64 is not supported. On 2014/09/12 ...
6 years, 3 months ago (2014-09-12 08:34:35 UTC) #9
davidben
https://codereview.chromium.org/561613002/diff/40001/content/browser/browser_main_runner.cc File content/browser/browser_main_runner.cc (right): https://codereview.chromium.org/561613002/diff/40001/content/browser/browser_main_runner.cc#newcode86 content/browser/browser_main_runner.cc:86: return; If this return fires, we'll leave cert_verify_signature_ptr writable. ...
6 years, 3 months ago (2014-09-12 22:51:18 UTC) #10
davidben
Something to note: sidestep's implementation does have this comment here. https://chromium.googlesource.com/chromium/chromium/+/trunk/sandbox/win/src/sidestep/preamble_patcher_with_stub.cpp#63 // TODO(V7:joi) Siggi and ...
6 years, 3 months ago (2014-09-12 22:59:25 UTC) #11
agl
Note: if this isn't going to make it for Chrome 39 please let me know ...
6 years, 3 months ago (2014-09-15 18:36:00 UTC) #13
jam
lgtm
6 years, 3 months ago (2014-09-18 01:13:36 UTC) #14
Ryan Sleevi
https://codereview.chromium.org/561613002/diff/40001/content/browser/browser_main_runner.cc File content/browser/browser_main_runner.cc (right): https://codereview.chromium.org/561613002/diff/40001/content/browser/browser_main_runner.cc#newcode149 content/browser/browser_main_runner.cc:149: InstallSha256LegacyHooks(); On 2014/09/12 22:51:17, David Benjamin wrote: > Perhaps ...
6 years, 3 months ago (2014-09-23 21:59:59 UTC) #15
Ryan Sleevi
On 2014/09/12 22:59:25, David Benjamin wrote: > Something to note: sidestep's implementation does have this ...
6 years, 3 months ago (2014-09-23 23:19:38 UTC) #16
Ryan Sleevi
David: PTAL.
6 years, 3 months ago (2014-09-24 00:08:29 UTC) #17
davidben
lgtm
6 years, 3 months ago (2014-09-24 01:41:06 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/561613002/60001
6 years, 3 months ago (2014-09-24 01:47:10 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/59812) ios_dbg_simulator on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/17907) ios_rel_device ...
6 years, 3 months ago (2014-09-24 01:50:12 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/561613002/80001
6 years, 3 months ago (2014-09-24 02:01:32 UTC) #24
commit-bot: I haz the power
Committed patchset #5 (id:80001) as 22b6fdc3e78beaea14da1db0a7fd04b1da7fbe56
6 years, 3 months ago (2014-09-24 03:13:03 UTC) #25
commit-bot: I haz the power
6 years, 3 months ago (2014-09-24 03:13:38 UTC) #26
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/25e2bc0a95354727342757ba71582bf4de638fe8
Cr-Commit-Position: refs/heads/master@{#296335}

Powered by Google App Engine
This is Rietveld 408576698