diff options
Diffstat (limited to 'etc/profile-a-l/gpg.profile')
-rw-r--r-- | etc/profile-a-l/gpg.profile | 54 |
1 files changed, 54 insertions, 0 deletions
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 @@ | |||
1 | # Firejail profile for gpg | ||
2 | # Description: GNU Privacy Guard -- minimalist public key operations | ||
3 | # This file is overwritten after every install/update | ||
4 | quiet | ||
5 | # Persistent local customizations | ||
6 | include gpg.local | ||
7 | # Persistent global definitions | ||
8 | include globals.local | ||
9 | |||
10 | noblacklist ${HOME}/.gnupg | ||
11 | |||
12 | blacklist /tmp/.X11-unix | ||
13 | blacklist ${RUNUSER}/wayland-* | ||
14 | |||
15 | include disable-common.inc | ||
16 | include disable-devel.inc | ||
17 | include disable-interpreters.inc | ||
18 | include disable-passwdmgr.inc | ||
19 | include disable-programs.inc | ||
20 | |||
21 | whitelist ${RUNUSER}/gnupg | ||
22 | whitelist ${RUNUSER}/keyring | ||
23 | whitelist /usr/share/gnupg | ||
24 | whitelist /usr/share/gnupg2 | ||
25 | whitelist /usr/share/pacman/keyrings | ||
26 | include whitelist-runuser-common.inc | ||
27 | include whitelist-usr-share-common.inc | ||
28 | include whitelist-var-common.inc | ||
29 | |||
30 | caps.drop all | ||
31 | netfilter | ||
32 | no3d | ||
33 | nodvd | ||
34 | nogroups | ||
35 | nonewprivs | ||
36 | noroot | ||
37 | nosound | ||
38 | notv | ||
39 | nou2f | ||
40 | novideo | ||
41 | protocol unix,inet,inet6 | ||
42 | seccomp | ||
43 | shell none | ||
44 | tracelog | ||
45 | |||
46 | # private-bin gpg,gpg-agent | ||
47 | private-cache | ||
48 | private-dev | ||
49 | |||
50 | # On Arch 'archlinux-keyring' needs read-write access to /etc/pacman.d/gnupg | ||
51 | # and /usr/share/pacman/keyrings. Although this works, it makes | ||
52 | # installing/upgrading archlinux-keyring extremely slow. | ||
53 | read-write /etc/pacman.d/gnupg | ||
54 | read-write /usr/share/pacman/keyrings | ||