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.profile | 54 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 etc/profile-a-l/gpg.profile (limited to 'etc/profile-a-l/gpg.profile') diff --git a/etc/profile-a-l/gpg.profile b/etc/profile-a-l/gpg.profile new file mode 100644 index 000000000..787f35f9e --- /dev/null +++ b/etc/profile-a-l/gpg.profile @@ -0,0 +1,54 @@ +# Firejail profile for gpg +# Description: GNU Privacy Guard -- minimalist public key operations +# This file is overwritten after every install/update +quiet +# Persistent local customizations +include gpg.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 + +whitelist ${RUNUSER}/gnupg +whitelist ${RUNUSER}/keyring +whitelist /usr/share/gnupg +whitelist /usr/share/gnupg2 +whitelist /usr/share/pacman/keyrings +include whitelist-runuser-common.inc +include whitelist-usr-share-common.inc +include whitelist-var-common.inc + +caps.drop all +netfilter +no3d +nodvd +nogroups +nonewprivs +noroot +nosound +notv +nou2f +novideo +protocol unix,inet,inet6 +seccomp +shell none +tracelog + +# private-bin gpg,gpg-agent +private-cache +private-dev + +# On Arch 'archlinux-keyring' needs read-write access to /etc/pacman.d/gnupg +# and /usr/share/pacman/keyrings. Although this works, it makes +# installing/upgrading archlinux-keyring extremely slow. +read-write /etc/pacman.d/gnupg +read-write /usr/share/pacman/keyrings -- cgit v1.2.3-70-g09d2