From 79e8629f90b84250891406ab86f6ab6643e268c0 Mon Sep 17 00:00:00 2001 From: pirate486743186 <> Date: Sun, 4 Sep 2022 18:07:16 +0200 Subject: tutanota-desktop.profile improvements --- etc/profile-m-z/tutanota-desktop.profile | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'etc/profile-m-z/tutanota-desktop.profile') diff --git a/etc/profile-m-z/tutanota-desktop.profile b/etc/profile-m-z/tutanota-desktop.profile index 56eacf338..b6073878a 100644 --- a/etc/profile-m-z/tutanota-desktop.profile +++ b/etc/profile-m-z/tutanota-desktop.profile @@ -1,5 +1,5 @@ # Firejail profile for tutanota-desktop -# Description: Encrypted email client +# Description: Official desktop client for the Tutanota E2E encrypted email provider # This file is overwritten after every install/update # Persistent local customizations include tutanota-desktop.local @@ -9,8 +9,13 @@ include globals.local noblacklist ${HOME}/.config/tuta_integration noblacklist ${HOME}/.config/tutanota-desktop +ignore dbus-user none +ignore disable-mnt ignore noexec /tmp +# sh is needed to allow Firefox to open links +include allow-bin-sh.inc + include disable-shell.inc mkdir ${HOME}/.config/tuta_integration @@ -18,14 +23,26 @@ mkdir ${HOME}/.config/tutanota-desktop whitelist ${HOME}/.config/tuta_integration whitelist ${HOME}/.config/tutanota-desktop -# These lines are needed to allow Firefox to open links +# The lines below are needed to find the default Firefox profile name, to allow +# opening links in an existing instance of Firefox (note that it still fails if +# there isn't a Firefox instance running with the default profile; see #5352) noblacklist ${HOME}/.mozilla whitelist ${HOME}/.mozilla/firefox/profiles.ini read-only ${HOME}/.mozilla/firefox/profiles.ini +machine-id +nosound + ?HAS_APPIMAGE: ignore private-dev private-etc @tls-ca private-opt tutanota-desktop +dbus-user filter +dbus-user.talk org.freedesktop.Notifications +dbus-user.talk org.freedesktop.secrets +dbus-user.talk org.gnome.keyring.SystemPrompter +# allow D-Bus communication with firefox for opening links +dbus-user.talk org.mozilla.* + # Redirect include electron.profile -- cgit v1.2.3-70-g09d2