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

14389 Коммитов

Автор SHA1 Сообщение Дата
Sylvestre Ledru d57d4905f1 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-05-25 17:46:15 +00:00
arthur.iakab af8e458c5f Backed out changeset a296439a25ff (bug 1519636) for frequent Windows cppunit failures CLOSED TREE 2019-05-24 14:26:01 +03:00
Sylvestre Ledru c82ea97226 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-05-24 09:59:17 +00:00
Dana Keeler 04339696c5 bug 1552310 - use the correct field to delete preloaded certificates that have been removed from the preload list r=jcj,KevinJacobs
The initial implementation made some incorrect assumptions about the data that
was in our data set and used the wrong field to identify the certificates to
delete when they are removed from our preload list. Now that the data set has
the expected field (the hash of the whole certificate), we can use it instead.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 23:57:39 +00:00
Kevin Jacobs 7234bae169 Bug 1492305 - Fix LibSecret unlocking & NSS return values r=keeler,MattN
This fixes issues with the NSS and LibSecret keystore not correctly rejecting unlocking of the key store.

Updated for dynamic loading of LibSecret and a bug workaround added elsewhere (updated green try below)

Depends on D9969.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 18:25:59 +00:00
Sylvestre Ledru 993c03acb1 Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D31769

--HG--
extra : moz-landing-system : lando
2019-05-22 22:37:14 +00:00
ffxbld 7107838f34 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D32310

--HG--
extra : moz-landing-system : lando
2019-05-23 13:21:24 +00:00
shindli 16671b371f Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-05-22 18:37:34 +03:00
J.C. Jones 6aa1eca84d Bug 1550889 - land NSS ec6843bc0ce7 UPGRADE_NSS_RELEASE, r=me
--HG--
extra : rebase_source : d85221a37ef901187c3f2c5c5a85ab0ba5ce52b5
2019-05-21 20:39:24 +00:00
Mathieu Leplatre ecf5714fea Bug 1548542 - Remove notions of Kinto in blocklists unit tests r=keeler,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D31221

--HG--
extra : moz-landing-system : lando
2019-05-22 11:25:04 +00:00
Mathieu Leplatre 8eb7224e54 Bug 1526018 - Initialize PSM clients in their own service r=Gijs,jcj
Differential Revision: https://phabricator.services.mozilla.com/D31603

--HG--
extra : moz-landing-system : lando
2019-05-21 21:14:11 +00:00
J.C. Jones a13c53a0db Bug 1552602 - Disable FIDO U2F API for Android r=keeler,bzbarsky
Per https://bugzilla.mozilla.org/show_bug.cgi?id=1550625#c5 there is no
mechanism available for FIDO U2F JS API operations on Android. The exposed API
is FIDO2/WebAuthn-only. As such, Firefox cannot support FIDO U2F JS API
operations on Android, and we should disable the u2f preference so that
window.u2f is not set inappropriately.

Updated to fix test_interfaces.js

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

--HG--
extra : moz-landing-system : lando
2019-05-20 16:46:43 +00:00
David Major 6efaa8b1cd Bug 1523526 - Don't allow CFG on old releases of Windows for arm64 r=bobowen,aklotz
There's a bug in ole32.dll on arm64 versions of Windows prior to 1809, that crashes our content processes if we enable CFG. We've reported the issue, but even if it gets fixed, we can't assume users will have the update.

This patch uses process mitigation policy flags to disable CFG on arm64 before 1809. Based on testing, we only need to do this in the sandbox for child processes, and it's not strictly necessary for the launcher stub to set the flag on the main process. But I've included that anyway as a guard against some yet-undiscovered scenario that might hit the issue and make the browser unusable.

The effects of this patch won't be visible until we actually enable CFG in a subsequent landing.

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

