Bitwarden vault not locking on system lock

I have used Bitwarden for years, in both Firefox and Brave. I only use Brave now, it’s installed via Flathub. I have the extension/vault set to lock on system lock, so when my machine auto locks if i leave desk, the vault/extension locks too. I’ve done this for years on Mac, works nice.
But it isn’t locking in Fedora 39 WS, even when I manually lock the machine and come back 24 hours later, the extension is still unlocked and usable without a master password being entered.
I have asked Bitwarden and they have no ideas as yet why. I am wondering if it’s a Fedora thing, i…e Brave isn’t ‘permitted’ to ‘see’ when the system locks. Is there any logic in that idea? Any ideas how to cure the problem, it’s pretty insecure like this.
Thanks

I think this is your answer. You might need to test it with a rpm version to be sure.

You could also test out certain system options for Brave Browser in Flatseal and see if that helps.
Bitwarden does not support Flatpaks well so maybe this is a residual effect of that.

1 Like

Thanks very much HC

I have Flatseal so will take a look in there.

As regards RPM - I can’t find an RPM, in Software app it only shows one option for installing Brave: Flathub. Any idea if there is an RPM somewhere I can grab and try that?

thanks again

I have looked in Flatseal, and I have not adjusted any settings from defaults. There are hundreds of options and I can barely understand most of them. :frowning:

They have an official repo you would have to add. Pretty simple :

I would have tested this exact scenario for you 3 days ago. . . But . . . I deleted my Bitwarden vault & account :laughing: . Exactly 3 days ago ! Let me look through and see what you could change to make a difference.

wow, thanks! I was trying to stick to whatever is offered in Software, i guess this is a good case for a rare exception!

So I run those commands in terminal to install it? …

Fedora, Rocky/RHEL

sudo dnf install dnf-plugins-core

sudo dnf config-manager --add-repo https://brave-browser-rpm-release.s3.brave.com/brave-browser.repo

sudo rpm --import https://brave-browser-rpm-release.s3.brave.com/brave-core.asc

sudo dnf install brave-browser

Do you have any idea if I will lose all my preferences, bookmarks, etc? This is where I struggle. Do I delete the flathub flatpak first, or leave it in place for now? If so, when I then delete the flatpak, will it mess it up? Confused.com :slight_smile:

This installs the repo for Brave. The last command installs the Browser. But if you wanted to, you could stop before that and just use the software center. it’ll show up there too.

No, because the flatpak store the preferences some where else under /var/app/xx.xx.Brave, while the .rpm would do so in ~/.Brave or where it does. . .

Which means you can technically have both at the same time.

These are also the ones you want to regularly back up.


I still backup my dot files, config files and especially my Browser regularly ( And so should you ! ) so I don’t worry about it during a reinstall or throw away VM. I just backup that 1 directory and I’m good to go.

if it’s long term I archive it then .gpg for encryption.

Ok, lots of info there, but I am not clear on it.

Firstly - Backups.

I am not onto that yet, still learning. I will need a dedicated thread/research session for backing my machine up. but yes, I was anal about backups on Mac and HATE the fact I haven’t managed to do any yet. I used to use Carbon Copy Cloner monthly, and TimeMachine hourly, to TWO drives (clone in firesafe).

I do have a Clone so most of my data is secure for now, but soon it will be updated and I must get backups running on Fedora, but it doesn’t seem easy (compared to Mac), so that’s for later (soon though)

I wonder if SYNC in Brave will work, to bring across all data. If I sync in Flathub brave, then sync it back in RPM Brave, that should work. He says…!

1 Like

Here’s an example using my Firefox browser.

Firefox stores all it’s stuff (Bookmarks, Preferences, EVERYTHING ! ) in this folder. All i do is back up that folder ! When I do things on other machines, I bring it with me to keep my experience going.

Brave, Chrome all the browsers have folders like this.

Here is LibreWolf’s (which is a Flatpak)
The file path here is different than the base .rpm type. Flatpaks store their config in ~/.var/app/ So I back up That folder and take it with me too ! Keeping my experience consistent.


You can try these, or the Vault settings in Bitwarden like Timeout Trigger, Timeout Action?

Aaah, I’m getting it now. So you just have to know where each app stores its data, and you can easily move/safeguard it by just backing up that folder. This is ‘compllicated’ to someone who relied on TimeMachine for 20 years :slight_smile: But I like it.

I am looking forward to learning how to do a routine which backs up all wanted folders to an external USB once a week or whatever. I am told it’s simple, but it doesn’t look it.

I SO BADLY WISH there was a Carbon Copy Cloner for Linux. It was a dream come true on Mac, used it forever. Best part was the backups were bootable (until Apple mysteriously decided to prevent that, unless you let Apple generate your encryption key, hmmmmmmmm). I could pull an old CCC out of the safe, and actually live that experience again, Dreamweaver for html editing and all sorts of old apps I used to use, WITH data intact and all my files etc.

I wish someone would develop a clone (bootable ideally) for Linux, I’d happily pay handsomely for it.

1 Like

Thanks. My Brave Flatseal settings don’t allow so much, so I could try those turned on:

I have already set the Vault settings properly, there are very few options, but “On System Lock” has always worked (on mac) and should in Fedora, unless as we suspect, it doesn’t have access to know when the system is locked. It basically never locks, possibly after a reboot it does but no other time.

There are too many tools on Linux to do backups. That might be the problem. You are literally drowning in choice. Especially since Linux can be Server Oriented, you will get people with custom scripts using command line tools or even using the filesystem to do clones and snapshots.
I should know because I have my own !

This is possible on linux with scripts of course. As a matter of fact, the process has been documented from CCC, and it’s use of rsync and file system tools.

The problem on Linux is not that it can’t be done, it’s that there are different file systems that people use. I for example don’t use BTRFS, which is the standard way of running Fedora since F34?, so a tool for BTRFS would not work for me or many other people.

Yeah, I’ve carried this Firefox profile for 15yrs, and have a couple others from before Firefox had containers, which I used for abstraction. it’s great to just drag over your configs and be up and running in minutes.

Yes, good point.
The other ‘problem’, is all of this stuff is ‘geeks only’ from what i can gather! My reference to CCC wasn’t so much the functionality, but the simplicity. I.E. a program I can install, and just RUN! The problem for me is that most people using Linux have a ton more knowledge than me, most seem to be coders from what I’ve seen! As a result, people like that can work up just about anything they want!