So I selfhost Vaultwarden which allows TOTP but I like to keep my 2FA and Password Manager separate, so I’m looking for something like Vaultwarden which can sync up with my server, but for 2FA only. I came across 2FAuth which can do it, but it only has webapp, so if a Alternative Service where there is a client for iOS and Android it would be a lifesaver. Thanks in advance for any suggestions or recommendations.
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.
Rules:
Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.
No spam posting.
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.
Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
No trolling.
Resources:
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
For people who don’t mind it not being self hosted: Authy is good for this. You can also set a backup password (to encrypt your tokens on their servers) and optionally use it cross device.
You can allow multi device temporarily to setup, then disable to not allow new devices, etc.
(I get you didn’t ask this specifically, but figure it could be useful to someone else).
Authy is great, but I really wanna selfhost 2FA, as I did personally ran into issue back in 2019 or 2020 where Microsoft Authenticator suddenly lost 2FA cloud sync backup so I had to send my Legal ID proof for multiple accounts for them to disable 2FA, while I still didn’t recover my old Instagram account as face verification kept on failing and Meta’s human support is nonexistent, and this happened for multiple users on Microsoft Authenticator and was showered with negative reviews on play store back then. Since then I dont trust Cloud Sync for any thing, so I did use Aegis and did auto backups and sync on that,but currently I’m looking for something simple for my parents which can Autosync without them worrying about restoring backups, where they can just login and use. Details mentioned here : https://lemmy.dbzer0.com/comment/1142860
There is also a authy-export tool that makes it pretty easy to export all the tokens to selfhosted
pass
repo.Here’s a crazy idea…
Why not use another Vaultwarden account? :D
Lol I just came up with such crazy idea 45 mins ago while replying to another comment , here I went crazier and thought of whole 2fa instance instead of account : https://lemmy.dbzer0.com/comment/1144220
That’s an overkill and doesn’t give any extra security. Multiple accounts is more reasonable.
You’re just objectively wrong. 2 instances will ALWAYS be more secure.
@fedonr +1 for Aegis
Agreed. I’m using Aegis already, but looking for something to work more like Vaultwarden with Autosync for my parents mainly complete details mentioned here : https://lemmy.dbzer0.com/comment/1142860
@fedonr Vaultwarden also has 2FA option. You can use that if it fits in their workflow.
True, but as I shared in Original Post, I like to keep my 2FA separate from my Password Manager for additional security. But you did give a great idea. I’ll try to run 2 separate instances of Vaultwarden 1 for Password Manager ans 2nd for 2Fa only, I’ll check how that works out and update it here. Thanks tho.
Does it need to be selfhosted, or is an open source app okay? Okay I’ve not red all your post… there is no ios client for aegis… I use aegis: https://github.com/beemdevelopment/Aegis
Yes actually I’m personally using Aegis rn, but I’m okay with backing up and having backup sync elsewhere, and then do the restore if I switch or something.
But I’m actually looking for Selfhosted solution for my sibling and parents as they are not that tech savvy, so it would be headache for them to think about backup, sync and restore. they need something which is a simple login and go solution like Vaultwarden (bitwarden) with Automatic server sync, where they can enter a link or use app to access it.
Frankly, if they aren’t tech savvy, you should just have them use Authy. No, it’s not open source, but it’s just fine for the average user.
Frankly, if they aren’t tech savvy, you should just have them use Authy. No, it’s not open source, but it’s just fine for the average user.
I use Aegis as well. I auto backup the files to my NAS at home
In my opinion the best 2FA is a yubikey. They have an TOPT app too, but I prefer webauthn.
I wish that cloudflare deal was still available. They are pretty expensive at RRP, although probably worth it on balance.
If yubikeys are too expensive for you, you can use the security keys. Webauthn is supported, but not TOTP. You could use vaultwarden or bitwarden for TOTP and the Security key as 2FA for bitwarden 🤔
I’m actually using KeepassXC etc at the moment and am waiting on them to support
hmac-secret
so the cheaper security keys work. Although I’m willing to switch to vaultwarden, I’d be more comfortable with both supporting it before I invest in it.do you have two or more yubikeys? how do you handle sites that only allow registering a single webauthn dongle? how do you handle backup 2fa?
loosing my yubikey is the main reason why i havent used it yet for webauthn. I just use
pass
and openpgp keys stored on the yubikey as that way it was possible to backup the encryption private key to a seperate usb drive that can be used to restore it later if needed.I have 2 yubikeys, one for backup in a safe place. If a site only allows one key, like PayPal, I use another method. Yubikeys are for 2FA on my nextcloud and bitwarden mainly. Both have backupkeys in case you lose them. Those keys are printed out and stored in a safe place too.