-
- Downloads
Bug 13379: Sign our MAR files.
Configure with --enable-signmar (build the signmar tool). Configure with --enable-verify-mar (when updating, require a valid signature on the MAR file before it is applied). Use the Tor Browser version instead of the Firefox version inside the MAR file info block (necessary to prevent downgrade attacks). Use NSS on all platforms for checking MAR signatures (instead of using OS-native APIs, which Mozilla does on Mac OS and Windows). So that the NSS and NSPR libraries the updater depends on can be found at runtime, we add the firefox directory to the shared library search path on all platforms.
Showing
- .mozconfig 2 additions, 0 deletions.mozconfig
- .mozconfig-asan 2 additions, 0 deletions.mozconfig-asan
- .mozconfig-mac 2 additions, 0 deletions.mozconfig-mac
- .mozconfig-mingw 2 additions, 0 deletions.mozconfig-mingw
- modules/libmar/tool/mar.c 13 additions, 5 deletionsmodules/libmar/tool/mar.c
- modules/libmar/tool/moz.build 8 additions, 2 deletionsmodules/libmar/tool/moz.build
- modules/libmar/verify/moz.build 3 additions, 10 deletionsmodules/libmar/verify/moz.build
- toolkit/mozapps/update/updater/updater-common.build 21 additions, 9 deletionstoolkit/mozapps/update/updater/updater-common.build
- toolkit/mozapps/update/updater/updater.cpp 14 additions, 7 deletionstoolkit/mozapps/update/updater/updater.cpp
- toolkit/xre/moz.build 3 additions, 0 deletionstoolkit/xre/moz.build
- toolkit/xre/nsUpdateDriver.cpp 35 additions, 37 deletionstoolkit/xre/nsUpdateDriver.cpp
Loading
Please register or sign in to comment