Hey everyone, still on the iOS train for the time being, and want to enable 2FA for my Lemmy account. Currently the way this is done, it gives a link and that link default opens in Keychain, however I want to add the token to 2FAS. Anyone know how to do this?
Copy the link on the 2FA installation link button in your Lemmy account settings and put in the secret= value inside the Secret Key (required) field of 2FAS (heads up, it's going to be fairly long), and under additional info you need to change the Algorithm to SHA256. Everything else stays the same.
Another way would be to use an addon (ex: on Firefox) to generate a QR code from your desktop browser by right-clicking the 2FA installation link and clicking QR code from link, then scan the QR code into 2FAS.
Always make sure you have a backup of your 2FAS data, either local or cloud-based.
If you copy the link does it start with top otpauth:// or something like it? You may be able to copy that link, go into your 2FA app & paste that in, or parse out the Secret part to paste in.
Not that it applies here, but I've run into situations where even when copying the secret in text form and importing it didn't end up working.
What does almost always work is taking a photo of the screen showing the QR with another device and then using the current device to scan the QR on the other screen. Obviously you need another device with a decent camera but there you have it.
On iOS you can just screenshot the code and open it in photos, and have it work from there just like from the camera.
And for me, when 2fa is needed, I enter my u/p, and then Lemmy says authentication failed and it presents me with u/p/2fa, which all get auto-populated by keychain.
I'll just warn you that if you use Apple's keychain, you are vulnerable to all of the various zero-click zero-day nonsense that's been in the news. Like, obv you're unlikely to be specifically targeted but when you use Apple stock stuff, you're vulnerable to all that. Its becoming more likely that this is intentional as a backdoor to all the other protections that get touted.
Orher password managers allow for the possibillity of keyfiles and 2FA so I would reevaluate if you can. You are not "safe" and at some point one of these hacks are going to hit mainstream à la Lastpass and I just want to make sure you're pre-warned.
At the very least, get your ass on Lockdown mode since it invalidates these attacks, for the most part and as far as we know. Also disable iMessage and Facetime if possible