--HG--
extra : moz-landing-system : lando
2019-05-20 17:25:30 +00:00
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
Coroiu Cristina 55a63d1520 Backed out 2 changesets (bug 1523526, bug 1526443) for Be bustage on Windows AArch on a CLOSED TREE
Backed out changeset 98013639d600 (bug 1526443)
Backed out changeset e8ac4b512f9d (bug 1523526)
2019-05-20 20:21:56 +03:00
David Major 250aff00e7 Bug 1523526 - Don't allow CFG on old releases of Windows for arm64 r=bobowen,aklotz
There's a bug in ole32.dll on arm64 versions of Windows prior to 1809, that crashes our content processes if we enable CFG. We've reported the issue, but even if it gets fixed, we can't assume users will have the update.

This patch uses process mitigation policy flags to disable CFG on arm64 before 1809. Based on testing, we only need to do this in the sandbox for child processes, and it's not strictly necessary for the launcher stub to set the flag on the main process. But I've included that anyway as a guard against some yet-undiscovered scenario that might hit the issue and make the browser unusable.

The effects of this patch won't be visible until we actually enable CFG in a subsequent landing.

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

--HG--
extra : moz-landing-system : lando
2019-05-07 18:37:13 +00:00
ffxbld 132d447ea6 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D31781

--HG--
extra : moz-landing-system : lando
2019-05-20 12:42:12 +00:00
Julien Cristau 92574b8f84 Bug 1536463 - remove expiring security.pkcs11_modules_loaded telemetry. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D27273

--HG--
extra : moz-landing-system : lando
2019-04-15 12:53:37 +00:00
Bogdan Tara cb81e93f4e Backed out changeset 8e8ea33ecb3d (bug 1552602) for test_interfaces_secureContext.html failures 2019-05-18 07:06:09 +03:00
J.C. Jones ebadc19bdf Bug 1552602 - Disable FIDO U2F API for Android r=keeler
Per https://bugzilla.mozilla.org/show_bug.cgi?id=1550625#c5 there is no
mechanism available for FIDO U2F JS API operations on Android. The exposed API
is FIDO2/WebAuthn-only. As such, Firefox cannot support FIDO U2F JS API
operations on Android, and we should disable the u2f preference so that
window.u2f is not set inappropriately.

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

--HG--
extra : moz-landing-system : lando
2019-05-17 23:45:47 +00:00
J.C. Jones 89a4b84031 Bug 1551342 - Fix conflicts w/ Android FIDO2 and Rust u2f-hid-rs r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D31366

--HG--
extra : moz-landing-system : lando
2019-05-16 07:54:44 +00:00
ffxbld fc63b3d821 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D31422

--HG--
extra : moz-landing-system : lando
2019-05-16 13:00:29 +00:00
Dana Keeler 69828aa2fe Bug 1548365 - enable intermediate preloading on early beta or earlier r=froydnj,jcj
This also enables using cert_storage for OneCRL, since it and intermediate
preloading both use the same backend.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 00:03:09 +00:00
Kevin Jacobs b93f23a66b Bug 1535210 - Set SSL STATE_IS_BROKEN flag for TLS1.0 and TLS 1.1 connections. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D29576

--HG--
extra : moz-landing-system : lando
2019-05-15 23:34:52 +00:00
Dana Keeler 6d703cdf92 bug 1548040 - batch cert_storage certificate adding/removal r=jcj,myk
Differential Revision: https://phabricator.services.mozilla.com/D30271

--HG--
extra : moz-landing-system : lando
2019-05-14 20:51:10 +00:00
Nathan Froyd 279e2583b7 Bug 1551698 - disable PGO on some low-level windows files; r=dmajor
PGO instrumentation interacts badly with this code, and it's not crucial
that this code be lightning fast.

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

--HG--
extra : moz-landing-system : lando
2019-05-15 13:00:39 +00:00
Mathieu Leplatre 268d77c37f Bug 1547995 - Upgrade kinto-offline-client.js to v12.4.0 r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D30356

