netblue30 / firejail

Linux namespaces and seccomp-bpf sandbox
https://firejail.wordpress.com
GNU General Public License v2.0
5.69k stars 557 forks source link

tutanota: "Could not access secret storage" #4890

Closed CocoR55 closed 1 year ago

CocoR55 commented 2 years ago

On the site, you can find these lines: "Tutanota desktop app uses system keychain to be able to encrypt sensitive details such as credentials and alarms. On Linux there must be an app installed which provides secret storage (org.freedesktop.secrets interface). This is usually set up together with the rest of the desktop environment but sometimes it requires manual setup. Installing GNOME Seahorse and configuring keychain there should be sufficient. KeePassXC is another provider which can be used but it must be additionally configured."

I don't understand which key is meant? Is it the Linux password? Is it the tutanota site password?

Is it up to me to enter this key or is it automatic?

Do I have to configure Seahorse in a special way?

It's far from clear to me...

Can you please enlighten me? Regards, CocoR55

rusty-snake commented 2 years ago

Duplicate of https://github.com/netblue30/firejail/issues/4627#issuecomment-947866726

rusty-snake commented 2 years ago

Answered in https://github.com/netblue30/firejail/issues/4627#issuecomment-947922069

simon-liebehenschel commented 1 year ago

I confirm that creating a local profile with the following content

ignore dbus-user none
dbus-user filter
dbus-user.talk org.freedesktop.secrets

and running

firejail --profile=/etc/firejail/tutanota-desktop.local --appimage /opt/tutanota-desktop-linux.AppImage

successfully starts the program.


I am not the issue creator, but I think this issue can be closed.


UPDATE: I get "Failed to integrate into desktop environment" warning, but it is not critical I think.

glitsj16 commented 1 year ago

@AIGeneratedUsername Thanks for your response. FYI, this is fixed in git via https://github.com/netblue30/firejail/commit/7e9739eac9872c2d83bfa67c6cc31d5fdccc5df4 (#5325). See the current tutanota-desktop.profile. Remember you can drop these fixes from your tutanota-desktop.local after a future firejail update.