I currently use Authy on my android and my Linux system.
It syncs every new authenticator between my devices but I dont want to trust companies with my security anymore.
I host a nextcloud instance on my homelab. Does anyone know a good FOSS authenticator that can use my nextcloud to sync between Linux and android? Provided that it is available on both of course.
Thanks for any input!
Keepass supports OTP, and exists on every platform. I use KeepassDX on android.
This is what I used as well (KeePassXC specifically), with Syncthing sharing the .kdbx file across devices.
Aegis synced with my Nextcloud server.
FreeOTP+, it was written by Red Hat and is now maintained as a open source project.
I personally use Bitwarden for my 2FA needs. As others mentioned you can self host the server but personally I have no reason not to trust their SaaS solution, especially now that they offer EU hosted servers. If all you want is a basic authenticator app that does only one thing give FreeOTP a try, it’s made my RedHat. You can then sync the applications state.
I use bitwarden for 2FA as well. The only issue I have is that I need another solution as well since I also have 2FA activated on my bitwarden account. You can’t have bitwarden 2FA saved on bitwarden. (Well you can but that’s obviously a bad Idea)
deleted by creator
I’m surprised no one has recommended “2FAS” yet. It’s the open-source alternative. The app is primarily designed for mobile, but they also offer a browser extension that you could install on Linux if you wanted to. Personally, I always try to keep my 2FA apps unsynchronized with a desktop PC.
Oh, and you can export your secrets at any time. Not like Authy.
Have you checked out Aegis?
Edit: I missed the Linux requirement, not sure if Aegis works with that in mind
Appears to be android only?
You can use OTPClient on desktop, it can import Aegis encrypted exports.
It’s what I do, my TOTP codes originate on the phone because I scan the QR codes with it, but Aegis is set to export a backup each time something changes.
A sync app (FolderSync) runs every night and gets the export to my server, where it gets picked up for offline backups.
I load the latest export in OTPClient only as needed, when I run into a 2fa which is not there.
Both Aegis and OTPClient can be set to ask for password each time you open them.
Aegis