Skip to content

Commit

Permalink
Merge pull request #4332 from rusty-snake/bitwarden-electron
Browse files Browse the repository at this point in the history
Refactor bitwarden as electron redirect
  • Loading branch information
netblue30 committed Jun 28, 2021
2 parents 17c6057 + bec22bd commit a3397a7
Showing 1 changed file with 6 additions and 35 deletions.
41 changes: 6 additions & 35 deletions etc/profile-a-l/bitwarden.profile
Original file line number Diff line number Diff line change
Expand Up @@ -6,54 +6,25 @@ include bitwarden.local
# Persistent global definitions
include globals.local

# Disabled until someone reported positive feedback
ignore include whitelist-usr-share-common.inc

ignore noexec /tmp

noblacklist ${HOME}/.config/Bitwarden

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-shell.inc
include disable-xdg.inc

mkdir ${HOME}/.config/Bitwarden
whitelist ${HOME}/.config/Bitwarden
whitelist ${DOWNLOADS}
include whitelist-common.inc
include whitelist-var-common.inc

apparmor
caps.drop all
machine-id
netfilter
no3d
nodvd
nogroups
noinput
nonewprivs
noroot
nosound
notv
nou2f
novideo
protocol unix,inet,inet6,netlink
seccomp !chroot
shell none
#tracelog - breaks on Arch

private-bin bitwarden
private-cache

?HAS_APPIMAGE: ignore private-dev
private-dev
private-etc alternatives,ca-certificates,crypto-policies,fonts,hosts,nsswitch.conf,pki,resolv.conf,ssl
private-opt Bitwarden
private-tmp

# breaks appindicator (tray) functionality
# dbus-user none
# dbus-system none

#memory-deny-write-execute - breaks on Arch (see issue #1803)
# Redirect
include electron.profile

0 comments on commit a3397a7

Please sign in to comment.