Commit Graph
14056 Commits
Author SHA1 Message Date
Johann Hofmann af69465a87 Bug 1567826 - Don't mark any secureContext pages as insecure. r=nhnt11,keeler,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D39012
2019-07-30 12:31:22 +00:00
Ciure Andrei 2303cc0498 Backed out changeset ded87cc3f3ee (bug 1567826) for causing browser_check_identity_state.js to perma fail CLOSED TREE 2019-07-30 12:50:29 +03:00
Johann Hofmann ac4798b984 Bug 1567826 - Don't mark any secureContext pages as insecure. r=nhnt11,keeler,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D39012
2019-07-30 07:52:59 +00:00
ffxbld d084934f34 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D39676
2019-07-29 13:29:43 +00:00
Bogdan Tara febe85ed67 Backed out changeset 9bed62de3d16 (bug 1267643) for browser_urlbar_speculative_connect_not_with_client_cert.js failures CLOSED TREE 2019-07-29 13:02:17 +03:00
Kershaw Chang 390a5ce871 Bug 1267643 - Remove client certificate filtering based on CA names r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D39345
2019-07-29 08:48:01 +00:00
J.C. Jones 9ce7f05d1a Bug 1569223 - Add support to pykey.py for exporting EC keys r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D39520
2019-07-26 17:56:31 +00:00
J.C. Jones 7d3a418188 Bug 1569223 - Support EC keys in TLSServer.cpp r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D39519
2019-07-26 19:17:40 +00:00
J.C. Jones bfffc69615 Bug 1569221 - Change TLSServer.cpp to support the modern SSL_ConfigServerCert r=keeler
This patch does not change the existing servers to use the new mechanism, rather
attempting to be minimalist. I filed Bug 1569222 for that.

Differential Revision: https://phabricator.services.mozilla.com/D39518
2019-07-26 20:09:43 +00:00
Jared Wein 18ed860585 Bug 1567667 - Decrypted strings returned from asyncDecryptStrings need to be converted to UTF16. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D39443
2019-07-26 19:13:11 +00:00
Tom Ritter 3ed8d634cc Bug 1563774 - Enable Binary Signature Policy on the RDD process r=bobowen
To do this, we preload the AV libraries. They may not be needed right now,
but by doing this now we ensure that future RDD work won't mysteriously
fail during development for some poor coworker.

Differential Revision: https://phabricator.services.mozilla.com/D37928
2019-07-23 17:49:55 +00:00
Kannan Vijayan c690c1925f Bug 1559414 - Rename unaudited pre-fission methods with SameProcess for future audit burndown. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D39378
2019-07-26 16:48:31 +00:00
Gian-Carlo Pascutto 75fe3e0457 Bug 1565996 - Handle relative paths in linker config parsing. r=jld
Differential Revision: https://phabricator.services.mozilla.com/D38634
2019-07-26 14:03:53 +00:00
Bob Owen d4b2ff541c Bug 1565848: Revert latest change to MITIGATION_DLL_SEARCH_ORDER. r=aklotz
This is until any regressions can be fixed, see bug 1568850.

Differential Revision: https://phabricator.services.mozilla.com/D39357
2019-07-25 17:44:24 +00:00
ffxbld 1e1e4c9cb6 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D39331
2019-07-25 13:20:25 +00:00
Andreea Pavel 8e0ddb50ed Merge mozilla-inbound to mozilla-central. a=merge 2019-07-25 08:59:39 +03:00
Moritz Birghan 6df7a87d00 Bug 1549818 - Removes expired FIPS_ENABLED telemetry probe r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D39027
2019-07-24 19:59:27 +00:00
Haik Aftandilian 1c509a28fb Bug 1566540 - [10.15] Crash in [@ CrashReporter::TerminateHandler] r=spohl
To avoid crashing in macOS 10.15, allow access to the proc_info PROC_INFO_CALL_SETCONTROL syscall variant in the GMP and RDD sandboxes.

Differential Revision: https://phabricator.services.mozilla.com/D39079
2019-07-24 14:48:41 +00:00
Moritz Birghan 821ea4fe9f Bug 1549015 - Removes privilegedPackageRoot r=keeler
nsIX509CertDB::PrivilegedPackageRoot was added in bug 1178518 to support privileged packaged apps for Firefox OS. However, we no longer need to support this use-case.

Differential Revision: https://phabricator.services.mozilla.com/D38655
2019-07-24 19:54:41 +00:00
Kershaw Chang 79ecb78cb9 Bug 1566030 - Remove nsIClientAuthUserDecision r=keeler,snorp
This patch removes nsIClientAuthUserDecision and add another output parameter to nsIClientAuthDialogs.chooseCertificate.

