summaryrefslogtreecommitdiff
path: root/.config/firejail/newsboat.profile
blob: ebdc76e11ba7b0cdc727262e83c4e8e7a35ac1fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Firejail profile for Newsboat
# Description: RSS program
# This file is overwritten after every install/update
# Persistent local customizations
include newsboat.local
# Persistent global definitions
include globals.local

noblacklist ${HOME}/.newsboat

include disable-common.inc
include disable-devel.inc
include disable-exec.inc
include disable-interpreters.inc
include disable-passwdmgr.inc
include disable-programs.inc
include disable-xdg.inc

whitelist ${HOME}/.config/newsboat
whitelist ${HOME}/.local/share/newsboat
whitelist ${HOME}/repos/website/rss.xml

include whitelist-common.inc
include whitelist-runuser-common.inc
include whitelist-var-common.inc

# Access to GPG for encrypting/decrypting/signing mail and passwords with pass
noblacklist ${HOME}/.gnupg
whitelist ${HOME}/.gnupg
noblacklist ${RUNUSER}/gnupg

# This assumes you keep mail account passwords under a separate directory named mail
# This to avoid exposing all passwords to the sandbox, only necessary ones
noblacklist ${HOME}/.local/share/password-store
whitelist ${HOME}/.local/share/password-store/homelab/freshrss

caps.drop all
ipc-namespace
netfilter
no3d
nodvd
nogroups
nonewprivs
noroot
notv
nou2f
novideo
protocol inet,inet6
seccomp
shell none

disable-mnt
private-bin gzip,lynx,newsboat,sh
private-cache
private-dev
private-etc alternatives,ca-certificates,crypto-policies,lynx.cfg,lynx.lss,pki,resolv.conf,ssl,terminfo
private-tmp

dbus-user none
dbus-system none

memory-deny-write-execute

quiet