News for hackers. Stuff that matters.
Re:I'm sure LastPass setting the delete account to display: ... by rippercushions on Saturday December 24, 2022 @06:04PM (#34122063)
So I've been happily using LastPass for a long time, but it looks like it's time to migrate off this dumpster fire. What's the HN consensus on the best replacement (which must be usable by my entire family) and, at least as importantly, is there a reasonably painless migration path?
Re:I'm sure LastPass setting the delete account to display: ... by lopkeny12ko on Saturday December 24, 2022 @06:32PM (#34122334)
I have been self-hosting bitwarden_rs for many years now, and am very happy with it. It's free as in freedom, open source, and designed to be run and operated and secured by you exclusively, so you have full control over your data and don't need to rely on a third party being available.
Re:I'm sure LastPass setting the delete account to display: ... by dividedbyzero on Saturday December 24, 2022 @06:40PM (#34122392)
> designed to be run and operated and secured by you exclusively

Which means you have to secure it. That's something a lot of people will not know how to do properly, and an insecure server with Bitwarden exposed to the public internet may turn out to be worse than trusting e.g. 1Password. Just something to keep in mind when making that decision.

Re:I'm sure LastPass setting the delete account to display: ... by simooooo on Saturday December 24, 2022 @08:20PM (#34123051)
The official bit warden self host runs something like 13 docker containers. Good luck securing that as a normal person
Re:I'm sure LastPass setting the delete account to display: ... by renonce on Saturday December 24, 2022 @11:09PM (#34124161)
Vaultwarden uses just 1 docker container so I am using that.
Re:I'm sure LastPass setting the delete account to display: ... by seized on Saturday December 24, 2022 @11:59PM (#34124435)
There is a beta test of a new all in one container option as of earlier this month:

https://bitwarden.com/blog/new-deployment-option-for-self-ho...