Differential Revision: https://phabricator.services.mozilla.com/D38074
2019-07-24 17:49:45 +00:00
Moritz Birghan 2f0e1f6488 Bug 1567005 - Deletes SECKEYEncryptedPrivateKeyInfo_true r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D39007
2019-07-24 17:08:15 +00:00
J.C. Jones 4bf3b7dccd Bug 1564499 - land NSS a31fc0eefc4c UPGRADE_NSS_RELEASE, r=me 2019-07-23 19:31:53 +00:00
J.C. Jones 26539e06dc Bug 1562773 - Add a preference to enable Delegated Credentials in NSS r=keeler
This patch adds a new pref, "security.tls.enable_delegated_credentials",
default false, which controls the NSS option SSL_ENABLE_DELEGATED_CREDENTIALS.

Tests are in D37918.

Differential Revision: https://phabricator.services.mozilla.com/D37907
2019-07-22 20:53:48 +00:00
Boris Zbarsky 3b6a798675 Bug 1566595. Stop using [array] in nsIBinaryOutputStream. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D38387
2019-07-22 20:27:39 +00:00
Moritz Birghan 7794935240 Bug 1559520 - Removes nsIX509CertDB::DeveloperImportedRoot r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D38052
2019-07-22 13:16:13 +00:00
Ciure Andrei 8116a823a2 Backed out changeset a858e4411532 (bug 1566595) for causing Windows MinGW builds bustages CLOSED TREE 2019-07-22 21:39:08 +03:00
Boris Zbarsky 689bc3e897 Bug 1566595. Stop using [array] in nsIBinaryOutputStream. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D38387
2019-07-22 14:52:04 +00:00
Paul Adenot a77973119d Bug 1565575 - Allow access to AudioComponentRegistrar when doing audio remoting on OSX to be able to use system decoders. r=haik
When audio remoting is enabled, we can remove most of the sandbox exceptions,
except one, that allows using system calls to do decoding of audio and video
using system decoders (h264 and aac). Not doing that results in most mp4 files
to be unplayable, erroring out when doing calls like this:

https://searchfox.org/mozilla-central/rev/da855d65d1fbdd714190cab2c46130f7422f3699/dom/media/platforms/apple/AppleATDecoder.cpp:336
https://searchfox.org/mozilla-central/rev/da855d65d1fbdd714190cab2c46130f7422f3699/dom/media/platforms/apple/AppleATDecoder.cpp:545

We'll be able to remove it again when we'll use the RDD for everything, but in
the meantime, this exception is needed.

Differential Revision: https://phabricator.services.mozilla.com/D38465
2019-07-22 08:22:40 +00:00
ffxbld 954c003b73 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D38858
2019-07-22 13:21:35 +00:00
Kris Maglione 1b5a278b6a Bug 1566952: Part 2 - Update Fission failure annotations after skipping crashes. r=mccr8
When a test crashes, the harness skips all of the remaining tests in the
directory. That means that with crashes skipped, we now try to run a whole lot
more tests than we did before, and a lot of them fail under Fission.

This patch adds annotations to the new failures that show up after part 1.

Differential Revision: https://phabricator.services.mozilla.com/D38726
2019-07-19 12:30:10 -07:00
Dana Keeler ec87d34cf1 bug 1560403 - leave cert_storage's lmdb open in rw mode r=nanj
Bug 1543795 configured lmdb to use less memory when opening a database in
read/write mode, so we can remove the workaround code in cert_storage that was
added in bug 1538093 as a way to mitigate the memory usage.

Differential Revision: https://phabricator.services.mozilla.com/D38525
2019-07-18 21:43:14 +00:00
ffxbld 31f8627fbb No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D38478
2019-07-18 12:58:04 +00:00
Kris Maglione 9f00b7395d Bug 1566182: Annotate mochitests that fail with Fission enabled. r=mccr8
My preference was to annotate most of the failing tests with `fail-if` so that
if they start passing, the `fail-if` needs to be removed and they need to keep
passing. That doesn't work for tests that timeout, or which trigger failures
from their cleanup functions, however, so those tests need skip-if. And tests
with fail in their cleanup functions likely leave the browser in an
inconsistent state for subsequent tests, anyway, so really should be skipped
regardless.

There are some remaining tests which still fail because of crashes. I chose
not to skip them here, but to fix the crashes in separate bugs instead.

