flathub / com.bitwarden.desktop

https://flathub.org/apps/details/com.bitwarden.desktop
15 stars 17 forks source link

Errors when syncing, needs secret service access #192

Open LinAGKar opened 4 months ago

LinAGKar commented 4 months ago

Recently, BitWarden was changed to use secure storage: https://github.com/bitwarden/clients/issues/8651#issuecomment-2047961821, and they have instructions there for how to give BitWarden snap access to Secret Service. This Flatpak seems to experience similar issues as what is mentioned there, and probably also needs permissions added to let it access Secret Service.

samhanna84 commented 4 months ago

I'm having the same issue

ghisvail commented 4 months ago

Secrets service is already enabled.

Looks like the issue is being worked on upstream.

LinAGKar commented 3 months ago

Looks like the issue is being worked on https://github.com/bitwarden/clients/pull/8776.

That issue from what I can tell is about adding a fallback for when secret storage is not available. If that affects the flatpak, that presumably means secret storage is not working in the flatpak.

lucasmz-dev commented 1 month ago

I had this issue for a second when I tried Mint for a while, then went back to Fedora and I could see entries for Bitwarden in GNOME's Passwords and Keys, so it seems like it's being used. Now again in Mint 22, no issue like before at least.

ghisvail commented 1 month ago

@lucasmz-dev I am confused about your comment. Do you confirm the issue or not?

lucasmz-dev commented 1 month ago

I was, now it's fine /shrug

quexten commented 1 month ago

This sounds more like an issue with the desktop environment not including a functioning secret service to be honest. For the polkit biometrics work, the secret service is required with no fallback (otherwise the feature is disabled), and it worked fine during my testing on gnome in flatpak, meaning the flatpak config is fine.

For tokens for a while, secret storage was required (also when this issue was reported), but this was fixed by https://github.com/bitwarden/clients/pull/8913 which adds a fallback to "insecure" file based storage. So syncing errors should not happen anymore, even without a functioning secret service.

LinAGKar commented 1 month ago

I do have Secret Service available