I’m running Bitwarden on my Raspberry Pi using the Docker image bitwarden/self-host:beta. I’m accessing the vault on my Android phone with the corresponding app.
As I will travel for a longer period, I’m wondering whether there is some sort of automatic session timeout I’d like to avoid being far away from home without access to my Raspi and getting logged out of Bitwarden.
Or can I - after one successful login - stay offline forever and still have access to my vault on the phone?
You can configure the timeout duration […] in the settings of your Bitwarden app.
@thomas598brown: thank you where can I find this setting in the Android app? I only find a setting related to locking the vault (e.g. after 1 minute), but that’s not what I need…
When offline, you can lock and unlock your vault. What you can not do is login to your vault. The solution is to keep your vault logged in, but locked. This Bitwarden may help wrap your head around the differences: Understanding unlock vs. log in
Do be aware of a few limitations:
Offline vaults are read-only.
There are occasions when one needs to relogin to the vault (mostly troubleshooting and maintenance).
Bitwarden is able to forcefully log everyone out, requiring a full login. (e.g. if they experience a data center outage, or see a significant looming threat).
If you are unwilling to risk living without your vault till you return home, either bring your Pi with you, invest in a phone-to-home VPN, or switch to cloud hosting (which is free). Reading through the Bitwarden security principles may help you decide which approach fits you best.