diff --git a/0001-schemas-add-new-lockdown-setting-for-password-showin.patch b/0001-schemas-add-new-lockdown-setting-for-password-showin.patch new file mode 100644 index 0000000000000000000000000000000000000000..82b0ff00e335bd8b3db3f0424061f742edcfd214 --- /dev/null +++ b/0001-schemas-add-new-lockdown-setting-for-password-showin.patch @@ -0,0 +1,38 @@ +From 7cb02a1c179e163170b58e3cbd94584624d996c0 Mon Sep 17 00:00:00 2001 +From: Ray Strode +Date: Wed, 21 Aug 2019 13:41:08 -0400 +Subject: [PATCH] schemas: add new lockdown setting for password showing + +A convenient feature of many password entries is the +"Show Password" menu that lets the user see what password +is hidden behind the bullets they're typing. + +While certainly useful, it can also be problematic in some +deployments, and violate security policies. + +This commit adds a new setting to rid users of that "Show Password" +menu item. +--- + schemas/org.gnome.desktop.lockdown.gschema.xml.in | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/schemas/org.gnome.desktop.lockdown.gschema.xml.in b/schemas/org.gnome.desktop.lockdown.gschema.xml.in +index d31fb77..e5e408e 100644 +--- a/schemas/org.gnome.desktop.lockdown.gschema.xml.in ++++ b/schemas/org.gnome.desktop.lockdown.gschema.xml.in +@@ -79,5 +79,12 @@ + devices (i.e. flash disks, mobile phones, cameras). + + ++ ++ false ++ Disable password showing ++ ++ Disable the "Show Password" menu item in password entries. ++ ++ + + +-- +2.51.0 + diff --git a/dist b/dist index 1f9f8c9bbdfdaf483d0bfdf0bf3c48d3cad6b1b9..ec5bdb4cc437e187f806be52e83719b5077c64de 100644 --- a/dist +++ b/dist @@ -1 +1 @@ -an9_6 +an9_7 diff --git a/gsettings-desktop-schemas.spec b/gsettings-desktop-schemas.spec index 3479a93bfc1dd79c4056735762e67c32a87099a1..573e8361b2ae3ec5dfa1bc9bc3b49db26f399596 100644 --- a/gsettings-desktop-schemas.spec +++ b/gsettings-desktop-schemas.spec @@ -4,7 +4,7 @@ Name: gsettings-desktop-schemas Version: 40.0 -Release: 7%{anolis_release}%{?dist} +Release: 8%{anolis_release}%{?dist} Summary: A collection of GSettings schemas License: LGPLv2+ @@ -16,6 +16,10 @@ Source0: https://download.gnome.org/sources/%{name}/40/%{name}-%{tarball_ # https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/-/merge_requests/111 Patch: 0001-schema-Add-restart-enabled-on-screensaver-schema.patch +# RHEL-123140 +# https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/-/merge_requests/28 +Patch1: 0001-schemas-add-new-lockdown-setting-for-password-showin.patch + BuildRequires: gettext BuildRequires: glib2-devel >= 2.31.0 BuildRequires: gobject-introspection-devel @@ -93,9 +97,13 @@ glib-compile-schemas --dry-run --strict %{buildroot}%{_datadir}/glib-2.0/schemas %doc AUTHORS MAINTAINERS NEWS README %changelog -* Tue Oct 21 2025 Xiaoping Liu - 40.0-7.0.1 +* Tue Nov 25 2025 Xiaoping Liu - 40.0-8.0.1 - Add doc sub package +* Tue Oct 21 2025 Joan Torres - 40.0-8 +- Add an option to disable showing password entry at login/lockscreen + Resolves: RHEL-123140 + * Wed Jul 16 2025 Joan Torres - 40.0-7 - Add an option to enable restart/shutdown at lockscreen Resolves: RHEL-103998