Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Перейти к файлу
David Keeler 455ab646d3 bug 1337950 - work around failing to load a FIPS PKCS#11 module DB in NSS initialization r=Cykesiopka,jcj
Firefox essentially does not support running NSS in FIPS mode any longer. This
has always been the case on Android from what I can tell and it has been the
case on OS X since at least version 34 (see bug 1047584). It became the case on
Windows as of version 53 (see bug 1295937). Unfortunately, before this patch,
if a user attempted to run an affected version of Firefox using a profile
directory containing an NSS database collection that had FIPS enabled, NSS
initialization would fail and fall back to running in no DB mode, which had the
side-effect of making any saved passwords and certificates unavailable. This
patch attempts to detect and work around this failure mode by moving the
PKCS#11 module DB (which is where the FIPS bit is set) to a backup location and
basically running with a fresh, non-FIPS module DB. This allows Firefox to
initialize NSS with the preexisting key and certificate databases available.

MozReview-Commit-ID: 1E4u1ngZyRv

--HG--
rename : security/manager/ssl/tests/unit/test_sdr_preexisting.js => security/manager/ssl/tests/unit/test_broken_fips.js
rename : security/manager/ssl/tests/unit/test_sdr_preexisting/key3.db => security/manager/ssl/tests/unit/test_broken_fips/key3.db
extra : rebase_source : 887f457e998d6e57c6536573fbe3cb10547fe154
2017-04-20 10:31:22 -07:00
.cargo Bug 1277338 - Part 1: Turn js/src into the mozjs-sys crate; r=sfink 2016-10-13 16:12:42 -07:00
.vscode Bug 1341585 - Ignore Visual Studio Code workspace settings and add a recommended extensions file. r=gps,jya 2017-02-22 12:57:57 +01:00
accessible Merge mozilla-central to autoland 2017-04-27 16:36:41 +02:00
addon-sdk Bug 1356810: Follow-up: Fix SDK worker tests. a=merge 2017-04-19 14:10:52 -07:00
browser Merge m-c to autoland, a=merge 2017-04-27 13:37:47 -07:00
build Bug 1353541 Fix rustc in MinGW build r=froydnj,ted 2017-04-26 12:08:59 -05:00
caps Bug 1344170: set firstPartyDomai on blob: URI. r=smaug 2017-04-24 14:12:03 +08:00
chrome Bug 1334278 - change mozilla::Smprintf to return a UniquePtr; r=froydnj 2017-03-03 08:17:27 -07:00
config Bug 1353541 Fix rustc in MinGW build r=froydnj,ted 2017-04-26 12:08:59 -05:00
db Bug 1352260 - Upgrade to SQLite 3.18.0. r=mak 2017-04-01 15:08:18 -04:00
devtools Merge m-c to autoland, a=merge 2017-04-27 13:37:47 -07:00
docshell Bug 1348044 - Mark the channel as UrgentStart for top level document loading. r=smaug 2017-04-26 04:27:00 -04:00
dom Merge m-c to autoland, a=merge 2017-04-27 13:37:47 -07:00
editor Merge inbound to m-c a=merge 2017-04-25 13:53:00 -07:00
embedding Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
extensions Bug 1354635 - Send permissions to the content process when debugging service workers, r=catalinb 2017-04-18 14:38:56 -04:00
gfx Merge autoland to central, a=merge 2017-04-27 12:44:03 -07:00
gradle/wrapper Bug 1300094 - Update Gradle to 2.14.1 and Gradle Plugin to 2.1.3 r=sebastian 2016-09-22 14:31:01 -07:00
hal Bug 1357323 - Remove the gonk code that was referenced by the build system. r=gps 2017-04-18 17:46:39 +09:00
image Merge inbound to central, a=merge 2017-04-21 17:30:43 -07:00
intl Merge m-c to autoland, a=merge 2017-04-20 15:52:28 -07:00
ipc Merge inbound to central, a=merge CLOSED TREE 2017-04-26 17:30:31 -07:00
js Merge inbound to central, a=merge CLOSED TREE 2017-04-26 17:30:31 -07:00
layout Bug 1341102 - Update expectations a=bustage 2017-04-27 14:06:54 -07:00
media Merge m-c to autoland, a=merge 2017-04-21 17:39:39 -07:00
memory Bug 1334286 - use MOZ_FORMAT_PRINTF in DMD; r=njn 2017-04-21 15:54:05 -06:00
mfbt Backed out changeset 19ea645f562e (bug 1357799) on request 2017-04-27 15:09:53 +02:00
mobile Merge m-c to autoland, a=merge 2017-04-27 13:37:47 -07:00
modules Merge m-c to autoland, a=merge 2017-04-27 13:37:47 -07:00
mozglue Merge inbound to central, a=merge CLOSED TREE 2017-04-26 17:30:31 -07:00
netwerk Bug 1334776 - Store header names into nsHttpHeaderArray. r=mcmanus 2017-04-27 16:48:36 +02:00
nsprpub Bug 1358466 - Define pt_sendto only on Linux and fix comments. r=mcmanus 2017-04-24 17:32:23 +02:00
other-licenses Bug 1345530 - add BUG_COMPONENT to other-licenses/* files. r=tbsaunde, mhowell, overholt 2017-04-05 08:31:10 -04:00
parser Backed out changeset 1f9d0f8e65b9 (bug 1351548) 2017-04-26 13:13:05 +02:00
probes Bug 1344878 - add BUG_COMPONENT to probes/* files. r=Ms2ger 2017-03-24 09:50:48 -04:00
python Merge inbound to m-c a=merge 2017-04-25 13:53:00 -07:00
rdf Bug 1353143 - Part 5: Replace direct usage of PR_LogPrint. r=froydnj 2017-04-04 14:36:21 -07:00
security bug 1337950 - work around failing to load a FIPS PKCS#11 module DB in NSS initialization r=Cykesiopka,jcj 2017-04-20 10:31:22 -07:00
services Bug 1359140 - Fix various ESLint issues in services/ (mostly automatic). r=markh 2017-04-24 18:52:57 +01:00
servo servo: Merge #16598 - Fix various build warnings (from aacunningham:fix-build-errors); r=jdm 2017-04-25 01:02:56 -05:00
startupcache Bug 1024669 - Part 1: Annotate crash reports with thread names. r=gsvelto 2017-02-07 18:57:23 +08:00
storage Bug 1334278 - change mozilla::Smprintf to return a UniquePtr; r=froydnj 2017-03-03 08:17:27 -07:00
taskcluster Merge inbound to central, a=merge CLOSED TREE 2017-04-26 17:30:31 -07:00
testing Bug 1359988 - Remove retrieve_b2g_device(); r=mshal 2017-04-26 13:59:36 -07:00
third_party/rust Merge m-c to graphics 2017-04-25 08:32:48 -04:00
toolkit Merge m-c to autoland, a=merge 2017-04-27 13:37:47 -07:00
tools Merge inbound to central, a=merge 2017-04-27 13:00:07 -07:00
uriloader Bug 1355585 - Streamline the format of "handlers.json", align the implementation, and reorganize tests. r=mak 2017-04-24 11:29:46 +01:00
view Bug 1354933. Assert that the frame pointer is null in the nsView destructor. r=mats 2017-04-18 18:17:35 -05:00
widget Merge inbound to m-c a=merge 2017-04-25 13:53:00 -07:00
xpcom Merge inbound to central, a=merge 2017-04-27 13:00:07 -07:00
xpfe Merge inbound to m-c a=merge 2017-04-25 13:53:00 -07:00
.clang-format Bug 1322321 - Update the clang format file to match more our coding style r=ehsan 2016-12-06 17:43:17 -10:00
.clang-format-ignore Bug 1341423 - Integrate OpenVR binding library r=daoshengmu 2017-02-27 16:59:30 -08:00
.clang-tidy Bug 1319396 - Update the list of checkers in the .clang-tidy file r=Ehsan 2016-11-22 12:30:19 +01:00
.cron.yml Bug 1357867 - Land in progress OSX cross compile nightly support. r=dustin 2017-04-18 09:36:27 -04:00
.eslintignore Bug 1359541 - Enable eslint on mobile/android/tests; r=standard8,snorp 2017-04-27 07:52:58 -06:00
.eslintrc.js Bug 1358050: Add no-implied-eval rule to eslint config r=standard8 2017-04-20 10:33:22 +02:00
.flake8 Bug 1321956 - Disable flake8 check for 'visually indented line with same indent as next logical line', r=ahal 2016-12-08 09:53:21 -10:00
.gdbinit Bug 1317802 - don't stop for SIGSYS in .gdbinit; r=jld 2016-11-16 01:13:22 -05:00
.gdbinit_python bug 985566 - add some pretty printers to .gdbinit r=froydnj r=glandium 2016-06-02 13:33:07 -04:00
.gitignore Bug 1359427 - Hide top-level gecko.log from VCSes; r=gps 2017-04-25 15:30:38 +01:00
.hgignore Bug 1359427 - Hide top-level gecko.log from VCSes; r=gps 2017-04-25 15:30:38 +01:00
.hgtags No bug - Tagging mozilla-central 6583496f169cd8a13c531ed16e98e8bf313eda8e with FIREFOX_AURORA_54_BASE a=release DONTBUILD CLOSED TREE 2017-03-06 23:43:32 +01:00
.inferconfig Bug 1357629 - Add httpclientandroidlib to .inferconfig ignore list r=nalexander,njpark 2017-04-18 20:05:25 -07:00
.lldbinit Bug 1254128 - Make the Mozilla .lldbinit use the full path for topsrcdir. r=sparky 2016-03-01 16:36:08 +00:00
.taskcluster.yml Bug 591688 - Notify when decision task fails r=dustin,gps 2017-04-12 21:01:46 -07:00
.ycm_extra_conf.py Bug 1293534: Fix .ycm_extra_conf after bug 1195748. r=gps 2016-08-09 10:30:58 -07:00
AUTHORS Bug 1349980 - update task generation to support -g in try syntax for running OS X tasks in generic-worker,r=dustin 2017-04-06 18:50:41 +02:00
Android.mk
CLOBBER Bug 1356927 followup, touch CLOBBER for Mac ranlib change 2017-04-18 18:50:48 -07:00
GNUmakefile
LEGAL
LICENSE
Makefile.in bug 1355961 - add some sccache stats to build_metrics. r=gps 2017-04-12 15:06:22 -04:00
README.txt Bug 1349108 - Update links in README.txt to HTTPS r=RyanVM 2017-03-21 00:11:02 -04:00
aclocal.m4 Bug 1262155 - Use moz.build instead of libffi's build system. r=ted,glandium 2016-08-08 16:58:54 -07:00
build.gradle Bug 1318823 - Use com.getkeepsafe.dexcount in Gradle builds. r=sebastian 2016-11-18 18:28:58 -08:00
client.mk Bug 1317778 - Emit a depfile with python configure dependencies so Make will know when to re-run configure. r=glandium 2016-12-02 10:05:57 -08:00
client.py
configure.in Bug 1295751 - Make it possible to copy configure.in to configure. r=gps 2016-08-16 19:35:00 -07:00
configure.py Bug 1316140 - Allow use of multiprocessing from config.status on windows. r=mshal 2016-12-21 16:28:28 -08:00
gradle.properties
gradlew
mach Bug 1316140 - Allow use of multiprocessing from config.status on windows. r=mshal 2016-12-21 16:28:28 -08:00
moz.build Bug 1262241 - Move the definition of the js library to a subdirectory. r=mshal 2017-04-04 11:43:14 +09:00
moz.configure Bug 1353810 - add a --enable-rust-debug option; r=chmanchester 2017-04-12 21:49:25 -04:00
mozilla-config.h.in
npm-shrinkwrap.json Bug 1355776 - Upgrade ESLint to version 3.19.0 to pick up autofix improvements and other fixes. r=mossop 2017-04-12 12:07:01 +01:00
old-configure.in Bug 1353541 Fix rustc in MinGW build r=froydnj,ted 2017-04-26 12:08:59 -05:00
package.json Bug 1355776 - Upgrade ESLint to version 3.19.0 to pick up autofix improvements and other fixes. r=mossop 2017-04-12 12:07:01 +01:00
settings.gradle Bug 1291363 - Add geckoview and geckoview_example Gradle projects. r=jchen,sebastian 2016-10-05 20:23:38 -07:00
test.mozbuild

README.txt

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on https://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://nightly.mozilla.org/