Re:I'm sure LastPass setting the delete account to display: ... by rmnclmnt on Monday December 26, 2022 @02:09AM (#34135466)
Ooooh that’s some very good news! And Postgres support is natively included too!
Re:I'm sure LastPass setting the delete account to display: ... by lopkeny12ko on Sunday December 25, 2022 @03:25AM (#34125389)
Compared to 10-15 years ago, securing a deployment of a web service is trivial today. Let's Encrypt gets you TLS certificates for free. Wireguard gives you an out-of-the-box secure VPN solution so you can access services outside of your home network (setup is even easier now that it's part of the kernel). Wire everything together with Nginx/Caddy/Traefik and you're off to the races.
Re:I'm sure LastPass setting the delete account to display: ... by dividedbyzero on Sunday December 25, 2022 @11:24AM (#34128484)
It may be trivial to throw something together that works (I think it's still pretty hard unless you do devops stuff a lot, which hardly anyone will) but it's not going to be very secure, at least not down the line.

- Where do you host all that? If on your home network, then your availability is probably not going to be great. Sucks to be travelling and unable to get to anything because your Wireguard Raspberry Pi died, so you need to make sure you don't need that. If using a cloud or other IaaS you run similar risks to 1Password etc., same with "conventional" root server hosters. If they get owned, you may too.

- How secure is your domain name? DNS? Your app may not warn you if the server answering isn't the one that answered yesterday.

- Is your OS hardened? What else is running on your critical machines? How do you keep everything updated, OS and the actual applications?

- How do you keep abreast of zero days and critical issues in the exposed components?

- How do you know when automatic updates fail? How do you know you've been compromised?

- Do you keep all your machines on the same network? Can a smart lightbulb be an exploit vector?

- What about machines that access Bitwarden or whatever directly – how secure are those?

- What will the whole thing cost, both in terms of time and money? What about upskilling?

- If you manage this for others, which is something that cloud services excel at, with rights management and the like: Are you ready to admin this for the long run, do "customer" service, etc.?

Not saying everyone will need to have cover all those bases, or that you couldn't or wouldn't just take some risks, but if the aim is to get better security than e.g. 1Password with their security teams and posture, then it's worth to at least try to have a complete picture and make conscious decisions on them. What needs to be covered will depend on a lot of factors, including how exposed you think you are.

There may not have been any mass-takeovers of badly secured domains, but we've seen during the Log4J incident that a lot of people believe not being listed on Google means their services cannot be discovered only to find they're getting hammered with attacks, and that attackers have levelled up their capabilities a lot, with large-scale and surprisingly well-engineered attacks springing up pretty quickly. That trend will likely continue and that combination of very capable attackers perceived as incompetent and lots of false assumptions about the actual risks is pretty dangerous; a lot of people will not realize how exposed they are because HTTPS==secure, right?

That no one has targeted self-hosted Bitwarden instances on a large scale so far is no guarantee that no one ever will. People are presumably trying to breach 1Password all the time and so far they seem to hold up well, though LastPass hasn't. What risk is bigger? That a homebrew setup is falling to an untargeted mass exploit? That someone will target you with something more sophisticated? That 1Password is breached and keeping data they say they don't? That LastPass keeps data they everyone assumes they don't but never publicly said they don't, and get breached? If anyone knows, I'd like the details of their analysis, because to me it doesn't seem straightforward at all.

Re:I'm sure LastPass setting the delete account to display: ... by sofixa on Sunday December 25, 2022 @05:12AM (#34125874)
If that's what you prefer, you can use Bitwarden.com and let them host and secure it. It's just an advantage for Bitwarden that if you want to, you can self-host.
Re:I'm sure LastPass setting the delete account to display: ... by bpye on Saturday December 24, 2022 @06:37PM (#34122375)
I do the same but FYI it's called Vaultwarden now.
Re:I'm sure LastPass setting the delete account to display: ... by CraigJPerry on Saturday December 24, 2022 @06:06PM (#34122092)
Bitwarden migration was flawless for me. Impressive given how mangled the csv export i got from lastpass was!

I really dig the 2FA auto-copy to clipboard feature in bitwarden.

Re:I'm sure LastPass setting the delete account to display: ... by messutied on Saturday December 24, 2022 @06:21PM (#34122239)
Does Bitwarden support a keyword shortcut that brings up the password search? (outside of browser preferably), couldn't find one.
Re:I'm sure LastPass setting the delete account to display: ... by mdaniel on Saturday December 24, 2022 @07:23PM (#34122702)
It appears not, since there's a feature request for it: https://community.bitwarden.com/t/global-keyboard-shortcut/3... (and their keyboard shortcuts doc doesn't mention any such thing)

Yet another fine reason to use 1Password, which puts a lot of time and attention into user experience stuff like this. I know Bitwarden is the Internet's darling, but holy hell the user experience is so aggressively bad

Re:I'm sure LastPass setting the delete account to display: ... by messutied on Saturday December 24, 2022 @08:09PM (#34122987)
Thanks! Any idea of how 1password compares with bidwarden in terms of security?
Re:I'm sure LastPass setting the delete account to display: ... by mdaniel on Saturday December 24, 2022 @08:23PM (#34123085)
I would give 1Password the advantage if for no other reason than they've been at it longer, and thus have seen more crazy stuff. I believe Bitwarden claims to have multiple security audits, so I do believe they take it seriously, but (and this part is just my opinion) they execute so much other stuff so poorly that alone lowers my trust in them. For clarity, 1Password also has multiple security audits, and have done a very good job of publishing the specifications for their formats, which further contributes to my trust in their execution

Bitwarden's previous(?) on-premises deployment script was a raging tire fire, which I openly admit is not exactly a _security_ issue, but it further lowers my lack of faith in them

With all that said, I think both Bitwarden and 1Password are miles and miles ahead of LastPass, so one will for sure be better off just picking one and trying it out. It seems to be a reversible decision, if you wanted to switch again

Re:I'm sure LastPass setting the delete account to display: ... by mdaniel on Sunday December 25, 2022 @01:41PM (#34129815)
In other threads about this I was reminded that 1Password also has a security key that is known only to the client, and thus would not be leaked in the event of a cloud breach. In order to unlock the vault, one needs both pieces of information: the secret key and the master password. The secret key is cached on the client, which is why I had forgotten about it, but it is required for unlocks nonetheless

