bitwarden / clients

Bitwarden client apps (web, browser extension, desktop, and cli).
https://bitwarden.com
Other
9.3k stars 1.25k forks source link

Brave browser extension vault lock settings not working (Linux Fedora) #9172

Open terry9873 opened 6 months ago

terry9873 commented 6 months ago

Steps To Reproduce

Fedora 39 and 40 Brave browser Bitwarden extension Set lock settings in extension to 'On system lock' Then lock system It doesn't lock

Expected Result

Lock

Actual Result

Unlocked

Screenshots or Videos

No response

Additional Context

I have tried this on various machines on both Fedora 39 and 40. I like my vault to lock when my operating system locks (5 mins of inactivity if i leave my desk) It never locks. I locked the OS/system manually 24 hours ago, came and unlocked it, BW extension in Brave is not locked.

Operating System

Linux

Operating System Version

Fedora 39/40

Web Browser

Brave

Browser Version

Version 1.65.132 Chromium: 124.0.6367.202 (Official Build) unknown (64-bit)

Build Version

2024.4.2

Issue Tracking Info

daniellbw commented 6 months ago

Hi there,

I am unable to reproduce this issue, it has been escalated for further investigation. If you have more information that can help us, please add it below.

Thanks!

terry9873 commented 5 months ago

Thanks. Sorry, no further info. It's still the same. I used exactly the same settings for years on Mac (also on Brave browser), and it worked. if my machine locked due to inactivity, i'd have to unlock the vault when I come back. on Fedora, in 2 different brave profiles, i have those same settings but I haven't had to unlock the vault once since last reboot (and it's been left unattended (and locked) for many hours, many times. thanks again, fingers crossed someone finds the problem

quexten commented 3 months ago

Hey @terry9873 , since you mention Ubuntu / Fedora, was the desktop environment Gnome? Do you know if you were using X11 or wayland? And finally, do you know if you were using snap/flatpak or an unsandboxed packaging format (deb/rpm/appimage) for the browsers?

terry9873 commented 3 months ago

oops, used wrong machine!

Hi, I think I sussed it. I WAS using a sandboxed version of Brave, but switched to RPM following instructions here: https://brave.com/linux/

Yes it's Gnome DE and Wayland.

Since I switched to RPM it's working properly again :)

quexten commented 3 months ago

Thank you for confirming. I guess brave/chrome snap/flatpak do not have the dbus apis passed into the sandbox. Might have to create upstream issues.

quexten commented 3 months ago

https://github.com/flathub/com.brave.Browser/pull/634

quexten commented 3 months ago

https://github.com/flathub/com.google.Chrome/pull/316

quexten commented 3 months ago

https://github.com/flathub/org.chromium.Chromium/pull/416

rany2 commented 3 months ago

https://github.com/flathub/io.github.ungoogled_software.ungoogled_chromium/pull/42