Граф коммитов

7584 Коммитов

Автор SHA1 Сообщение Дата
ffxbld 0e6befe413 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D105197
2021-02-15 14:55:51 +00:00
Sylvestre Ledru b4f9be25d4 Bug 1519636 - Reformat recent changes to the Google coding style r=andi,necko-reviewers
Updated with clang-format version 11.0.1 (taskcluster-B6bdwSKDRF-luRQWXBuzpA)

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D105158
2021-02-15 08:49:20 +00:00
Dana Keeler 1d51c89cb5 Bug 1691650 - prefer AES on ARM devices with hardware support for AES r=bbeurdouche
Bug 1583610 modified the cipher suite ordering on ARM devices to prefer
ChaCha20/Poly1305 with the assumption that hardware support for AES wouldn't be
available. However, because there are ARM devices with hardware support for
AES, this patch makes this only happen when that support isn't available.

Differential Revision: https://phabricator.services.mozilla.com/D104897
2021-02-12 19:38:17 +00:00
Butkovits Atila 70cd833bbe Bug 1585916 - disable test_session_resumption.js on win for frequent failures. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D104903
2021-02-12 17:01:38 +00:00
Dragana Damjanovic efa5705d23 Bug 1690615 - Move DNS lookup into DnsAndConnectSocket r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D104464
2021-02-12 14:57:09 +00:00
Dana Keeler 78b4f0d3f1 Bug 1689796 - asynchronously load crlite stashes r=mbirghan,bbeurdouche
Loading an accumulated set of crlite stashes can take some time. To address
this, this patch dispatches an asynchronous background task to read the
accumulated set of crlite stashes in a way that doesn't block certificate
verification. Of course, this means that the stash information won't
necessarily be available for the first few verifications. This shouldn't be a
security concern as long as the crlite filter is no more than 10 days out of
date (the maximum lifespan of an OCSP response, which is what Firefox relies on
currently in release). Note that currently crlite filters as published by
remote settings regularly end up being more than 10 days old, which will be
addressed in https://github.com/mozilla/crlite/issues/153. Note further that
crlite is currently not being enforced by default on any channel, so making
this change now is not a security concern.

Differential Revision: https://phabricator.services.mozilla.com/D104447
2021-02-11 22:35:26 +00:00
Mark Banner 263d555274 Bug 1608272 - Remove 'this' as the second argument to 'ChromeUtils.import', use object destructuring instead (test-only changes). r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D104683
2021-02-11 22:02:15 +00:00
ffxbld 2a5a3fe221 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D104827
2021-02-11 16:31:23 +00:00
Moritz Birghan 84e35e0326 Bug 1678470 - convert the serialization version of TransportSecurityInfo to an integer. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D103887
2021-02-11 09:16:58 +00:00
Dana Keeler b9d992a73c Bug 1690331 - enable AES for importing PKCS12 files r=bbeurdouche
InitializeCipherSuite() in nsNSSComponent.cpp controls which encryption schemes
are allowed when decrypting PKCS12 files. Before this patch, the AES ciphers
were not enabled, which prevented importing PKCS12 files that used AES.
This patch fixes this and adds a test.

