aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l/ledger-live-desktop.profile
blob: 3640e730d53e131322607076ea689f6eea8061c3 (plain) (blame)
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
# Firejail profile for Ledger Live desktop app
# Description: Cryptocurrency wallet by the makers of Ledger hardware wallets
# This file is overwritten after every install/update
# Persistent local customizations
include ledger-live-desktop.local
# Persistent global definitions
include globals.local

noblacklist ${HOME}/.config/Ledger Live

# Added by disable-exec.inc, breaks hardware wallet manager
ignore noexec /tmp

include disable-common.inc
include disable-devel.inc
include disable-exec.inc
include disable-interpreters.inc
include disable-proc.inc
include disable-programs.inc
include disable-shell.inc
include disable-xdg.inc

mkdir ${HOME}/.config/Ledger Live
whitelist ${HOME}/.config/Ledger Live
whitelist ${DOWNLOADS}
whitelist /opt/ledger-live
include whitelist-common.inc
include whitelist-run-common.inc
include whitelist-runuser-common.inc
include whitelist-usr-share-common.inc
include whitelist-var-common.inc

apparmor
caps.drop all
ipc-namespace
machine-id
netfilter
nodvd
nogroups
nonewprivs
noprinters
noroot
nosound
notv
novideo
protocol unix,inet,inet6,netlink
seccomp !chroot
tracelog

disable-mnt
private-cache
# enabling private-dev blocks USB hardware wallets, if you don't need access to
# USB devices you can add private-dev to your ledger-live-desktop.local
#private-dev
private-etc @network,@tls-ca,@x11,host.conf,rpc
private-lib
private-tmp

# app attempts to connect to dbus but seems to work fine when blocked
dbus-user none
dbus-system none