gecko-dev/security
Dana Keeler 2c12afd0df Bug 1912344 - only filter non-trust-anchors if they are known built-in roots when loading third-party certificates r=jschanck
In bug 1874054, we made it so Firefox won't import a third party certificate if
it is already a known built-in root. This was to prevent roots that were
mistakenly identified as intermediates (as in, "inherits trust") from
overriding the trust settings of built-in roots and preventing chains being
built to those roots. Additionally, we were concerned about cases where a
built-in root had been set by the user to be distrusted, in which case
importing that root from the OS would unexpectedly make it trusted again.
Revisiting the first issue, this patch restricts this check to only
certificates identified as non-trust-anchors, so roots will still be imported.
As for the second issue, it turns out that we actually do want this feature to
work this way. This will enable (with some additional work) situations where a
built-in root has a distrust after date but the user wants that root to still
work as before. As for any discrepancies between the user's trust settings in
Firefox vs. their operating system, that's up to them to resolve.

Differential Revision: https://phabricator.services.mozilla.com/D218889
2024-08-12 19:42:25 +00:00
..
certverifier Bug 1912120 - implement updated certificate transparency policy r=jschanck 2024-08-12 19:41:58 +00:00
ct Bug 1912120 - implement updated certificate transparency policy r=jschanck 2024-08-12 19:41:58 +00:00
mac/hardenedruntime/v2 Bug 1474451 - Deploy Enhanced Runtime on Mac without the allow-unsigned-executable-memory entitlement r=spohl,florian,dthayer 2024-03-22 23:43:48 +00:00
manager Bug 1912344 - only filter non-trust-anchors if they are known built-in roots when loading third-party certificates r=jschanck 2024-08-12 19:42:25 +00:00
nss Bug 1906193 - land NSS NSS_3_103_RTM UPGRADE_NSS_RELEASE, r=nss-reviewers,keeler 2024-08-01 17:23:51 +00:00
rlbox Bug 1677775 - reformat .mozbuild files with Black r=linter-reviewers,geckoview-reviewers,firefox-build-system-reviewers,ahal,glandium,owlish,sylvestre 2023-12-08 04:26:45 +00:00
sandbox Bug 1912328 - Permit stat for allowed files in GMP process sandbox. r=gcp,gerard-majax 2024-08-09 19:24:35 +00:00
.eslintrc.js Bug 1883371 - Enable ESLint rule no-console on production code. r=mossop,webcompat-reviewers,devtools-reviewers,omc-reviewers,twisniewski,nchevobbe,aminomancer 2024-03-05 16:56:57 +00:00
generate_mapfile.py
moz.build Bug 1834908 - Reintroduce iOS support in the build system. r=firefox-build-system-reviewers,andi 2024-02-29 00:49:10 +00:00
nss.symbols Bug 1899431 - Use SSL_PeerCertificateChainDER in SSLServerCertVerification. r=keeler 2024-07-18 16:53:57 +00:00