Differential Revision: https://phabricator.services.mozilla.com/D104567
2021-02-10 23:58:14 +00:00
ffxbld 2b98b4c743 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D104396
2021-02-08 14:50:41 +00:00
smolnar 9a5a166751 Backed out changeset 5dc57770d113 (bug 1685883) for causing failures nsICertOverrideService. CLOSED TREE DONTBUILD 2021-02-07 02:29:09 +02:00
Horst efff090e64 Bug 1685883 - building with --disable-marionette fails with compile error r=keeler
building firefox 84.0.2 from source (https://archive.mozilla.org/pub/firefox/releases/84.0.2/source/) fails when using `ac_add_options --disable-marionette` because of missing header

Differential Revision: https://phabricator.services.mozilla.com/D101390
2021-02-06 21:45:08 +00:00
ffxbld 4c04216f60 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D104064
2021-02-04 14:55:37 +00:00
Dana Keeler a298d5ed49 Bug 1689698 - improve performance of DER.jsm r=mbirghan
This patch improves the performance of DER.jsm by changing readBytes to use
slice rather than repeatedly calling readByte.
Additionally, this patch removes the validation that the input to DERDecoder
consists of an array of integers in the range [0, 255]. This check is
unnecessary for all current consumers of DER.jsm because the input comes from
atob, which only outputs values in that range. If other consumers use DER.jsm
in the future, they will have to determine whether or not they need to validate
the input themselves first.

Differential Revision: https://phabricator.services.mozilla.com/D103838
2021-02-03 22:33:00 +00:00
Moritz Birghan 1ce3e1a549 Bug 1688922 - Remove IsCertificateDistrustImminent UI. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D103059
2021-02-03 08:50:20 +00:00
ffxbld be3d1194cd No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D103667
2021-02-01 14:47:08 +00:00
Xidorn Quan 1479c9d9e2 Bug 1687056 - Upgrade rkv to 0.17 and remove failure from rkv's dependent crates. r=vporof
Differential Revision: https://phabricator.services.mozilla.com/D102052
2021-01-29 12:58:00 +00:00
ffxbld 60fb840032 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D103352
2021-01-28 18:16:14 +00:00
Benjamin Beurdouche 13d4b68816 Bug 1687701 - Remove IsCertificateDistrustImminent. r=keeler,necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D102416
2021-01-27 18:05:24 +00:00
Dorel Luca 155fbede67 Backed out changeset 831388d8f118 (bug 1687701) for Build bustages. CLOSED TREE 2021-01-27 19:08:38 +02:00
Benjamin Beurdouche 207e18f326 Bug 1687701 - Remove IsCertificateDistrustImminent. r=keeler,necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D102416
2021-01-27 16:38:37 +00:00
Dana Keeler cf49738fe6 Bug 1688924 - fix sign_app.py and regenerate test_signed_app.js files r=mbirghan
When we moved to python3, sign_app.py had some issues that weren't addressed.
This patch addresses those issues and regenerates the input files for
test_signed_apps.js because the issuing certificates will expire soon.

Differential Revision: https://phabricator.services.mozilla.com/D103063
2021-01-26 20:45:08 +00:00
Kevin Jacobs 0fd6f4034d Bug 1688317 - Update PSM test ECHConfigs for draft -09 r=necko-reviewers,valentin
Changes hardcoded ECHConfigs version from -08 to -09.

Differential Revision: https://phabricator.services.mozilla.com/D102810
2021-01-26 15:41:14 +00:00
ffxbld 86ef761b94 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D102914
2021-01-25 14:47:36 +00:00
ffxbld 67f0360f38 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D102602
2021-01-21 15:43:18 +00:00
Dana Keeler 5b70006bba Bug 1686833 - avoid CERTCertificate in nsNSSCertificate::GetDbKey r=bbeurdouche
This patch changes nsNSSCertificate::GetDbKey to use mozilla::pkix::BackCert
instead of requiring a decoded CERTCertificate.

Differential Revision: https://phabricator.services.mozilla.com/D101836
2021-01-20 19:26:20 +00:00
Moritz Birghan 48257a0b1c Bug 1672120 - Access of TransportSecurityInfo fields should hold mutex r=keeler,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D97632
2021-01-19 20:57:16 +00:00
Sebastian Hengst dd7521e748 Bug 1687458 - document actions needed when canary certificate expiration check test_cert_expiration_canary.js fails. r=keeler DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D102294
2021-01-19 22:13:59 +00:00
Dana Keeler b20d3edb85 Bug 1682989 - remove CertBlocklist implementation and MOZ_NEW_CERT_STORAGE build variable r=rmf
Differential Revision: https://phabricator.services.mozilla.com/D100034
2021-01-19 22:11:25 +00:00
Dana Keeler 3e98e56e75 Bug 1686779 - remove isSelfSigned from nsIX509Cert r=rmf
Before this patch, nsIX509Cert.isSelfSigned was only used by LocalCertService
to verify that the certificate it uses is self-signed. This shouldn't have been
necessary, because the certificate isn't a trust anchor and an override has to
be added for it anyway. Additionally, the certificate in question is already
guaranteed to be self-signed because it was either just generated that way or
it was retrieved from the database (the code for which checks that it's
self-signed).

Differential Revision: https://phabricator.services.mozilla.com/D101810
2021-01-19 17:01:57 +00:00
ffxbld beab1a7d51 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D102198
2021-01-18 14:44:53 +00:00
Sebastian Hengst e8f8962b8c Bug 1686615 - update hardcode certificate data in test browser_certificateManager.js after certificate got updated. a=test-failure CLOSED TREE 2021-01-14 21:49:32 +01:00
Dana Keeler 103f64a076 Bug 1685552 - move certificate subject alternative name processing for error pages from backend to frontend r=bbeurdouche,johannh,baku
This removes nsIX509Cert.subjectAltNames and reduces potential attack surface
by avoiding parsing subject alternative names in C/C++. It also reduces PSM
reliance on NSS types.

Differential Revision: https://phabricator.services.mozilla.com/D101418
2021-01-14 09:58:03 +00:00
Aki Sasaki 66d1eb342b Bug 1686615 - regenerate all .pem.certspec files into their .pems r=kjacobs
per https://bugzilla.mozilla.org/show_bug.cgi?id=1525191#c6 .

Depends on D101697

Differential Revision: https://phabricator.services.mozilla.com/D101698
2021-01-14 17:34:54 +00:00
Sebastian Hengst 88f92fccf4 Bug 1686615 - reenable certificate expiration canary check. r=kjacobs
Differential Revision: https://phabricator.services.mozilla.com/D101724
2021-01-14 17:48:18 +00:00
ffxbld e1040cc6b8 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D101757
2021-01-14 14:44:52 +00:00
Sebastian Hengst b9267b9a87 Bug 1686615 - disable certificate expiration canary check until certificates have been updated. a=prevent-permafail 2021-01-14 09:23:53 +01:00
ffxbld bc9f4c4080 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D101352
2021-01-11 14:43:13 +00:00
Dana Keeler f984ac2500 Bug 1681839 - remove nsISecurityReporter and implementation r=johannh,necko-reviewers,dragana
TLS error report sending was disabled by default in bug 1579906. The server
that ingested these reports has been decommissioned as well, so this patch
removes this dead code.

Differential Revision: https://phabricator.services.mozilla.com/D99405
2021-01-07 17:47:47 +00:00
Dana Keeler 8e74f15280 Bug 1682412 - (part 2/2) remove unnecessary nsCertAddonInfo class r=rmf,mbirghan
Differential Revision: https://phabricator.services.mozilla.com/D99731
2021-01-07 17:44:35 +00:00
Dana Keeler 90f034e991 Bug 1682412 - (part 1/2) remove dead code from nsCertTree.cpp and related files r=rmf,mbirghan
Differential Revision: https://phabricator.services.mozilla.com/D99730
2021-01-07 17:44:33 +00:00
ffxbld e6694a43f0 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D101025
2021-01-07 14:40:58 +00:00
Razvan Maries 02be333576 Backed out changeset bd99fb3e8177 (bug 1672120) for multiple Marionette failures on test_profile_management.py. CLOSED TREE 2021-01-07 16:23:15 +02:00
Moritz Birghan 83aebe0e67 Bug 1672120 - Access of TransportSecurityInfo fields should hold mutex r=keeler,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D97632
2021-01-06 23:40:23 +00:00
Dana Keeler c97a4c4960 Bug 1607542 - don't remove old key3.db files that won't get migrated anyway r=mbirghan
As of bug 1594931, Firefox does not migrate old NSS DB files to the newer
version. As a result, any old NSS DB files that exist in the profile directory
either were already migrated or will never be migrated. To avoid data loss,
this patch removes the functionality that would remove key3.db if it existed in
the profile directory.

Differential Revision: https://phabricator.services.mozilla.com/D99946
2021-01-07 01:15:52 +00:00
Moritz Birghan 9a338c96dc Bug 1676303 - Remove 10 GeoTrust, thawte, and VeriSign root certs from TrustOverride-SymantecData.inc r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D97349
2021-01-06 23:39:39 +00:00
ffxbld aa5fc44faf No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D100692
2021-01-04 14:45:13 +00:00
ffxbld 410bf344ed No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D100567
2021-01-02 11:08:11 +00:00
ffxbld 168f51b8b5 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D100503
2020-12-28 16:56:21 +00:00