this post was submitted on 12 May 2024
152 points (98.7% liked)

Open Source

31075 readers
715 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 5 months ago* (last edited 5 months ago) (7 children)

KepassXC for PC and KeepassDX for Android phones.

I personally would recommend it over Bitwarden since with Bitwarden you NEED internet to access your passwords, and even if is open source, i canmot trust it, security breaches can happen in any time, having your vault locally stored helps a lot.

There are more but i can't Remember them right now.

[–] [email protected] 8 points 5 months ago

You don't need internet to access the passwords stored in Bitwarden if you have their local clients installed. It stores an encrypted copy of your database locally to your device which syncs (updates) over the internet.

[–] [email protected] 4 points 5 months ago* (last edited 5 months ago)

I just tried because you made me doubt, but you can access your passwords offline with bitwarden. Your argument about trusting a third party is far more pertinent, i'm choosing to trust them but thats really my choice. It is also a limited trust: even in a case of a data breach, bitwarden is encrypted end-to-end with your password, even if someone gets access to your data they wont be able to read it without your master key.

[–] [email protected] 1 points 5 months ago (1 children)

You can self-host Bitwarden, and sync your vault to your phone. Maybe not an option for everyone since it requires some technical skills, but very doable.

[–] [email protected] 1 points 5 months ago

Self-hosting KeePassXC requires installing one package and backing up one file. I expect that requires less technical skill and is doable for more people than to self-host Bitwarden.

[–] [email protected] 1 points 5 months ago (1 children)

I love KeepassXC, but I use Keepass2android on my phone. Do you know how it compares to KeepassDX?

[–] [email protected] 1 points 5 months ago

KeepassXC honestly is more userfriendly IMO.

[–] [email protected] 0 points 5 months ago* (last edited 5 months ago) (1 children)

These would also be my top two apps. Absolutely essential pieces of kit IMO.

The android integration is just so good these days. Syncing is the only minor issue but it is minor.

[–] [email protected] 0 points 5 months ago (1 children)

Hoe do you sync it? I've been meaning to make the switch to these for a long time now, but still not gotten around to it.

[–] [email protected] 0 points 5 months ago (1 children)

I used to use Dropbox, but switched to Nextcloud years ago.

[–] [email protected] 0 points 5 months ago (1 children)

Do you use KeePassDX on Android? If so, how do you access the vault from Nextcloud?

[–] [email protected] 1 points 3 months ago (1 children)

I've been using KeePassDroid. Nextcloud has an option to set files to favorites which keeps them local on Android.

[–] [email protected] 1 points 3 months ago* (last edited 3 months ago)

But how do you access the files from another app? Where are they stored? I have nothing in the com.nextcloud.client folder for example. Proton Drive mounts in the left-hand menu of Files. Would be nice if that was achievable with Nextcloud also.

EDIT: Turns out it does if there is no app passcode enabled. Not sure I am comfortable having that turned off though.

[–] [email protected] 0 points 5 months ago (1 children)
[–] [email protected] 1 points 5 months ago

I will still prefer KeepassDX and KeepassXC

[–] [email protected] 0 points 5 months ago (2 children)

Don't you still need internet to access your passwords if you want to use Keepass across devices?

[–] [email protected] 2 points 5 months ago

Nope, sonce your Keepass database is store locally, all you need is Syncthing, you won't beleive how easy it is to use.

[–] [email protected] 0 points 5 months ago (1 children)

You don't. KeePass databases can be easily shared totally offline.

However, it all depends on "how easy" you want the sync to happen...

There are many ways to "sync" KeePass databases, basically you just have to copy password database among the devices, which can be done totally offline.

  • HARD - Manually copy the KeePass database to the devices
    • Can be accomplished via any Network connection or USB cable connection
  • EASIER - Put the database on any file sharing service that's available on your devices, and sync that
    • The file sharing service can be available on the internet (Google Drive, OneDrive, iCloud...), but it also works with any file sharing service that's not connected to the internet (e.g.: local only Nextcloud server, or not even that, using Syncthing if that's your thing..., which would not even require a local server)

So, I'll just give one example.

If you have 2 devices:

  • Linux PC
  • Android Phone

You can use KeePassXC on the Linux PC, and KeePassDX on the Android Phone, and have a copy of your kdbx file (the encrypted database) on each device, manually copying the newer version whenever there are changes on them.

Issues that might happen: consistency between the files in case you make changes to both databases and forgot to sync manually previously. There's no easy way to handle this currently afaik if you are doing manual syncs... I'd suggest maintaining one of the databases as "kinda read only", not performing edits on it unless you can immediately copy it to the other one.

You can do the same thing above, but instead of manually copying the files among the devices you can use Syncthing... Or if you have a local Nextcloud server, you can use that to share the files, which is pretty easy to use to ensure consistency if you are using KeePassXC and KeePassDX, since if you open the database on Android using KeePassXC directly to the "file system" that links to the Nextcloud folder, it will always automatically retrieve the newest version to your device if there has been any change and if your local Nextcloud server is reachable, otherwise it just uses the local cache, and you will know it's using the local cache and was not able to sync.

[–] [email protected] 2 points 5 months ago

Here's an easier option: Syncthing