aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Michele Sorcinelli <michelesr@users.noreply.github.com>2024-03-05 14:02:40 +0000
committerLibravatar GitHub <noreply@github.com>2024-03-05 14:02:40 +0000
commitb9d11ed33c8df27affe046315ef0d603f3bf8495 (patch)
treebe988481a8f06bacef2d30f4f8827ab561ac300b
parentarchiver-common: add mkinitcpio support to private-etc (#5656) (diff)
downloadfirejail-b9d11ed33c8df27affe046315ef0d603f3bf8495.tar.gz
firejail-b9d11ed33c8df27affe046315ef0d603f3bf8495.tar.zst
firejail-b9d11ed33c8df27affe046315ef0d603f3bf8495.zip
ssh: whitelist gcr-ssh-agent unix socket (#6258)
Since gnome-keyring 1.46, the ssh-agent functionality has been removed and gcr-ssh-agent is the recommended alternative. Source: - https://gitlab.gnome.org/GNOME/gcr/-/merge_requests/67 - https://wiki.archlinux.org/title/GNOME/Keyring#SSH_keys
-rw-r--r--etc/profile-m-z/ssh.profile1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/profile-m-z/ssh.profile b/etc/profile-m-z/ssh.profile
index fde85be64..62efa28db 100644
--- a/etc/profile-m-z/ssh.profile
+++ b/etc/profile-m-z/ssh.profile
@@ -18,6 +18,7 @@ include disable-common.inc
18include disable-exec.inc 18include disable-exec.inc
19include disable-programs.inc 19include disable-programs.inc
20 20
21whitelist ${RUNUSER}/gcr/ssh
21whitelist ${RUNUSER}/gnupg/S.gpg-agent.ssh 22whitelist ${RUNUSER}/gnupg/S.gpg-agent.ssh
22whitelist ${RUNUSER}/keyring/ssh 23whitelist ${RUNUSER}/keyring/ssh
23include whitelist-usr-share-common.inc 24include whitelist-usr-share-common.inc