gecko-dev/security
David Keeler 6499399d3c bug 1427248 - avoid changing certificate trust in nsNSSComponent initialization r=fkiefer,jcj
If a user has set a master password on their NSS DB(s), when we try to change
the trust of a certificate, we may have to authenticate to the DB. This involves
bringing up a dialog box, executing javascript, spinning the event loop, etc.
In some cases (particularly when antivirus software has injected code into
Firefox), this can cause the nsNSSComponent to be initialized if it hasn't
already been. So, it's a really, really bad idea to attempt to change the trust
of a certificate while we're initializing nsNSSComponent, because this results
in a recursive component dependency and everything breaks. To get around this,
if we need to load 3rd party roots (e.g. enterprise roots or the family safety
root), we defer any trust changes to a later event loop tick. In theory this
could cause verification failures early in startup. We'll have to see if this
is an issue in practice.

MozReview-Commit-ID: FvjHP5dTmpP

--HG--
extra : rebase_source : 73d39788ce39adcbe01c89867061f64d05a3876b
2018-05-07 17:05:30 -07:00
..
apps bug 1460350 - re-land bug 1415991 (remove support for verifying signed unpacked add-ons) r=kmag 2018-05-09 10:19:37 -07:00
certverifier Bug 1456112 - Add a pref to implement the last Symantec Distrust step r=keeler 2018-05-04 09:34:45 -07:00
manager bug 1427248 - avoid changing certificate trust in nsNSSComponent initialization r=fkiefer,jcj 2018-05-07 17:05:30 -07:00
nss Bug 1445731 - land NSS NSS_3_37_RTM UPGRADE_NSS_RELEASE, r=me 2018-05-04 10:42:48 -07:00
pkix Backed out 4 changesets (bug 525063) on request from Andi. a=backout 2018-04-13 16:01:28 +03:00
sandbox Bug 1458553 - Return of Google Maps all black map with updated Nvidia web driver on Mac r=Alex_Gaynor 2018-05-02 09:26:55 -07:00
.eslintrc.js
generate_certdata.py
generate_mapfile.py
moz.build Bug 1445763 - Update moz.build meta data with "Firefox Build System". r=froydnj 2018-03-14 21:44:46 +01:00
nss.symbols Bug 1429148 - Add nsIPK11Token.isInternalKeyToken. r=keeler,MattN 2018-02-20 20:43:41 -03:00