firejail/etc/profile-a-l/gpg-agent.profile
glitsj16 f7cea8ff0d
gpg-agent: sort private-bin (even though it's commented) (#5549)
* gpg-agent: sort private-bin (even though it's commented)

* gpg-agent: fix private-bin
2022-12-21 23:41:01 +00:00

53 lines
1,004 B
Text

# Firejail profile for gpg-agent
# Description: GNU privacy guard - cryptographic agent
# This file is overwritten after every install/update
quiet
# Persistent local customizations
include gpg-agent.local
# Persistent global definitions
include globals.local
noblacklist ${HOME}/.gnupg
blacklist /tmp/.X11-unix
blacklist ${RUNUSER}/wayland-*
include disable-common.inc
include disable-devel.inc
include disable-interpreters.inc
include disable-programs.inc
include disable-xdg.inc
mkdir ${HOME}/.gnupg
whitelist ${HOME}/.gnupg
whitelist ${RUNUSER}/gnupg
whitelist ${RUNUSER}/keyring
whitelist /usr/share/gnupg
whitelist /usr/share/gnupg2
include whitelist-common.inc
include whitelist-runuser-common.inc
include whitelist-usr-share-common.inc
include whitelist-var-common.inc
caps.drop all
machine-id
netfilter
no3d
nodvd
nogroups
noinput
nonewprivs
noroot
nosound
notv
nou2f
novideo
protocol unix,inet,inet6
seccomp
tracelog
# private-bin gpg-agent
private-cache
private-dev
restrict-namespaces