gecko-dev/security
David Keeler 6ea4fb08d4 bug 1456489 - prevent making OCSP requests on the main thread r=fkiefer,jcj
OCSP requests cannot be performed on the main thread. If we were to wait for a
response from the network, we would be blocking the main thread for an
unnaceptably long time. If we were to spin the event loop while waiting (which
is what we do currently), other parts of the code that assume this will never
happen (which is essentially all of them) can break.

As of bug 867473, no certificate verification happens on the main thread, so no
OCSP requests happen on the main thread. Given this, we can go ahead and
prohibit such requests.

Incidentally, this gives us an opportunity to improve the current OCSP
implementation, which has a few drawbacks (the largest of which is that it's
unclear that its ownership model is implemented correctly).

This also removes OCSP GET support. Due to recent OCSP server implementations
(namely, the ability to cache OCSP POST request responses), OCSP GET is not a
compelling technology to pursue. Furthermore, continued support presents a
maintenance burden.

MozReview-Commit-ID: 4ACDY09nCBA

--HG--
extra : rebase_source : 072564adf1836720e147b8250afca7cebe4dbf62
2018-04-23 18:09:35 +02:00
..
apps bug 1439732 - fixup for backing out bug 1415991 post bug 1421084 (so Firefox 60 only) r=jcj 2018-02-20 12:28:01 -08:00
certverifier bug 1456489 - prevent making OCSP requests on the main thread r=fkiefer,jcj 2018-04-23 18:09:35 +02:00
manager bug 1456489 - prevent making OCSP requests on the main thread r=fkiefer,jcj 2018-04-23 18:09:35 +02: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