public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Than Ngo <than@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/chromium] f45: - Enable extension signature validation to prevent any modifications to extension contents
Date: Wed, 30 Sep 2026 18:24:49 GMT [thread overview]
Message-ID: <179079268990.1.8629451030772444382.rpms-chromium-c393799d8096@fedoraproject.org> (raw)
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
reply other threads:[~2026-09-30 18:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179079268990.1.8629451030772444382.rpms-chromium-c393799d8096@fedoraproject.org \
--to=than@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox