gecko-dev/security
Dana Keeler 4401954b60 Bug 1551177 - avoid searching unproductive certificate paths during verification r=jcj,KevinJacobs
In bug 1056341 we introduced a search budget to mozilla::pkix to attempt to work
around the problem of having an extremely large search space given a set of
certificates all with the same subject and issuer distinguished names but
different public keys. In the end, though, there is probably no good value to
choose for the budget that is small enough to run quickly on the wide range of
hardware our users have and yet is large enough that we're confident won't break
someone's complicated pki setup (looking at you, the US federal government).

To address this, use the observation that as long as an intermediate can't *add*
information necessary to build a certificate chain (e.g. stapled SCTs), we
should never need a self-signed intermediate (as in, its own key verifies the
signature on it and its subject and issuer distinguished names are identical) to
build a trusted chain (since the exact same chain without that intermediate
should be valid). Given this, we simply skip all self-signed non-trust anchor
CA certificates during path building.

Differential Revision: https://phabricator.services.mozilla.com/D31368

--HG--
extra : moz-landing-system : lando
2019-05-18 00:15:54 +00:00
..
apps bug 1549249 - build bustage follow-up r=mt,dveditz a=tomprince 2019-05-07 00:16:00 +00:00
certverifier Bug 1551177 - avoid searching unproductive certificate paths during verification r=jcj,KevinJacobs 2019-05-18 00:15:54 +00:00
ct bug 1515608 - allow end-entity certificates to be trust anchors for compatibility r=jcj 2019-03-18 20:01:02 +00:00
mac/hardenedruntime Bug 1543830 - Add Mac Hardened Runtime entitlement files to the tree r=spohl 2019-04-18 15:56:00 +00:00
manager Bug 1551177 - avoid searching unproductive certificate paths during verification r=jcj,KevinJacobs 2019-05-18 00:15:54 +00:00
nss Bug 1539227 - land NSS NSS_3_44_RTM UPGRADE_NSS_RELEASE, r=me 2019-05-10 22:43:57 +00:00
sandbox Backed out 2 changesets (bug 1523526, bug 1526443) for Be bustage on Windows AArch on a CLOSED TREE 2019-05-20 20:21:56 +03:00
.eslintrc.js Bug 1246594 - Enable ESLint rule no-throw-literal by default. r=Standard8 2019-03-19 22:02:42 +00:00
generate_certdata.py
generate_mapfile.py
moz.build Bug 1535226 - Remove uses of XP_WIN32 in Gecko. r=glandium 2019-03-21 01:28:50 +00:00
nss.symbols Bug 1546975 - Cache SSL resumption tokens in necko, r=mayhemer 2019-05-09 22:04:43 +00:00