this post was submitted on 28 Jul 2024
1 points (100.0% liked)

Technology

59587 readers
5464 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. 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
[–] admin@lemmy.my-box.dev 0 points 3 months ago (5 children)

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.

[–] Wistful@discuss.tchncs.de 0 points 3 months ago (2 children)

Keepass XC on PC, Keepass DX on Android, Syncthing to sync database

Works flawlessly!

[–] OfficerBribe@lemm.ee 0 points 3 months ago (1 children)

I store my DB in Dropbox and use KeePass2Android on phone which has built in Dropbox sync.

[–] Hexarei@programming.dev 0 points 3 months ago

Yeah but then you have to trust Dropbox

[–] nekusoul@lemmy.nekusoul.de 0 points 3 months ago (1 children)

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.

[–] Shatur@lemmy.ml 0 points 3 months ago (1 children)

How did you enable merge conflict resolution for KeePassXC databases?

[–] nekusoul@lemmy.nekusoul.de 0 points 3 months ago* (last edited 3 months ago) (1 children)

Depends a bit on the clients.

  • KeePass: Will ask you if you want to synchronize/overwrite/discard the database when saving.
  • KeePassXC: Will autoreload the database in the background, so merge conflicts shouldn't happen in the first place. Otherwise there's 'Merge database' in the menu.
  • KeePass2Android: So I mixed up the names and this is the client I actually use. This one does all changes to an internal copy of the database that is then synchronized on request.
  • KeePassDX: As far as I can see it also has a mechanism similar too KeePass2Android.

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.

[–] Shatur@lemmy.ml 0 points 3 months ago

Ah, I can do it inside the client, thank you!

[–] SaltySalamander@fedia.io 0 points 3 months ago (2 children)
[–] GoJimi@lemm.ee 0 points 3 months ago (2 children)

Exactly! Self hosted FTW. Chances of a data breach.... Typically pretty minor if you are smart.

[–] pennomi@lemmy.world 0 points 3 months ago (6 children)

Chances of losing the data is higher with selfhosting too. Unless you’re doing some sort of multizone replication, or course.

[–] nialv7@lemmy.world 0 points 3 months ago

I use syncthing so there's a copy of my password database on each of my devices.

[–] Lem453@lemmy.ca 0 points 3 months ago

Borg backup to borgbase is not very expensive and borg will encrypt the data plus the vault is also encrypted

[–] ThePantser@lemmy.world 0 points 3 months ago

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.

[–] GoJimi@lemm.ee 0 points 3 months ago

Yeah. Daily and weekly cloud backups solve that for myself for sure.

[–] communism@lemmy.ml 0 points 3 months ago

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.

load more comments (1 replies)
[–] Lem453@lemmy.ca 0 points 3 months ago (1 children)

Keep vaultwarden behind wireguard for local only access then also use https certs and good master password. Very secure like this

[–] francois@jlai.lu 0 points 3 months ago (1 children)

Why https if the traffic is already encrypted by the vpn?

[–] Lem453@lemmy.ca 0 points 3 months ago

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

[–] N1ghtstalk3r@lemmy.world 0 points 3 months ago (1 children)

+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.

[–] TimLovesTech@badatbeing.social 0 points 3 months ago (2 children)

Although a backup is still required or you are gambling on hardware outliving your need for your data.

[–] Lem453@lemmy.ca 0 points 3 months ago

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

[–] N1ghtstalk3r@lemmy.world 0 points 3 months ago

100%. Make sure to follow the 3-2-1 backup rule with all things you do.

[–] GissaMittJobb@lemmy.ml 0 points 3 months ago (1 children)

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.

[–] 314xel@lemmy.world 0 points 3 months ago* (last edited 3 months ago) (3 children)

I'm not sure what you're comparing it to. Keepass is free too, in fact it's open source. In my opinion, local software and database that is under your control is always superior to cloud.

Keepass over Bitwarden offers a lot of plugins and integrations, again, if you want more customization or automation.

But, I would say you can use any online password manager as long as it's end to end encrypted, so Bitwarden is a good choice.

