import gsettings-desktop-schemas-3.32.0-6.el8

This commit is contained in:
CentOS Sources 2021-11-09 04:58:01 -05:00 committed by Stepan Oksanichenko
parent beda434a1f
commit e3d6dde7fb
2 changed files with 41 additions and 1 deletions

View File

@ -0,0 +1,35 @@
From 7cb02a1c179e163170b58e3cbd94584624d996c0 Mon Sep 17 00:00:00 2001
From: Ray Strode <rstrode@redhat.com>
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).
</description>
</key>
+ <key name="disable-show-password" type="b">
+ <default>false</default>
+ <summary>Disable password showing</summary>
+ <description>
+ Disable the "Show Password" menu item in password entries.
+ </description>
+ </key>
</schema>
</schemalist>

View File

@ -2,7 +2,7 @@
Name: gsettings-desktop-schemas Name: gsettings-desktop-schemas
Version: 3.32.0 Version: 3.32.0
Release: 5%{?dist} Release: 6%{?dist}
Summary: A collection of GSettings schemas Summary: A collection of GSettings schemas
License: LGPLv2+ License: LGPLv2+
@ -16,6 +16,7 @@ Patch0: add-mount-removable-storage-devices-as-read-only-option.patch
# Backport from 3.33.1 # Backport from 3.33.1
Patch1: 0001-schemas-Add-enable-hot-corners-setting.patch Patch1: 0001-schemas-Add-enable-hot-corners-setting.patch
Patch2: 0001-Add-a-setting-for-overlay-scrolling.patch Patch2: 0001-Add-a-setting-for-overlay-scrolling.patch
Patch3: 0001-schemas-Add-new-lockdown-setting-for-password-showing.patch
BuildRequires: gettext BuildRequires: gettext
BuildRequires: glib2-devel >= 2.31.0 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 %changelog
* Tue Jul 20 2021 Ray Strode <rstrode@redhat.com> - 3.32.0-6
- Add setting for locking down Show Password in entries
Related: #1770302
* Mon Jun 29 2020 Carlos Garnacho <cgarnach@redhat.com> - 3.32.0-5 * Mon Jun 29 2020 Carlos Garnacho <cgarnach@redhat.com> - 3.32.0-5
- Recommend DejaVu Sans Mono font as the default monospace font - Recommend DejaVu Sans Mono font as the default monospace font
Resolves: #1656262 Resolves: #1656262