cinnamon.cinnamon-screensaver: Ignore shift-f10 keybinding

Fixes a lock screen bypass vulnerability, on nixos-unstable this is fixed in 6.2.1.
This commit is contained in:
Bobby Rong
2024-09-25 21:59:02 +08:00
parent babc25a577
commit 697fad2bae

View File

@@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, pkg-config
, meson
, ninja
@@ -37,6 +38,15 @@ stdenv.mkDerivation rec {
hash = "sha256-ncYE2dCIAQxCMCe/5zrDU9iHTIkw+iO/IQl8+pfTvLI=";
};
patches = [
# keybindings: Ignore shift-f10 (alternate menu popup shortcut).
# https://github.com/linuxmint/cinnamon-screensaver/issues/462
(fetchpatch {
url = "https://github.com/linuxmint/cinnamon-screensaver/commit/bda58ec0226e94dfe388863f7a9438414a5e110f.patch";
hash = "sha256-IIQhIQtOlJZqGMebCB1phqcQMb+aXbgB4Wzl0CpVJEQ=";
})
];
nativeBuildInputs = [
pkg-config
wrapGAppsHook3