Commit Graph

12805 Commits

Author SHA1 Message Date
Bob Owen
e19c11cd2a Bug 1423296: Don't use MITIGATION_IMAGE_LOAD_NO_LOW_LABEL when running from a network drive. r=jimm 2017-12-08 19:00:54 +00:00
shindli
2f09c0a994 Merge mozilla-central to inbound. r=merge a=merge CLOSED TREE 2017-12-08 00:26:07 +02:00
shindli
0bed6b5d6d Merge inbound to mozilla-central r=merge a=merge 2017-12-08 00:12:14 +02:00
ffxbld
8e05423bf3 No bug, Automated HPKP preload list update from host bld-linux64-spot-034 - a=hpkp-update 2017-12-07 12:05:58 -08:00
ffxbld
62f9cfe3ca No bug, Automated HSTS preload list update from host bld-linux64-spot-034 - a=hsts-update 2017-12-07 12:05:54 -08:00
ffxbld
10287820a9 No bug, Automated HPKP preload list update from host bld-linux64-spot-030 - a=hpkp-update 2017-12-07 11:18:38 -08:00
ffxbld
e88025e01c No bug, Automated HSTS preload list update from host bld-linux64-spot-030 - a=hsts-update 2017-12-07 11:18:34 -08:00
Andreea Pavel
89531e8dc3 Backed out 9 changesets (bug 1412456) for crashing talos g2 and unexpected network connections in browser-chrome's browser_searchEngine_behaviors.js r=backout a=backout on a CLOSED TREE
Backed out changeset 0c01a98f4fd5 (bug 1412456)
Backed out changeset 27077db47231 (bug 1412456)
Backed out changeset f35ec2a884f8 (bug 1412456)
Backed out changeset 602b30ac3c69 (bug 1412456)
Backed out changeset b1ff1050c589 (bug 1412456)
Backed out changeset f100d953f9eb (bug 1412456)
Backed out changeset d85af60fe259 (bug 1412456)
Backed out changeset 736f38486832 (bug 1412456)
Backed out changeset 13a637602dc2 (bug 1412456)
2017-12-07 12:20:21 +02:00
Bob Owen
8ba04e79f9 Bug 1422053: Create Windows sandbox sLaunchErrors hashtable on the main thread. r=aklotz 2017-12-07 09:07:43 +00:00
Bill McCloskey
9f4d083047 Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-07 12:55:24 -08:00
Bob Owen
cd83addd77 Bug 1395187: Use STARTF_FORCEOFFFEEDBACK flag when starting Windows child processes to prevent app starting cursor. r=jimm 2017-12-07 10:24:38 +00:00
Bill McCloskey
bef7c122df Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 21:17:05 -08:00
Dorel Luca
eb65c24c7b Backed out 8 changesets (bug 1412456) for ESlint failure on browser_urlbarKeepStateAcrossTabSwitches.js:13:49 r=backout on a CLOSED TREE
Backed out changeset 0e88de036c55 (bug 1412456)
Backed out changeset 49b93f807db0 (bug 1412456)
Backed out changeset 039e980b7dc6 (bug 1412456)
Backed out changeset c7698410ddbd (bug 1412456)
Backed out changeset e56a1ba26b7c (bug 1412456)
Backed out changeset 0c4506e124ac (bug 1412456)
Backed out changeset a7aec2ce903b (bug 1412456)
Backed out changeset 3e9fb71f1e8e (bug 1412456)
2017-12-07 07:09:33 +02:00
Bill McCloskey
be77cf4a01 Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 20:46:58 -08:00
Dorel Luca
777fa218a9 Backed out changeset 4928928a5e46 (bug 1417680) for leaks detected by valgrind r=backout on a CLOSED TREE
--HG--
extra : amend_source : 48d7d6291b7f1e68cc554caa3374cda326d17681
2017-12-07 02:14:25 +02:00
David Keeler
094791c2d0 bug 1417680 - explore the feasibility of not shutting down NSS by no-op-ing the guts of the shutdown infrastructure r=jcj r=franziskus
Adapted from https://wiki.mozilla.org/SecurityEngineering/NSS_Startup_and_Shutdown_in_Gecko :

Properly implementing the coordinated shutdown of NSS has, to date, proved
intractable. For architectural reasons and due to the significant complexity
involved, the NSS resource tracking and shutdown infrastructure has been an
ongoing source of crashes and hangs in Firefox. To that end, we have been
exploring the possibility of not shutting down NSS at all. For this to work, we
have had to address a number of potential concerns.

