diff options
-rw-r--r-- | etc/profile-a-l/ledger-live-desktop.profile | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/etc/profile-a-l/ledger-live-desktop.profile b/etc/profile-a-l/ledger-live-desktop.profile new file mode 100644 index 000000000..3640e730d --- /dev/null +++ b/etc/profile-a-l/ledger-live-desktop.profile | |||
@@ -0,0 +1,61 @@ | |||
1 | # Firejail profile for Ledger Live desktop app | ||
2 | # Description: Cryptocurrency wallet by the makers of Ledger hardware wallets | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include ledger-live-desktop.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.config/Ledger Live | ||
10 | |||
11 | # Added by disable-exec.inc, breaks hardware wallet manager | ||
12 | ignore noexec /tmp | ||
13 | |||
14 | include disable-common.inc | ||
15 | include disable-devel.inc | ||
16 | include disable-exec.inc | ||
17 | include disable-interpreters.inc | ||
18 | include disable-proc.inc | ||
19 | include disable-programs.inc | ||
20 | include disable-shell.inc | ||
21 | include disable-xdg.inc | ||
22 | |||
23 | mkdir ${HOME}/.config/Ledger Live | ||
24 | whitelist ${HOME}/.config/Ledger Live | ||
25 | whitelist ${DOWNLOADS} | ||
26 | whitelist /opt/ledger-live | ||
27 | include whitelist-common.inc | ||
28 | include whitelist-run-common.inc | ||
29 | include whitelist-runuser-common.inc | ||
30 | include whitelist-usr-share-common.inc | ||
31 | include whitelist-var-common.inc | ||
32 | |||
33 | apparmor | ||
34 | caps.drop all | ||
35 | ipc-namespace | ||
36 | machine-id | ||
37 | netfilter | ||
38 | nodvd | ||
39 | nogroups | ||
40 | nonewprivs | ||
41 | noprinters | ||
42 | noroot | ||
43 | nosound | ||
44 | notv | ||
45 | novideo | ||
46 | protocol unix,inet,inet6,netlink | ||
47 | seccomp !chroot | ||
48 | tracelog | ||
49 | |||
50 | disable-mnt | ||
51 | private-cache | ||
52 | # enabling private-dev blocks USB hardware wallets, if you don't need access to | ||
53 | # USB devices you can add private-dev to your ledger-live-desktop.local | ||
54 | #private-dev | ||
55 | private-etc @network,@tls-ca,@x11,host.conf,rpc | ||
56 | private-lib | ||
57 | private-tmp | ||
58 | |||
59 | # app attempts to connect to dbus but seems to work fine when blocked | ||
60 | dbus-user none | ||
61 | dbus-system none | ||