this post was submitted on 28 Jul 2024
588 points (98.7% liked)
Technology
59456 readers
3081 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I guess now is as good a time as any for them to start using a proper password manager.
Personally, I recommend Keepass - it has multiple clients for all platforms, and you can keep the file in sync with a program of your own choosing, like Dropbox, syncthing or whatever you like.
Bitwarden is probably a more pragmatic choice for most users, given that it's free and without having to manage the syncing yourself.
Any password manager is better than the alternative, though.
Keepass XC on PC, Keepass DX on Android, Syncthing to sync database
Works flawlessly!
Most amazingly, this setup is also unexpectedly resilient against merge conflicts and can sync even when two copies have changed. You wouldn't expect that from tools relying on 3rd party file syncing.
I still try to avoid it, but every time it accidentally happened, I could just merge the changes automatically without losing data.
How did you enable merge conflict resolution for KeePassXC databases?
Depends a bit on the clients.
Assuming you only have one desktop and mobile client you should never run into any issues. If you do have multiple KeePassXC clients it's all fine as well assuming Syncthing always has another client it can sync with.
Ah, I can do it inside the client, thank you!
By ignoring the conflict files
I store my DB in Dropbox and use KeePass2Android on phone which has built in Dropbox sync.
Yeah but then you have to trust Dropbox
And I do, have used it for 10+ years I think. Keyfile is also used so even with leaked DB file and password, it should be inaccessible.
Vaultwarden ftw
Exactly! Self hosted FTW. Chances of a data breach.... Typically pretty minor if you are smart.
Chances of losing the data is higher with selfhosting too. Unless you’re doing some sort of multizone replication, or course.
I use syncthing so there's a copy of my password database on each of my devices.
I would rather lose my passwords than have my password database be accessed by someone else. Most websites have a "forgot password" function, and for passwords that don't have that (e.g. to decrypt my hard drive or log into my computer) I've memorised the passphrase and always type it manually anyway. And for passwords where neither applies, it's probably not a huge loss anyway if I've not prepared for the possibility of losing my password db for that particular password.
Yeah. Daily and weekly cloud backups solve that for myself for sure.
I am hosting on Home Assistant which itself gets a backup to my Google drive and my personal machine. So there are two backups, as long as HA doesn't create a corrupted backup 3 weeks in a row I am good.
Borg backup to borgbase is not very expensive and borg will encrypt the data plus the vault is also encrypted
As long as you're still signed into BW from any of your devices, you can always export the vault from there.
(But yes, actual backups are always a plus)
Keep vaultwarden behind wireguard for local only access then also use https certs and good master password. Very secure like this
Why https if the traffic is already encrypted by the vpn?
Security in layers.
All your services should be using https. Vaultwarden in particular won't even run without https unless you bypass a bunch of security measures.
This is how to setup local only and external https, I highly recommend this as a baseline setup for every homelab. It allows you to choose how much security you want on a per app basis and makes adding new apps trivially easy.
https://youtu.be/liV3c9m_OX8?si=TSWXoN_8SJDpAHaW
+1 for a self-hosted Vaultwarden instance. If you’re technically capable and have extra hardware laying around this is the best way to go.
Although a backup is still required or you are gambling on hardware outliving your need for your data.
Anyone with the knowledge to self host will quickly discover 3-2-1. If they choose to follow it, that's on them but data loss won't be from ignorance
100%. Make sure to follow the 3-2-1 backup rule with all things you do.
Shoutouts to paper and pen.
Keep the booklet in a safe place.
If you never, ever need your passwords outside of your home, that's great advice - it's as secure as can be against digital theft. Less so against fire though, and backups are out of the question.
I just store all my passwords in robots.txt on my web server, makes it easy for me to access them anywhere I go...
/s
Backups are easy? Just copy to another piece of paper and store somewhere else.
I'm just being facetious though.
I'm not being facetious though. Off-site backups of a digital password collection are easy to setup and maintain. But when you change your password or add a new entry, it's going to be a pain in the ass to have to drive over and update a physical copy.
If you can live with those downsides, that's fine. But in my opinion it would be facetious to pretend a physical backup is "just as good/usable" as a digital one.
-edit: whoops, misread that as implying that I was being facetious. As you were sir -
I have a firesafe at home for important papers, passports and some emergency cash. I keep my passwords there.
You can have backups of physical books. Just copy the text from one to the other. Yeah it is manual work but so is writing the first one in the first place. You can then store the second copy in a fire resistant safe or at a friends or family members house (maybe inside a safe as well).
Well you can write a copy and keep it in a shed if it's unlikely to also catch fire.
Typically, the drawer just below the keyboard (in my experience)
If it's my mother, post it notes stuck to the laptop...
This is the first suggestion here that's actually within the technical abilities of most people, even most Lemmy users.
The level of technical knowledge some of people here seem to think the general public has is absurd.
I'm usually the one promoting technical literacy to all but in this case I honestly don't use a password manager.
It's honestly seemed like more trouble than it's worth, there's a few websites where I just reset my password every time.
The thing that makes it worth it to me is long, randomly generated passwords that I don't have to know.
None of the sites and services I use require me to type out a password thanks to browser integration and auto type (for desktop apps and such), along with autofill service on android.
Then along with that I can even store other things like account recovery codes (for 2fa) or security questions (which also get randomly generated answers)... It's a handy thing to have IMHO