aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2024-02-29 10:08:48 -0500
committerLibravatar GitHub <noreply@github.com>2024-02-29 10:08:48 -0500
commit071a5dabb2286eee50fc84accc865233dd92c3f6 (patch)
treef1ee256bb771067efc0d63d086739f12eecab9e9
parentMerge pull request #6228 from kmk3/landlock-add-fs (diff)
parentProfile for ledger-live-desktop (diff)
downloadfirejail-071a5dabb2286eee50fc84accc865233dd92c3f6.tar.gz
firejail-071a5dabb2286eee50fc84accc865233dd92c3f6.tar.zst
firejail-071a5dabb2286eee50fc84accc865233dd92c3f6.zip
Merge pull request #6219 from haplo/ledger-live-desktop
Profile for Ledger Live desktop app
-rw-r--r--etc/profile-a-l/ledger-live-desktop.profile61
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
5include ledger-live-desktop.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.config/Ledger Live
10
11# Added by disable-exec.inc, breaks hardware wallet manager
12ignore noexec /tmp
13
14include disable-common.inc
15include disable-devel.inc
16include disable-exec.inc
17include disable-interpreters.inc
18include disable-proc.inc
19include disable-programs.inc
20include disable-shell.inc
21include disable-xdg.inc
22
23mkdir ${HOME}/.config/Ledger Live
24whitelist ${HOME}/.config/Ledger Live
25whitelist ${DOWNLOADS}
26whitelist /opt/ledger-live
27include whitelist-common.inc
28include whitelist-run-common.inc
29include whitelist-runuser-common.inc
30include whitelist-usr-share-common.inc
31include whitelist-var-common.inc
32
33apparmor
34caps.drop all
35ipc-namespace
36machine-id
37netfilter
38nodvd
39nogroups
40nonewprivs
41noprinters
42noroot
43nosound
44notv
45novideo
46protocol unix,inet,inet6,netlink
47seccomp !chroot
48tracelog
49
50disable-mnt
51private-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
55private-etc @network,@tls-ca,@x11,host.conf,rpc
56private-lib
57private-tmp
58
59# app attempts to connect to dbus but seems to work fine when blocked
60dbus-user none
61dbus-system none