author Dana Keeler <dkeeler@mozilla.com>
Tue, 22 Sep 2020 23:51:09 +0000
changeset 549727 7927a17052473b338d511c15bc940f862ee9e3e0
parent 382228 ae2699e5b050cc2e607bbca597060dc300cac65e
permissions -rw-r--r--
Bug 1662636 - osclientcerts: rework legacy key handling to avoid slow APIs r=kjacobs Bug 1658042 attempted to identify keys that could only handle legacy crypto using CryptFindCertificateKeyProvInfo. However, it appears that this API can be incredibly slow and potentially involve network I/O. This patch reworks the legacy crypto handling by using CryptAcquireCertificatePrivateKey with the CRYPT_ACQUIRE_SILENT_FLAG flag to avoid showing UI at inopportune times. Differential Revision: https://phabricator.services.mozilla.com/D90733

<meta charset="UTF-8"/>
<title>Simple Page for DAMP Test</title>
  window.addEventListener("load", function() {
	<h1>This is a simple page</h1>