Differential Revision: https://phabricator.services.mozilla.com/D38247
2019-07-15 16:19:32 -07:00
Gurzau Raul ff7685aa79 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-07-17 06:53:00 +03:00
Gurzau Raul 529720deed Merge inbound to mozilla-central. a=merge 2019-07-17 06:48:50 +03:00
Moritz Birghan 1a1b40bc92 Bug 1297357 - Switch work from nsNSSCertificateDB::AddCertFromBase64() to nsNSSCertificateDB::AddCert(). r=keeler
Before the nsNSSCertificateDB::AddCert() function encoded the given DER input into Base64 and then called nsNSSCertificateDB::AddCertFromBase64() to do the remaining work. In nsNSSCertificateDB::AddCertFromBase64() the input was then eventually decoded back into DER.
Now nsNSSCertificateDB::AddCertFromBase64() encodes its input into DER and then calls nsNSSCertificateDB::AddCert() which now does the remaining work without converting between formats.

Differential Revision: https://phabricator.services.mozilla.com/D37738
2019-07-16 18:02:49 +00:00
Dana Keeler 46dcbaab8b bug 1564481 - reset HSTS/HPKP state to factory settings rather than storing knockout entries for preloaded sites r=jcj r=KevinJacobs
As originally implemented, nsISiteSecurityService.removeState allowed direct
access to remove HSTS state. It also provided the implementation for when the
browser encountered an HSTS header with "max-age=0". In bug 775370, it was
updated to store an entry that would override preloaded information when
processing such headers. However, this meant that the semantics of the direct
access API had changed. Preloaded information could be overridden if a user
invoked the "forget about this site" feature. This change fixes the public API
(and renames it to "resetState") so it actually behaves as its consumers expect.

Reviewers: jcj!, KevinJacobs!

Tags: #secure-revision

Bug #: 1564481

Differential Revision: https://phabricator.services.mozilla.com/D38108
2019-07-11 13:48:28 -07:00
Mihai Alexandru Michis ac2982ef8b Merge inbound to mozilla-central. a=merge 2019-07-16 07:08:15 +03:00
J.C. Jones 99a6a81973 Bug 1564499 - land NSS 8c6fad5544a6 UPGRADE_NSS_RELEASE, r=me 2019-07-15 21:40:37 +00:00
ffxbld 4f719c735e No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D38063
2019-07-15 17:06:26 +00:00
Bob Owen 3dafcf9f60 Bug 1564899: Make CloseHandleWrapper CHECK a DCHECK on non-Nightly builds. r=handyman
This is because we are hitting it frequently during PolicyBase::OnJobEmpty and
currently we can't work out how this can happen.

Differential Revision: https://phabricator.services.mozilla.com/D38090
2019-07-15 17:19:17 +00:00
Tim Nguyen e12f71afa5 Bug 1565921 - Load editMenuOverlay.js and globalOverlay.js on documents with HTML inputs. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D38018
2019-07-15 11:14:44 +00:00
Carolina a630c4adb0 Bug 1560538 - Opens a new tab to show the certificate. r=johannh,keeler
Not sure what to do in pippki.js, for the moment I put an incorrect id.

Differential Revision: https://phabricator.services.mozilla.com/D35531
2019-07-15 12:32:43 +00:00
Boris Zbarsky 942187fe9e Bug 1565688. Remove unused IOService arg from NS_NewURI. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D37968
2019-07-15 13:39:51 +00:00
ffxbld 122f91bb8d No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D37716
2019-07-11 12:55:28 +00:00
Bob Owen 0843a83209 Bug 1557282: SetLockdownDefaultDacl for content process sandbox policy for Windows 10 or later. r=jmathies
Differential Revision: https://phabricator.services.mozilla.com/D33301
2019-07-10 14:57:01 +00:00
Dana Keeler 30d7c2d3ce bug 1563056 - download the most recent CRLite filter and all following incremental filters r=jcj
Differential Revision: https://phabricator.services.mozilla.com/D37333
2019-07-11 00:29:44 +00:00
Bobby Holley 6cb8dacf00 Bug 1562763 - Move some types around. r=jld
Having to namespace these into GeckoChildProcessHost is annoying. The
|using| declarations help to some extent, but it's easier to just put
them in mozilla::ipc.

Differential Revision: https://phabricator.services.mozilla.com/D36538
2019-07-10 22:37:35 +00:00
Barret Rennie d90b9bbfd1 Bug 1289211 - Rename InfallibleTArray to nsTArray in security/manager/ r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D36967
2019-07-10 03:33:22 +00:00
Ciure Andrei 6f5a4fffef Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-07-10 18:47:38 +03:00