public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/chromium] f45: - Enable extension signature validation to prevent any modifications to extension contents
@ 2026-09-30 18:24 Than Ngo
0 siblings, 0 replies; only message in thread
From: Than Ngo @ 2026-09-30 18:24 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : f45
Commit : c393799d809602ea145077d2715d76b50735f507
Author : Than Ngo <than@redhat.com>
Date : 2026-09-30T20:20:28+02:00
Stats : +52/-2 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/c393799d809602ea145077d2715d76b50735f507?branch=f45
Log:
- Enable extension signature validation to prevent any modifications to extension contents
- Disable auto-download of widevine binary
- Set DISABLE_FEATURES when run in VM
---
diff --git a/chromium-154-set-extension-content-verification-enforce_strict.patch b/chromium-154-set-extension-content-verification-enforce_strict.patch
new file mode 100644
index 0000000..cc68321
--- /dev/null
+++ b/chromium-154-set-extension-content-verification-enforce_strict.patch
@@ -0,0 +1,20 @@
+Author: Than Ngo <than@redhat.com>
+
+ Enable extension signature validation to prevent any modifications to extension contents
+ in chromium
+
+diff -up chromium-154.0.8037.92/chrome/browser/extensions/chrome_content_verifier_delegate.cc.me chromium-154.0.8037.92/chrome/browser/extensions/chrome_content_verifier_delegate.cc
+--- chromium-154.0.8037.92/chrome/browser/extensions/chrome_content_verifier_delegate.cc.me 2026-09-30 16:04:51.168474332 +0200
++++ chromium-154.0.8037.92/chrome/browser/extensions/chrome_content_verifier_delegate.cc 2026-09-30 16:04:59.493101635 +0200
+@@ -103,11 +103,7 @@ ChromeContentVerifierDelegate::GetDefaul
+ #endif // BUILDFLAG(PLATFORM_CFM)
+
+ VerifyInfo::Mode experiment_value;
+-#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
+ experiment_value = VerifyInfo::Mode::ENFORCE_STRICT;
+-#else
+- experiment_value = VerifyInfo::Mode::NONE;
+-#endif
+ const std::string group =
+ base::FieldTrialList::FindFullName(kContentVerificationExperimentName);
+ if (group == "EnforceStrict")
diff --git a/chromium-154-widevine-no-download.patch b/chromium-154-widevine-no-download.patch
new file mode 100644
index 0000000..001b548
--- /dev/null
+++ b/chromium-154-widevine-no-download.patch
@@ -0,0 +1,18 @@
+Author: Than Ngo <than@redhat.com>
+
+ Disable auto-download of widevine binary
+
+diff -up chromium-154.0.8037.92/chrome/browser/component_updater/registration.cc.me chromium-154.0.8037.92/chrome/browser/component_updater/registration.cc
+--- chromium-154.0.8037.92/chrome/browser/component_updater/registration.cc.me 2026-09-30 16:52:54.363835630 +0200
++++ chromium-154.0.8037.92/chrome/browser/component_updater/registration.cc 2026-09-30 16:53:56.806333646 +0200
+@@ -143,10 +143,6 @@ void RegisterComponentsForUpdate() {
+ RegisterRecoveryImprovedComponent(cus, g_browser_process->local_state());
+ #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
+
+-#if BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT)
+- RegisterWidevineCdmComponent(cus);
+-#endif // BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT)
+-
+ RegisterSubresourceFilterComponent(cus);
+ RegisterOnDeviceHeadSuggestComponent(
+ cus, g_browser_process->GetApplicationLocale());
diff --git a/chromium.conf b/chromium.conf
index 46e002d..f1ff1f3 100644
--- a/chromium.conf
+++ b/chromium.conf
@@ -1,3 +1,7 @@
+#
+# Author: Than Ngo <than@redhat.com>
+#
+
# system wide chromium flags
ARCH="$(arch)"
@@ -54,7 +58,6 @@ esac
if [ "$MODE" != "none" ] ; then
# chromium in VM, running with standard setting
CHROMIUM_FLAGS=""
- DISABLE_FEATURES=""
ENABLE_FEATURES=""
fi
diff --git a/chromium.spec b/chromium.spec
index 53f629c..11082c4 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -290,6 +290,12 @@ Patch1: chromium-115-initial_prefs-etc-path.patch
# Try to load widevine from other places
Patch8: chromium-117-widevine-other-locations.patch
+# Disable downloading Widevine CDM component
+Patch9: chromium-154-widevine-no-download.patch
+
+# Set extension-content-verification to enforce_strict by default
+Patch10: chromium-154-set-extension-content-verification-enforce_strict.patch
+
# debian patches
# disable font-test
Patch20: chromium-disable-font-tests.patch
@@ -1086,12 +1092,15 @@ Qt6 UI for chromium.
### Chromium Fedora Patches ###
%patch -P1 -p1 -b .etc
%patch -P8 -p1 -b .widevine-other-locations
-
+%patch -P9 -p1 -b .widevine-no-download
+%patch -P10 -p1 -b .set-extension-content-verification-enforce_strict
%patch -P20 -p1 -b .disable-font-test
%patch -P21 -p1 -b .screen-ai-service
+
%if ! %{use_custom_libcxx}
%patch -P22 -p1 -b .fix-qt-ui
%endif
+
%patch -P23 -p1 -b .build-error-libpng_for_testonly
%if 0%{?fedora} || 0%{?rhel} && 0%{?rhel} > 10
%patch -P24 -p1 -b .glibc-2.42-baud-rate-fix
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-30 18:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-30 18:24 [rpms/chromium] f45: - Enable extension signature validation to prevent any modifications to extension contents Than Ngo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox