Commit Graph

17 Commits

Author SHA1 Message Date
mr. m
22e8ff2425 gh-14208: Only set CXX and CC flags for linux (gh-14225) 2026-06-16 11:09:45 +02:00
mr. m
a2f5c1b4ab gh-14208: Lower rust version to 1.90 (gh-14224) 2026-06-16 10:55:44 +02:00
mr. m
af6cc694f4 gh-14208: Install LLVM 22 for rust 1.95 (gh-14222) 2026-06-16 10:37:37 +02:00
mr. m
e9634e1057 no-bug: Move API keys to release script (gh-13309) 2026-04-19 01:11:44 +02:00
mr. m
5163cf68d6 no-bug: update script execution to use bash for mar_sign.sh (gh-13181) 2026-04-09 19:57:59 +02:00
JDX50S
270db6d671 Merge commit from fork
* security: enable MAR signature verification for updates

Remove `--enable-unverified-updates` from the common mozconfig. This flag
was disabling all MAR (Mozilla ARchive) signature verification in the
updater binary, meaning update packages were applied without any
cryptographic authenticity check.

With this flag removed, the Mozilla build system will:
- Link NSS and signmar into the updater binary
- Enable SecVerifyTransformCreate-based signature verification on macOS
- Require MAR files to contain valid signatures before applying

REQUIRED FOLLOW-UP (maintainer action):
1. Generate a Zen-specific MAR signing keypair (RSA-PKCS1-SHA384)
   See: https://firefox-source-docs.mozilla.org/build/buildsystem/mar.html
2. Place the public key DER file(s) in the source tree at
   toolkit/mozapps/update/updater/release_primary.der
3. Sign MAR files during the release build with the private key
4. Set ACCEPTED_MAR_CHANNEL_IDS in update-settings.ini to restrict
   which update channels the updater will accept

Ref: GHSA-qpj9-m8jc-mw6q

* no-bug: Added signature steps

* no-bug: Export browser/installer/package-manifest.in

---------

Co-authored-by: Maliq Barnard <maliqbarnard@Maliqs-MacBook-Air.local>
Co-authored-by: Mr. M <mr.m@tuta.com>
2026-04-09 19:28:31 +02:00
Hythera
3f0f07ac37 fix: script interpreters and permissions, p=#12641 2026-03-05 14:41:55 +01:00
Mr. M
78b1088b41 fix: Make sure to source cargo env before building, b=no-bug, c=workflows 2025-07-24 16:38:02 +02:00
mr. m
a7d652ddca fix: Installing packages on linux and windows builds, b=(no-bug), c=workflows 2025-04-24 07:50:02 +02:00
mr. M
24d8e7a5d7 Replace pnpm with npm in workflows and scripts for consistency across the project 2025-02-03 21:20:29 +01:00
mr. M
dd5461273c Fix package manager commands in release build script 2025-01-14 18:59:19 +01:00
mr. M
9b8b9f5e14 Update release build script to enhance Xvfb configuration by adding -nolisten tcp and -noreset options 2025-01-06 20:07:17 +01:00
mr. M
6c4af27ec6 Update Linux release build workflow and improve package installation; add checks for window.docShell in ZenUIManager 2025-01-06 20:01:52 +01:00
mr. M
ee965e4b74 Update Git configuration and improve release build scripts for consistency 2025-01-06 18:57:06 +01:00
mr. M
5de241c2c6 Clean up whitespace and formatting in various files; update CODEOWNERS and .gitignore 2025-01-04 02:33:00 +01:00
larzie
cc5f813f5e Quick fix
Signed-off-by: larzie <lunar@lavache.com>
2024-11-26 20:38:12 +03:00
mauro-balades
3012c0ad1f Refactor build workflow to include release branch parameter 2024-09-30 22:28:04 +02:00