| 1 |
# Firejail profile for enpass |
| 2 |
# Description: A multiplatform password manager |
| 3 |
# This file is overwritten after every install/update. |
| 4 |
# Persistent local customisations |
| 5 |
include enpass.local |
| 6 |
# Persistent global definitions |
| 7 |
include globals.local |
| 8 |
|
| 9 |
noblacklist ${HOME}/.cache/Enpass |
| 10 |
noblacklist ${HOME}/.config/sinew.in |
| 11 |
noblacklist ${HOME}/.config/Sinew Software Systems |
| 12 |
noblacklist ${HOME}/.local/share/Enpass |
| 13 |
noblacklist ${DOCUMENTS} |
| 14 |
|
| 15 |
include disable-common.inc |
| 16 |
include disable-devel.inc |
| 17 |
include disable-exec.inc |
| 18 |
include disable-interpreters.inc |
| 19 |
include disable-programs.inc |
| 20 |
include disable-xdg.inc |
| 21 |
|
| 22 |
mkdir ${HOME}/.cache/Enpass |
| 23 |
mkfile ${HOME}/.config/sinew.in |
| 24 |
mkdir ${HOME}/.config/Sinew Software Systems |
| 25 |
mkdir ${HOME}/.local/share/Enpass |
| 26 |
whitelist ${HOME}/.cache/Enpass |
| 27 |
whitelist ${HOME}/.config/sinew.in |
| 28 |
whitelist ${HOME}/.config/Sinew Software Systems |
| 29 |
whitelist ${HOME}/.local/share/Enpass |
| 30 |
whitelist ${DOCUMENTS} |
| 31 |
whitelist /opt/Enpass |
| 32 |
include whitelist-common.inc |
| 33 |
include whitelist-var-common.inc |
| 34 |
|
| 35 |
# machine-id and nosound break audio notification functionality. |
| 36 |
# Add the next lines to your enpass.local if you need that functionality. |
| 37 |
#ignore machine-id |
| 38 |
#ignore nosound |
| 39 |
caps.drop all |
| 40 |
machine-id |
| 41 |
netfilter |
| 42 |
no3d |
| 43 |
nodvd |
| 44 |
nogroups |
| 45 |
noinput |
| 46 |
nonewprivs |
| 47 |
noroot |
| 48 |
nosound |
| 49 |
notv |
| 50 |
nou2f |
| 51 |
novideo |
| 52 |
protocol unix,inet,inet6,netlink |
| 53 |
seccomp |
| 54 |
tracelog |
| 55 |
|
| 56 |
private-bin Enpass,dirname,importer_enpass,readlink,sh |
| 57 |
?HAS_APPIMAGE: ignore private-dev |
| 58 |
private-dev |
| 59 |
private-tmp |
| 60 |
|
| 61 |
#memory-deny-write-execute # breaks on Arch (see issue #1803) |
| 62 |
restrict-namespaces |