--HG--
extra : moz-landing-system : lando
2019-05-13 09:30:54 +00:00
Andrew McCreight 2841945140 Bug 1550860 - Mark implicit builtinclass interfaces explicitly. r=nika
If an XPIDL interface has a method or attribute that is [notxpcom],
then it is implicitly treated as [builtinclass], even if it is not
marked as such. For clarity, this patch goes through and marks every
place that relies on this behavior (aside from some test code).

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

--HG--
extra : moz-landing-system : lando
2019-05-13 19:51:49 +00:00
J.C. Jones 08b56650d2 Bug 1551230 - Enable WebAuthn for Nightly Fennec r=KevinJacobs,keeler
Differential Revision: https://phabricator.services.mozilla.com/D30937

--HG--
extra : moz-landing-system : lando
2019-05-13 16:24:57 +00:00
ffxbld 978abcee6f No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D30903

--HG--
extra : moz-landing-system : lando
2019-05-13 12:59:57 +00:00
Michal Novotny cefd9f350e Bug 1550834 - Don't use TLS session ticket if the channel is isolated by anti-tracking checks, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D30686

--HG--
extra : moz-landing-system : lando
2019-05-10 20:53:08 +00:00
Narcis Beleuzu 035ea12dc3 Backed out 2 changesets (bug 1547995) for xpcshell failures on /test_remote_settings.js . CLOSED TREE
Backed out changeset 0bcfcc0bbc65 (bug 1547995)
Backed out changeset 411f5783f046 (bug 1547995)
2019-05-12 14:18:35 +03:00
Mathieu Leplatre 62f3958c34 Bug 1547995 - Upgrade kinto-offline-client.js to v12.4.0 r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D30356

--HG--
extra : moz-landing-system : lando
2019-05-09 16:38:56 +00:00
Razvan Maries 6d2cd4ea8b Merge mozilla-inbound to mozilla-central a=merge 2019-05-11 12:28:35 +03:00
J.C. Jones d9eeca3c6c Bug 1539227 - land NSS NSS_3_44_RTM UPGRADE_NSS_RELEASE, r=me 2019-05-10 22:43:57 +00:00
Daniel Varga 860854d157 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-05-11 00:51:51 +03:00
J.C. Jones 0f55e0eb15 Bug 1539227 - land NSS NSS_3_44_BETA3 UPGRADE_NSS_RELEASE, r=me 2019-05-10 16:53:27 +00:00
Michal Novotny 242a096333 Bug 1546975 - Cache SSL resumption tokens in necko, r=mayhemer
SSLTokensCache is a simple memory only storage for resumption tokens which are get and set using API for external TLS session caches in NSS.

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

--HG--
extra : moz-landing-system : lando
2019-05-09 22:04:43 +00:00
ffxbld 6b6a4743bb No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D30488

--HG--
extra : moz-landing-system : lando
2019-05-09 12:41:52 +00:00
Oana Pop Rus 6934ea323a Merge inbound to mozilla-central. a=merge 2019-05-09 00:50:52 +03:00
Mathieu Leplatre 3f60f66f05 Bug 1547994 - Remove preference that can disable Remote Settings signature verification r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D29656

--HG--
extra : moz-landing-system : lando
2019-05-07 14:16:22 +00:00
Haik Aftandilian 45bb7b8823 Bug 1546544 - Enable TCSM r=asuth,spohl,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D29046

--HG--
extra : moz-landing-system : lando
2019-05-07 22:16:14 +00:00
J.C. Jones 9b769ac3e9 Bug 1391438 - Support FIDO2 for WebAuthn on Android r=snorp,keeler
Support using the Google Play-provided FIDO2 API for Web Authentication.

FIDO U2F API support  is being handled subsequently in Bug 1550625.

This patch uses the privileged APIs and thus will only work on Fennec Nightly, Beta, and Release builds.

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