Certificate and key database corruption: In theory, if Firefox were to exit
without coordinating with NSS, data stored in the certificate and key databases
(backed by BerkeleyDB) could be lost. To mitigate this, we have migrated to
using the sqlite-backed implementation. The databases are now journaled, and
short of a bug in sqlite, we do not anticipate data loss due to database
corruption.

PKCS#11 devices: In theory, if Firefox were to exit without coordinating with
NSS and thus any attached PKCS#11 devices, data could be lost on these devices.
However, it is our understanding that these devices must be robust against
unexpected physical removal. Uncoordinated shutdown should present no worse a
risk to user data.

FIPS 140-2 mode: While Mozilla does not ship a version of Firefox that supports
FIPS mode out of the box, Red Hat does. It is our understanding that clearing
key material is a requirement of FIPS and that not shutting down NSS may pose a
problem for this requirement. Red Hat's FIPS 140-2 Security Policy[0] specifies
that the application (i.e. Firefox) using the module (i.e. NSS) is responsible
for zeroization of key material. More specifically, it says "All plaintext
secret and private keys must be zeroized when the Module is shut down (with a
FC_Finalize call), reinitialized (with a FC_InitToken call), or when the session
is closed (with a FC_CloseSession or FC_CloseAllSessions call)." Thus, if
Firefox never shuts down NSS, this requirement is trivially met.

Leak detection: By not shutting down NSS, technically we leak some allocated
memory until shutdown. This could cause problems if our test infrastructure
detected and reported these leaks. However, it appears not to (which itself is
somewhat concerning). In any case, we will have to deal with this if and when we
can detect these leaks.

Given that these concerns all have at least a preliminary answer, we will move
forward with attempting to not shut down NSS in Firefox. This may expose
unexpected issues that may lead to a reassessment of the situation, so this will
be on a trial basis only in Nightly.

[0] https://csrc.nist.gov/CSRC/media/projects/cryptographic-module-validation-program/documents/security-policies/140sp3070.pdf

MozReview-Commit-ID: LjgEl1UZqkC

--HG--
extra : rebase_source : 99bf715f7f6566ec92ca763eefdbd8d2f69d2ba2
extra : amend_source : d4177cc87f54fccbd49312feef7e29b77bf01432
2017-11-10 15:03:23 -08:00
Dorel Luca
ada131e8c5 Merge autoland to mozilla-central r=merge a=merge 2017-12-06 23:57:33 +02:00
ffxbld
638c4fcef4 No bug, Automated HPKP preload list update from host bld-linux64-spot-030 - a=hpkp-update 2017-12-06 12:06:18 -08:00
ffxbld
d4149255ed No bug, Automated HSTS preload list update from host bld-linux64-spot-030 - a=hsts-update 2017-12-06 12:06:14 -08:00
ffxbld
283abf5e1b No bug, Automated HPKP preload list update from host bld-linux64-spot-033 - a=hpkp-update 2017-12-06 11:12:09 -08:00
ffxbld
7711ad2f7d No bug, Automated HSTS preload list update from host bld-linux64-spot-033 - a=hsts-update 2017-12-06 11:12:06 -08:00
Francesco Lodolo (:flod)
0b2047cb81 Bug 320231 - Update localization notes for length-limited PKCS#11 strings in pipnss.properties r=Pike
MozReview-Commit-ID: 11iUjRi8eUX

--HG--
extra : rebase_source : 029f6e8a06a0d2903297d1726352c584f69ce69d
2017-12-06 12:11:59 +01:00
Tristan Bourvon
1d42ce1f7b Bug 1412646 - Initialize some uninitialized fields in security/manager/ r=keeler
MozReview-Commit-ID: HGj8xw5Uq6j