Thus the advantage goes to 1Password here, since Bitwarden does not require that "second factor" known only to the client (and I'm not talking about 2FA for logins, I mean for the vault)

Re:I'm sure LastPass setting the delete account to display: ... by lamontcg on Saturday December 24, 2022 @07:57PM (#34122905)
> the 2FA auto-copy to clipboard feature in bitwarden

is that if you're using bitwarden's 2FA authenticator instead of e.g. authy?

Re:I'm sure LastPass setting the delete account to display: ... by ewenjo on Sunday December 25, 2022 @02:33PM (#34130375)
Correct. It auto copies the code if the TOTP secret key has been set for that item.
Re:I'm sure LastPass setting the delete account to display: ... by lamontcg on Monday December 26, 2022 @03:33PM (#34141535)
bitwarden's TOTP only runs on android/ios and not the mac app?
Re:I'm sure LastPass setting the delete account to display: ... by xyst on Saturday December 24, 2022 @06:32PM (#34122335)
Probably not the “HN consensus”, but if you have apple devices the built in password manager works great for me. Can even setup totp with each site and safari will auto fill
Re:I'm sure LastPass setting the delete account to display: ... by screamingninja on Saturday December 24, 2022 @10:58PM (#34124094)
> if you have apple devices

Does it work if you have apple devices and also non-apple devices?

Re:I'm sure LastPass setting the delete account to display: ... by sofixa on Sunday December 25, 2022 @05:17AM (#34125903)
Of course it doesn't, that's not how Apple operate.
Re:I'm sure LastPass setting the delete account to display: ... by alphabettsy on Monday December 26, 2022 @01:21AM (#34135202)
Re:I'm sure LastPass setting the delete account to display: ... by SinParadise on Saturday December 24, 2022 @06:07PM (#34122096)
Probably Bitwarden or KeepassXC. I just use KeepassXC with the db stored on pCloud.
Re:I'm sure LastPass setting the delete account to display: ... by dicknuckle on Saturday December 24, 2022 @09:39PM (#34123579)
KeePassXC with the DB stored in Resilio Sync for me. It's just convenient that way because I've got a home server that everything gets synced with so I don't have to rely on devices being awake at the same time.
Re:I'm sure LastPass setting the delete account to display: ... by michaelcampbell on Sunday December 25, 2022 @12:15PM (#34128913)
Same here but with syncthing, so no "central cloud" storage.

I've used various clients with the keepass db format for years now and have not yet been disappointed. Browser integration, Windows, Linux, Mac, and Android clients, open source, encryption I (naievely) trust... ticks all the boxes for me.

Re:I'm sure LastPass setting the delete account to display: ... by salil999 on Saturday December 24, 2022 @07:24PM (#34122708)
1Password is my personal choice. I can easily share passwords with my family and create separate vaults.

There's a nice migration guide here: https://support.1password.com/import-lastpass/

Re:I'm sure LastPass setting the delete account to display: ... by r00fus on Saturday December 24, 2022 @09:41PM (#34123592)
1Password or Bitwarden
Re:I'm sure LastPass setting the delete account to display: ... by jason2323 on Saturday December 24, 2022 @10:44PM (#34124015)
Bitwarden. I’ve been using them ever since Lastpass discontinued their free version. I simply made a text file export of all my pw’s on lastpass and imported them into Bitwarden. Just make sure you delete your text file!
Re:I'm sure LastPass setting the delete account to display: ... by csomar on Sunday December 25, 2022 @04:35AM (#34125680)
Bitwarden. Period. They are open source, written in Rust and you can very easily run your own instance.

They also have incredible support (browsers, iOS, apps, etc...)

Re:I'm sure LastPass setting the delete account to display: ... by sofixa on Sunday December 25, 2022 @05:10AM (#34125867)
Bitwarden is not written in Rust, it's a C#.NET with MSSQL beast, so self-hosting is not for the faint of heart.

However there's an open source reverse engineered server, called vaultwarden (previously bitwarden-rs) that is indeed in Rust and quite slim.

Both can be used with the official clients (which are also open source).

Besides that, yes, Bitwarden is amazing.