From 018d75775eab4a0f045949a9d069c57686ca2686 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Tue, 21 Apr 2020 08:24:28 -0400 Subject: reorganize github etc directory --- etc/profile-a-l/gpg-agent.profile | 52 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 etc/profile-a-l/gpg-agent.profile (limited to 'etc/profile-a-l/gpg-agent.profile') diff --git a/etc/profile-a-l/gpg-agent.profile b/etc/profile-a-l/gpg-agent.profile new file mode 100644 index 000000000..adc8957e6 --- /dev/null +++ b/etc/profile-a-l/gpg-agent.profile @@ -0,0 +1,52 @@ +# 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-passwdmgr.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 +nonewprivs +noroot +nosound +notv +nou2f +novideo +protocol unix,inet,inet6 +seccomp +shell none +tracelog + +# private-bin gpg-agent,gpg +private-cache +private-dev -- cgit v1.2.3-54-g00ecf