diff --git a/SOURCES/0001-schemas-Add-new-lockdown-setting-for-password-showing.patch b/SOURCES/0001-schemas-Add-new-lockdown-setting-for-password-showing.patch new file mode 100644 index 0000000..07fe550 --- /dev/null +++ b/SOURCES/0001-schemas-Add-new-lockdown-setting-for-password-showing.patch @@ -0,0 +1,35 @@ +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. ++ ++ + + diff --git a/SPECS/gsettings-desktop-schemas.spec b/SPECS/gsettings-desktop-schemas.spec index 480a437..4f46d8c 100644 --- a/SPECS/gsettings-desktop-schemas.spec +++ b/SPECS/gsettings-desktop-schemas.spec @@ -2,7 +2,7 @@ Name: gsettings-desktop-schemas Version: 3.32.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A collection of GSettings schemas License: LGPLv2+ @@ -16,6 +16,7 @@ Patch0: add-mount-removable-storage-devices-as-read-only-option.patch # Backport from 3.33.1 Patch1: 0001-schemas-Add-enable-hot-corners-setting.patch Patch2: 0001-Add-a-setting-for-overlay-scrolling.patch +Patch3: 0001-schemas-Add-new-lockdown-setting-for-password-showing.patch BuildRequires: gettext BuildRequires: glib2-devel >= 2.31.0 @@ -87,6 +88,10 @@ glib-compile-schemas --dry-run --strict $RPM_BUILD_ROOT%{_datadir}/glib-2.0/sche %changelog +* Tue Jul 20 2021 Ray Strode - 3.32.0-6 +- Add setting for locking down Show Password in entries + Related: #1770302 + * Mon Jun 29 2020 Carlos Garnacho - 3.32.0-5 - Recommend DejaVu Sans Mono font as the default monospace font Resolves: #1656262