Hacker News new | ask | show | jobs
by rcxdude 1087 days ago
a password vault contains a lot of long-lived secrets protected by a human-provided key, so it's really not something you want out there, even encrypted.
1 comments

I would assume most people that are doing self-hosted are securing it behind a VPN like Wireguard instead of opening it to the whole web. (at least I hope so)
I am not. Working well so far. My instance is behind Caddy, behind a secret URL path. To talk to the instance, this “pre-shares secret” needs to be known first. So far I haven’t seen any abnormal hits. I’m closing in on 3 years of using it in this setup, via Vaultwarden.

I’m aware that this is security through obscurity. The instance’s accounts use strong passwords and MFA.

Is this can work for mobile devices ?
Yeah, the full URL can be specified in Bitwarden clients (browser extension, mobile app) and then never touched again. The secret path only leaks if users use Bitwarden's sharing feature. It's not a "pre-shared secret" in that sense, as it can publicly leak by design.
Any pointer how do you setup this ? Thanks

Sharing features did you mean organization, bitwarden send ?

I thought so too. But then did a quick search on Shodan and found these:

https://www.shodan.io/search?query=bitwarden

https://www.shodan.io/search?query=vaultwarden

I'm afraid not. I've seen some really dumb setups of BW when helping selfhosted.

I do think that while selfhosting is admirable, in the case of your password vault, it's not. It's one thing where I'd always advice against selfhosting or DIY, because the downside risk is just too big.

The chance of fng up may be tiny, bit if you fck up, it's bad. Potentially bankruptcy or jail bad.