--HG--
extra : moz-landing-system : lando
2019-05-10 16:40:17 +00:00
shindli 99a2a5a955 Merge inbound to mozilla-central. a=merge 2019-05-07 12:46:42 +03:00
arthur.iakab 62df572c1c Backed out 2 changesets (bug 1546544) for causing mochitest-chrome test failures on automation.py CLOSED TREE
Backed out changeset d4b67960c0f9 (bug 1546544)
Backed out changeset fda45db5f8e9 (bug 1546544)
2019-05-07 05:38:37 +03:00
Gijs Kruitbosch d8a027e065 Bug 1257565 - switch gfx blocklist over to kinto-based storage, r=leplatrem,aswan
Differential Revision: https://phabricator.services.mozilla.com/D29833

--HG--
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_gfxBlacklist.xml => toolkit/mozapps/extensions/test/xpcshell/data/test_gfxBlacklist.json
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_gfxBlacklist2.xml => toolkit/mozapps/extensions/test/xpcshell/data/test_gfxBlacklist2.json
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_gfxBlacklist_AllOS.xml => toolkit/mozapps/extensions/test/xpcshell/data/test_gfxBlacklist_AllOS.json
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_gfxBlacklist_OSVersion.xml => toolkit/mozapps/extensions/test/xpcshell/data/test_gfxBlacklist_OSVersion.json
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/head.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/head.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_blocklist_gfx.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_blocklist_gfx.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_Device.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_Device.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_DriverNew.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_DriverNew.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_Equal_DriverNew.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_Equal_DriverNew.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_Equal_DriverOld.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_Equal_DriverOld.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_Equal_OK.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_Equal_OK.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_GTE_DriverOld.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_GTE_DriverOld.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_GTE_OK.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_GTE_OK.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_No_Comparison.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_No_Comparison.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_OK.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_OK.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_OS.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_OS.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_OSVersion_match.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_OSVersion_match.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_OSVersion_mismatch_DriverVersion.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_OSVersion_mismatch_DriverVersion.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_OSVersion_mismatch_OSVersion.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_OSVersion_mismatch_OSVersion.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_Vendor.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_Vendor.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_Version.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_Version.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_prefs.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_prefs.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/xpcshell.ini => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/xpcshell.ini
extra : moz-landing-system : lando
2019-05-07 00:55:32 +00:00
Oana Pop Rus 251b4874dc Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-05-07 01:33:06 +03:00
Oana Pop Rus 65399363fb Merge inbound to mozilla-central. a=merge 2019-05-07 00:45:24 +03:00
Oana Pop Rus 1a0cadf59d Merge autoland to mozilla-central. a=merge 2019-05-07 00:43:07 +03:00
Dana Keeler c41a8afa77 bug 1549249 - hard-code new add-on signing intermediate so it's always available r=jcj,kmag a=ryanvm
Summary:
Our previous approach to making this intermediate available relied on being able
to add it to the user's NSS cert DB. This does work in the majority of cases,
but there are some situations where it doesn't work (e.g. if the user's DB is
set to read only, if they've configured Firefox to run in "nocertdb" mode, if
they have a master password but forgot it, and so on). This patch compiles the
intermediate in to Firefox in the same way we incorporate the root, so it should
always be available.

At the same time, this patch reverts the changes from
023dd959512e2cfa685187616560f91efa91183c and
1d35f8d88bdd007e01d42c4ff76c6d10d7c01a98 (the patches that implemented the
original approach) because they should no longer be necessary.

Reviewers: jcj!, kmag!

Tags: #secure-revision

Bug #: 1549249

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

--HG--
extra : amend_source : dd475918be3f263a4a363c66a60edc708d3bdcca
extra : histedit_source : b6861a1d7c7ddbe07d5df73d76734d9a48ee3164%2C54cbc4b0446ff1ee3dc860bb2d3798ba8f662566
2019-05-06 10:42:52 -07:00