--HG--
extra : rebase_source : 8c9bd7b966bfdead6244c71642a843e8b9e507ff
2017-10-31 11:04:40 +01:00
Narcis Beleuzu
1f7fdd5826 Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-12-06 01:49:19 +02:00
ffxbld
4df7f01104 No bug, Automated HPKP preload list update from host bld-linux64-spot-037 - a=hpkp-update 2017-12-05 12:00:21 -08:00
ffxbld
276f13a7ec No bug, Automated HSTS preload list update from host bld-linux64-spot-037 - a=hsts-update 2017-12-05 12:00:17 -08:00
ffxbld
fdadcd5373 No bug, Automated HPKP preload list update from host bld-linux64-spot-030 - a=hpkp-update 2017-12-05 11:21:42 -08:00
ffxbld
1516337050 No bug, Automated HSTS preload list update from host bld-linux64-spot-030 - a=hsts-update 2017-12-05 11:21:38 -08:00
shindli
2e08acdf88 Merge inbound to mozilla-central r=merge a=merge 2017-12-05 11:58:51 +02:00
shindli
7c657fc158 Merge autoland to mozilla-central r=merge a=merge 2017-12-05 11:57:21 +02:00
ffxbld
795d7ec557 No bug, Automated HPKP preload list update from host bld-linux64-spot-031 - a=hpkp-update 2017-12-04 15:45:48 -08:00
ffxbld
8294b83561 No bug, Automated HSTS preload list update from host bld-linux64-spot-031 - a=hsts-update 2017-12-04 15:45:44 -08:00
ffxbld
2dd6a8b4ce No bug, Automated HPKP preload list update from host bld-linux64-spot-030 - a=hpkp-update 2017-12-04 11:15:44 -08:00
ffxbld
28bd5a677f No bug, Automated HSTS preload list update from host bld-linux64-spot-030 - a=hsts-update 2017-12-04 11:15:40 -08:00
ffxbld
5fa824ebb0 No bug, Automated HPKP preload list update from host bld-linux64-spot-037 - a=hpkp-update 2017-12-03 11:42:48 -08:00
ffxbld
423369169d No bug, Automated HSTS preload list update from host bld-linux64-spot-037 - a=hsts-update 2017-12-03 11:42:45 -08:00
ffxbld
fd3700d56b No bug, Automated HPKP preload list update from host bld-linux64-spot-030 - a=hpkp-update 2017-12-03 11:03:49 -08:00
ffxbld
c321b37eee No bug, Automated HSTS preload list update from host bld-linux64-spot-030 - a=hsts-update 2017-12-03 11:03:45 -08:00
EKR
477ac066b5 Bug 1422156 - Update tlsFlags to change 0x40 to be compat mode rather than 7e02 handshake. r=keeler
Reviewers: keeler

Reviewed By: keeler

Subscribers: mcmanus

Bug #: 1422156

Differential Revision: https://phabricator.services.mozilla.com/D306
2017-12-02 17:18:33 -08:00
manikishan
8752d4637d Bug 1198481 - Fixed typo 'id_pk_serverAuth' to 'id_kp_serverAuth'. r=keeler 2017-12-02 18:03:18 +05:30
David Keeler
e6fe3285be bug 1421816 - (2/2) add option to sign_app.py to include COSE signatures r=franziskus
MozReview-Commit-ID: H7ZLCsH9HrJ

--HG--
extra : rebase_source : 143ac8bdac4cf000809ada4560382bb9ed582b55
extra : histedit_source : fbb72d143a54fa1cd79af560d515068dcc4610ab
2017-11-29 13:37:42 -08:00
ffxbld
1aeab12df2 No bug, Automated HPKP preload list update from host bld-linux64-spot-036 - a=hpkp-update 2017-12-02 11:45:05 -08:00
ffxbld
932f702aac No bug, Automated HSTS preload list update from host bld-linux64-spot-036 - a=hsts-update 2017-12-02 11:45:01 -08:00
ffxbld
8466d82737 No bug, Automated HPKP preload list update from host bld-linux64-spot-030 - a=hpkp-update 2017-12-02 11:01:49 -08:00
ffxbld
2955ac7f1c No bug, Automated HSTS preload list update from host bld-linux64-spot-030 - a=hsts-update 2017-12-02 11:01:45 -08:00
David Keeler
36f5d05cd8 bug 1397837 - remove vestigial references to "code signing" from PSM r=Cykesiopka,snorp
As of bug 1257362, the platform does not verify code signing certificates in
general, so anything involving the code signing trust of certificates can go.

MozReview-Commit-ID: 9g9kM62xfYZ

--HG--
extra : rebase_source : 5bec64e5f451c8433aff0de82a91f7bd54c24608
2017-12-01 16:16:20 -08:00
Brindusan Cristian
5bedf1df18 Merge autoland to mozilla-central r=merge a=merge 2017-11-30 23:51:58 +02:00
ffxbld
6eac8dccfc No bug, Automated HPKP preload list update from host bld-linux64-spot-301 - a=hpkp-update 2017-11-30 11:03:17 -08:00
ffxbld
39509ef8f2 No bug, Automated HSTS preload list update from host bld-linux64-spot-301 - a=hsts-update 2017-11-30 11:03:13 -08:00
ffxbld
9175066393 No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2017-11-30 10:49:34 -08:00