From 131ef331f5ab683b4f2559e430820391f58d3376 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Sun, 4 Apr 2021 17:25:31 +0100 Subject: [PATCH] Update gnome-keyring-daemon. --- apparmor.d/groups/gnome/gnome-keyring-daemon | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apparmor.d/groups/gnome/gnome-keyring-daemon b/apparmor.d/groups/gnome/gnome-keyring-daemon index bc93d3a8..be7998f3 100644 --- a/apparmor.d/groups/gnome/gnome-keyring-daemon +++ b/apparmor.d/groups/gnome/gnome-keyring-daemon @@ -1,5 +1,6 @@ # apparmor.d - Full set of apparmor profiles # Copyright (C) 2017-2021 Mikhail Morfikov +# 2021 Alexandre Pujol # SPDX-License-Identifier: GPL-2.0-only abi , @@ -16,6 +17,8 @@ profile gnome-keyring-daemon @{exec_path} { capability ipc_lock, @{exec_path} mr, + /{usr/,}bin/ssh-add rix, + /{usr/,}bin/ssh-agent rPx, # Keyrings location owner @{user_share_dirs}/keyrings/ rw, @@ -26,6 +29,7 @@ profile gnome-keyring-daemon @{exec_path} { owner @{run}/user/[0-9]*/keyring/ rw, owner @{run}/user/[0-9]*/keyring/* rw, + owner @{run}/user/[0-9]*/ssh-askpass.[0-9A-Z]*/{,*} rw, @{PROC}/[0-9]*/fd/ r,