this post was submitted on 13 Oct 2023
146 points (92.0% liked)

Selfhosted

40394 readers
385 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I've always hated the idea of using a subscription/cloud hosting for password management. I feel like I should have a LOT more control over that stuff and I don't really want to hand all my keys over to a company.

All my secrets have been going in a highly encrypted archive with a long passphrase, but obviously that isn't convenient on all devices. It's been fine, I can open it on any computer but it's not super quick. It does have the advantage of being able to put in multiple files, notes, private keys but it's not ideal.

Anyway, finally found something that isn't subscription, and has a similar philosophy - a highly encrypted archive file, and it's open source and has heaps of clients including web browser plugins so it's usable anywhere, and you can sync the vault with any file sync you like.

Thought you guys might appreciate the find, password managers have always been a bit of a catch 22 for me.

Note for android i found keepassxc the best app, and i'm using KeePassHelper browser plugin, and the KeePassXc desktop app as well as the free official one. Apps all seem to be cross platform.

you are viewing a single comment's thread
view the rest of the comments
[–] RootBeerGuy@discuss.tchncs.de 3 points 1 year ago (3 children)

Maybe a silly question, but since I am considering making the jump to a password manager too, I am curious:

If I have a selfhosted server at home that is not connected to the public internet, can I still ise Keepass? Does it have to constantly sync with the server or is it enough that when I get home my passwords are syncing? Could that be a problem?

[–] clmbmb@lemmy.dbzer0.com 1 points 1 year ago* (last edited 1 year ago)

You have your local replica of the database on your device and once you're home or can connect to your home server (through VPN, for example) it will sync with the remote database. I used to have synthing running for this and it worked without issues.

[–] Clearwater@lemmy.world 0 points 1 year ago* (last edited 1 year ago) (1 children)

I use KeePassXC, but am assuming KeePass is very similar.

You'll have a single file on your machine that is your encrypted password database. Syncing is not handled by KeePass and is your responsibility.

If you want to sync only when you get home, as long as your sync app that is fine with it, KeePass won't know or care.

Keep in mind if you make changes on two devices without keeping them in sync, one will probably get overwritten unless you take special care to handle it. (My sync app warns me, then I take both conflicting files and in the KeePass app, I can merge them to solve the conflict without data loss.)

[–] zeluko@kbin.social 0 points 1 year ago

Ideally keypass would allow handling such conflicts internally.
Thats the big disadvantage of a single-file approach.

Could easily be avoided e.g. sync whole folder and now you can have multiple files, e.g. 1 write file per program used.

[–] nx2@feddit.de 0 points 1 year ago

If your server is not "online" you could vpn into your home network and use it that way. Another option is to have it local, meaning for example with bit/vault-warden you can still view your passwords if you don't have connection. But you can't edit or add new ones