News for hackers. Stuff that matters.
Re:KeePassXC Audit Report by mywacaday on Saturday April 15, 2023 @12:21PM (#35582030)
How do people mange passwords themselves across laptop/tablet/mobile? I have been meaning to leave lastpass but always seems like too much hassle.
Re:KeePassXC Audit Report by jordibc on Saturday April 15, 2023 @12:41PM (#35582218)
I encrypt with gpg and upload the .xkdb file (itself already encrypted) to a server I have access to with scp.

Not manually, and not only for this file: this is a system I have to sync the files I want in different machines, by running a little program I wrote (https://gitlab.com/jordibc/csync just in case). I would use syncthing otherwise, but this system has several advantages for me.

If I hadn't access to an online server, I'd use some cloud storage for the same thing.

Re:KeePassXC Audit Report by shoffmeister on Saturday April 15, 2023 @12:33PM (#35582136)
I use cloud storage to save my .kdbx file(s).

On Linux and Windows, KeepassXC is my software of choice. On Android, I like (and have donated multiple times to) https://play.google.com/store/apps/details?id=keepass2androi...

With the cloud storage setup (which, in my case, happens to be Google Drive), I always have the most recent version of my password safe(s) where I need them to be.

With this, my major threat exposure comprises of * the cloud provider losing my data, letting an aggressor get hold of my (encrypted) password store(s) - and then the aggressor brute-forcing * I myself losing my password store data to an aggressor * I myself losing my password store credentials to an aggressor

I am explicitly not using any of the online password providers simply because they are by themselves a much too valuable target. I myself, hopefully, am not valuable (or visible) enough, and therefore am not subject to "at-scale" attack patterns.

Re:KeePassXC Audit Report by noisy_boy on Sunday April 16, 2023 @04:54AM (#35588346)
Same but I use Syncthing to sync the files between my laptop and phone. The database also gets backed to local backup + Backblaze B2.
Re:KeePassXC Audit Report by distances on Sunday April 16, 2023 @03:03PM (#35593231)
Keepass2Android also has an offline version: https://play.google.com/store/apps/details?id=keepass2androi...

I find this one nice, there's no need for a password manager to have Internet access when the database is synced with a separate client (in my case Nextcloud).

Re:KeePassXC Audit Report by theSage on Saturday April 15, 2023 @12:24PM (#35582046)
I use KeepassXC + Syncthing.

On a few devices that never connect to the same wifi i use tailscale to connect Syncthing.

Re:KeePassXC Audit Report by rglullis on Saturday April 15, 2023 @02:12PM (#35583058)
Syncthing (the most recent versions, at least) also allows for password-encrypted sharing. So even if you are syncing across a relay, no data is in clear.
Re:KeePassXC Audit Report by j0057 on Sunday April 16, 2023 @02:12AM (#35587699)
Relays can't see your data, because the connections between your synchthing instances are mTLS encrypted.

Using an additional shared secret on a folder allows you to sync a folder to an untrusted device, which then itself only sees encrypted files.

Re:KeePassXC Audit Report by jeduardo on Saturday April 15, 2023 @12:37PM (#35582178)
pass (passwordstore.org) backed by a remote git repo works well across Linux, Windows, macOS, iOS, and Android, as all of them have decent clients available and there is working browser integration for all popular browsers using browserpass (https://github.com/browserpass/browserpass-extension).

The learning curve to understand all the moving pieces and the initial setup can be more hassle than many are willing to put up with, but after the initial legwork is done, adding new devices is not that much more complicated than what it is on paid services, and using it is as simple as any of the popular services, IMHO.

Re:KeePassXC Audit Report by aborsy on Saturday April 15, 2023 @01:58PM (#35582918)
In my opinion, this is one of the most secure options.

Pass is a short bash bash script (very little code). It passes the encryption to a dedicated utility GnuPG (out of which only the AES and cv25519 routines are used).

You should use smart card to store the GPG key. Every touch of the security key gives out only one password. So if you copy the HN password, other passwords such as your bank password is not at risk.

The missing part is integration with browsers, which increases the attack surface (although it’s minimal here, since only one password is at stake), but protects against phishing.

Pass probably doesn’t need an audit, since you can just read the script.

Re:KeePassXC Audit Report by doubled112 on Saturday April 15, 2023 @02:49PM (#35583431)
Re:KeePassXC Audit Report by codethief on Saturday April 15, 2023 @03:19PM (#35583710)
> In my opinion, this is one of the most secure options.

Only if you disregard that pass doesn't encrypt file names.

Re:KeePassXC Audit Report by aborsy on Saturday April 15, 2023 @03:25PM (#35583776)
That’s part of the appeal. It allows for sandboxing each password to its own vault essentially (you pay a privacy cost, which I don’t mind anyways, and my disk is encrypted).

Gopass does encrypt file names too.

Re:KeePassXC Audit Report by chlorion on Saturday April 15, 2023 @11:50PM (#35587102)
I don't think this is that big of a deal though.

Also, I don't know if other people do this, but I don't actually use the pass scripts, and instead have my own scripts for managing things that just happens to be very similar to pass. I extend it in whatever ways I want to.

If I cared about this issue I would probably consider putting the passwords in a file system on a loopback mounted luks volume backed by a regular file, or maybe just store them in a different format altogether.

I do realize that the average user doesn't want to bother with all of this and wants something that "just works".

Re:KeePassXC Audit Report by ufo on Saturday April 15, 2023 @02:56PM (#35583493)
I wish pass wouldn't store website names on cleartext by default.
Re:KeePassXC Audit Report by ycombinete on Saturday April 15, 2023 @12:34PM (#35582151)
* * *
Re:KeePassXC Audit Report by brokenmachine on Monday April 17, 2023 @12:10AM (#35596764)
Do you mean the App to open the password database, or the App for syncing the file?

The kbdx file is encrypted, so given a strong password it should not matter how secure the app for syncing the file is. Most people seem to use it with syncthing.

Re:KeePassXC Audit Report by bhbh on Saturday April 15, 2023 @12:27PM (#35582076)
I keep my KeePass file on my OneDrive / iCloud account. This way it is always up to date as it syncs automatically after each change and my devices always open the last saved versions.
Re:KeePassXC Audit Report by sigio on Saturday April 15, 2023 @12:26PM (#35582072)
Vaultwarden self-hosted bitwarden and passwordstore.org
Re:KeePassXC Audit Report by gabrielgio on Saturday April 15, 2023 @12:23PM (#35582042)
I use a third party app to sync the database file, in my case Nextcloud.
Re:KeePassXC Audit Report by _dain_ on Saturday April 15, 2023 @12:25PM (#35582054)
The password database is literally just A File On Your Computer. So any file synchronization tool will work. I use Syncthing.
Re:KeePassXC Audit Report by InCityDreams on Saturday April 15, 2023 @12:31PM (#35582125)
Keepass on pc and on android. The android saves as .kdbx files, which once saved as such, the pc reads and writes (default is .kdb files). I also use a keyfile common to both devices. Manual sync as i update irregularly. Nothing touches a cloud, everything stays with me. My .kdbx files are steganographically encoded, and the file extension is changed. Seems cumbersome - isn't.
Re:KeePassXC Audit Report by 2Gkashmiri on Saturday April 15, 2023 @12:29PM (#35582096)
you dont exactly need to have it hot synced imo.

i've been running this scheme where i keep the "live" DB on my phone so any change i need to do, i do it on the phone and every often i sync or copy it to the laptop.

this has served me well for like the past 6-9 years so i guess it works. You definitely do not need an online service.

its not like passwords change like crazy. i've had entries that i only change because of stupid password reset policies (every 4 months for example), other than that, i only update the DB if i add a new entry.

Re:KeePassXC Audit Report by Fire-Dragon-DoL on Saturday April 15, 2023 @12:54PM (#35582331)
I'll answer this for you since people circles around it:

For people without need for sharing, use cloud storage. Make sure to use an app that protects from writes from different clients though.

For people with need for sharing, you are doomed. (e. g. Family sharing)

Re:KeePassXC Audit Report by omnicognate on Saturday April 15, 2023 @01:00PM (#35582374)
Not doomed in the least. I self-host vaultwarden (and many other services) on my home network and access them from mobile devices (web and/or bitwarden app) using wireguard.
Re:KeePassXC Audit Report by Fire-Dragon-DoL on Saturday April 15, 2023 @05:48PM (#35584893)
That requires a whole more competency than pasting a file on a cloud drive
Re:KeePassXC Audit Report by omnicognate on Monday April 17, 2023 @05:11AM (#35598379)
We're on hackernews :-)
Re:KeePassXC Audit Report by Fire-Dragon-DoL on Monday April 17, 2023 @12:27PM (#35603049)
I'm aware, just raising the flag
Re:KeePassXC Audit Report by JohnTHaller on Saturday April 15, 2023 @12:59PM (#35582365)
For something like KeePassXC, sync your kdbx file across all of them with your choice of cloud drive. Secure it with a key file you manually add to each of your devices but do not include on your cloud drive and a good password.
Re:KeePassXC Audit Report by Macha on Saturday April 15, 2023 @01:42PM (#35582763)
I self host vaultwarden (formerly bitwarden_rs) and use the bitwarden clients. This is more of a lastpass-esque experience than KeePass in a sync program, which was my previous solution from about 10 years ago to about 3 years ago when I switched to bitwarden.
Re:KeePassXC Audit Report by RussianCow on Saturday April 15, 2023 @01:57PM (#35582905)
How do they compare? I've been eyeing Bitwarden for a while only because there's an iPhone in my household and it doesn't support Syncthing, so we end up manually syncing the DB on that device occasionally. It would be great to avoid that manual sync.
Re:KeePassXC Audit Report by Macha on Saturday April 15, 2023 @02:00PM (#35582938)
For me the big advantage was just never having to think about sync conflicts ever again, which happened to me often enough to be annoying. There's also things like the browser integration is more streamlined, using the bitwarden CLI is convenient in some of my automation, and while android supports syncthing, android has always been a bit less reliable in desktop platforms in allowing syncthing to run in the background or in allowing other apps to know that syncthing has updated a file.
Re:KeePassXC Audit Report by elp on Saturday April 15, 2023 @02:47PM (#35583411)
I use Dropbox for my mobile devices and keypassxc had been great. I had the same issues as you with syncyhing on mobile.
Re:KeePassXC Audit Report by Macha on Saturday April 15, 2023 @02:50PM (#35583438)
I actually moved from Dropbox to Syncthing as I found Syncthing more reliable, as Dropbox would sometimes generate spurious conflicts even between my desktop devices.
Re:KeePassXC Audit Report by mdaniel on Saturday April 15, 2023 @01:47PM (#35582812)
> I have been meaning to leave lastpass but always seems like too much hassle

I mean this in all seriousness: how have you stayed on Lastpass after the innumerable breaches? There's "my weekends are not best spent exporting and importing csvs" and then there's borderline criminal negligence of credentials one pays a company to keep safe

I mean, it's your life, I'm just genuinely curious how that calculus plays out

Re:KeePassXC Audit Report by SV_BubbleTime on Saturday April 15, 2023 @07:35PM (#35585736)
Let’s leave the hyperbole aside. It hasn’t been innumerable breaches.

And none of the breaches have resulted in password loss if you used a strong pass phrase.

All the talk about PBKFD2 iterations has been about preventing loss when you used a weak password.

The same brute forcing for the most part also applies to keepass if you host your vault in ways that someone could access.

I don’t love Lastpass in anyway, but let’s not pretend that there was outright catastrophe.

Re:KeePassXC Audit Report by aborsy on Saturday April 15, 2023 @11:07PM (#35586907)
It was very bad.

It was bad that servers of a popular password manager with millions of users were compromised. The security controls were bad: a lastpass engineer had access to critical credentials in the same machine that he watches Plex open to internet (and possibly more).

It was bad because a lot of users don’t have strong master passwords, and their vaults are at risk. Also, insufficient pbkdf2 iterations did not protect well against brute forcing the vault. Sure users should use strong master passwords as much as possible. But a weak password would not have been a problem if the servers had not been compromised.

It was bad because a lot metadata has been leaked, that can be useful in further attacks.

A compromised server could also push a malicious update to the users and steals master passwords.

Re:KeePassXC Audit Report by Barrin92 on Saturday April 15, 2023 @11:57PM (#35587138)
Lastpass like pretty much any modern password manager has zero knowledge of your encrypted vault so regardless of how crappy the service they physically cannot leak your data. This is the reason why encryption exists, to move secure information across not just insecure, but even adversarial channels.

When you use cryptography you go through all the hassle exactly so you don't have to have a panic attack when a company behaves stupidly.

Re:KeePassXC Audit Report by handsclean on Sunday April 16, 2023 @06:23AM (#35588735)
Here are some ways LastPass has already leaked vault contents:

- It turns out a lot of the vault isn’t actually encrypted

- Some vaults used weak, breakable encryption

- The browser extension could be tricked into decrypting data for malicious parties

Encryption isn’t an on/off thing, it’s only as good as its implementation.

Also, this isn’t “zero knowledge” encryption, it’s end to end encryption.

Re:KeePassXC Audit Report by lotsofpulp on Saturday April 15, 2023 @01:52PM (#35582860)
KeepassXC and Strongbox, stored in iCloud Drive.
Re:KeePassXC Audit Report by ducknalddon on Saturday April 15, 2023 @03:59PM (#35584021)
I keep my database in a git repo.
Re:KeePassXC Audit Report by remram on Saturday April 15, 2023 @04:10PM (#35584101)
And then how do you sync the Git repo?
Re:KeePassXC Audit Report by executesorder66 on Saturday April 15, 2023 @05:44PM (#35584854)
Device A -> git push to remote repo

Device B -> git pull from remote repo

¯\_(ツ)_/¯

Re:KeePassXC Audit Report by remram on Saturday April 15, 2023 @06:36PM (#35585321)
Where do you host that remote repo? How do you push/pull from mobile?
Re:KeePassXC Audit Report by chlorion on Saturday April 15, 2023 @11:53PM (#35587114)
There is an app on Android at least called "pass" that allows you to do this.

The Android pass app is developed and distributed by the same person who maintains the Android wireguard app iirc, otherwise I probably wouldn't have trusted it!

Re:KeePassXC Audit Report by teo_zero on Saturday April 15, 2023 @04:56PM (#35584444)
Keepass + rclone to synchronize to Google Drive.
Re:KeePassXC Audit Report by lamontcg on Saturday April 15, 2023 @06:28PM (#35585244)
I would recommend just switching to bitwarden for minimum-viable-not-lastpass.

You can then choose at some later date to migrate to self-hosting or not.

Re:KeePassXC Audit Report by txtsd on Sunday April 16, 2023 @04:36AM (#35588258)
Most people who use KPXC use SyncThing to sync their DB across devices.