Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a firejail profile for the wallet #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions firejail/ryo-wallet-atom.profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Firejail profile for ryo-wallet-atom
# Description: Ryo Atom Wallet
# This file is overwritten after every install/update
# Persistent local customizations
include ryo-wallet-atom.local
# Persistent global definitions
include globals.local

# If the wallet is in $HOME, uncomment this line
#ignore noexec ${HOME}

# Needed for Electron
ignore noexec /tmp

noblacklist ${HOME}/.ryo

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

mkdir ${HOME}/.ryo
mkdir ${HOME}/.shared-ringdb
whitelist ${HOME}/.ryo
whitelist ${HOME}/.shared-ringdb
include whitelist-common.inc
include whitelist-var-common.inc

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

disable-mnt
private-bin ryo-wallet-atom
private-cache
private-dev
private-etc alternatives,fonts,dconf,ca-certificates,ssl,pki,crypto-policies,machine-id,resolv.conf
private-tmp