[–] evulhotdog@lemmy.world 0 points 3 months ago

I think your bias may be showing. The average computer user doesn’t even think about using a password manager. It just exists and works in their browser.

[–] GissaMittJobb@lemmy.ml 0 points 3 months ago (1 children)

Also, local software and database is always superior to cloud.

Now there's an unfounded blanket statement if I ever saw one.

[–] Enoril@jlai.lu 0 points 3 months ago (1 children)

Statement related to previous cloud hacks i assume.

Should have say: self-hosting is always superior to cloud hosting.

Bitwarden (the client) + Vaultwarden (the self-hosted server) is a good combo if you have some knowledge on how to setup it.

[–] GissaMittJobb@lemmy.ml 0 points 3 months ago

Should have say: self-hosting is always superior to cloud hosting.

That statement still comes with a pretty damn big caveat though - you need to have the know-how, the time to invest and the hardware (i.e money) to actually set something like this up.

If all of those are true, then self-hosting can definitely be an attractive option for you.

It's only true for a vanishingly small fraction of the population, though.

Hence, Bitwarden is a pragmatic solution that will be superior for the vast majority of the population.

[–] fmstrat@lemmy.nowsci.com 0 points 3 months ago

No dislike for Keepass here, but I prefer Bitwarden. It's also super easy to self host with Vaultwarden.

[–] suction@lemmy.world 0 points 3 months ago (2 children)

Never trust your credentials to a private company, they could be bought out by state actors.

[–] Katana314@lemmy.world 0 points 3 months ago

Never trust your credentials to yourself, you can be bought out by beer, poor decisions, and tripping over the cables connected to your home server you cobbled together.

[–] CosmicGiraffe@lemmy.world 0 points 3 months ago

The xz compromise having demonstrated that FOSS projects are totally immune to interference from state actors...

[–] tabular@lemmy.world 0 points 3 months ago (3 children)

Shoutouts to paper and pen.

Keep the booklet in a safe place.

[–] maccentric@sh.itjust.works 0 points 3 months ago (2 children)

Typically, the drawer just below the keyboard (in my experience)

[–] tabular@lemmy.world 0 points 3 months ago

Hopefully someone in the house is supposed to be there, or they just take the TV.

[–] slumberlust@lemmy.world 0 points 3 months ago

If it's my mother, post it notes stuck to the laptop...

[–] Ilovethebomb@lemm.ee 0 points 3 months ago (2 children)

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.

[–] tabular@lemmy.world 0 points 3 months ago (1 children)

I'm usually the one promoting technical literacy to all but in this case I honestly don't use a password manager.

[–] Ilovethebomb@lemm.ee 0 points 3 months ago

It's honestly seemed like more trouble than it's worth, there's a few websites where I just reset my password every time.

[–] admin@lemmy.my-box.dev 0 points 3 months ago* (last edited 3 months ago) (2 children)

If getting a Dropbox account is too difficult for them, I seriously wonder why they'd be subscribed here, or reading articles about password management in browsers.

[–] tamal3@lemmy.world 0 points 3 months ago
[–] Ilovethebomb@lemm.ee 0 points 3 months ago

Because I'm interested in tech news, especially since the world we live in can't function without it.

Besides, Lemmy seems to seriously overestimate the technical abilities of, well, most people.

[–] admin@lemmy.my-box.dev 0 points 3 months ago (5 children)

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.

[–] tabular@lemmy.world 0 points 3 months ago

Well you can write a copy and keep it in a shed if it's unlikely to also catch fire.

[–] thejoker954@lemmy.world 0 points 3 months ago (1 children)

Backups are easy? Just copy to another piece of paper and store somewhere else.

I'm just being facetious though.

[–] admin@lemmy.my-box.dev 0 points 3 months ago* (last edited 3 months ago)

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 -

[–] lauha@lemmy.one 0 points 3 months ago

I have a firesafe at home for important papers, passports and some emergency cash. I keep my passwords there.

[–] nous@programming.dev 0 points 3 months ago

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).

[–] Shdwdrgn@mander.xyz 0 points 3 months ago

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