113

2FA in lemmy doesn’t work reliably yet. Please don’t enable it or you will almost certainly get locked out.

Note: it makes me sad to post this.

all 18 comments
sorted by: hot top controversial new old
[-] Sysosmaster@infosec.pub 15 points 1 year ago

ouch,,, you know its bad when a infosec Admin asks you to switch off 2fa...

[-] garrett@infosec.pub 6 points 1 year ago

This kinda sucks. I had enabled it awhile ago and it seems to have been working but the implementation was really odd, not requiring a verification of a code before it enabled.

[-] AJCxZ0@infosec.pub 4 points 1 year ago* (last edited 1 year ago)

The 2FA process itself - both initial setup and use with an OTP provider - has worked consistently for me so far. The instruction in the interface is misleading and I'm not the only one who locked himself out as a result. The Mastodon devs merged my pull request to clarify the instruction (including my mistake of saying "oauth" instead of "otpauth") astonishingly quickly.

If I may be constructively critical, we should expect to provide provide at least some minimal evidence to justify claims such as one that something doesn't work, even if only as a link to discussion or evidence. This expectation increases when it's accompanied by advice or instruction, especially when such advice is counter to advice which is generally accepted as "good".

As @qwet@lemm.ee mentions, a more serious problem of password reset via email disabling 2FA offers a workaround for now in at least some cases.

[-] alex_02@infosec.pub 3 points 1 year ago

Once it does work, will it allow apps like authy or will I have to wait till I get a phone number?

[-] Vertana@infosec.pub 1 points 1 year ago

Even the current implementation allows Authy. It isn't great, but if you copy/paste the link that the "2FA Activation Link" gives you? It's an OTP link you should be able to paste it right in the TOTP secret field. Bitwarden has the capability, I'd be surprised if Authy couldn't parse that link.

[-] quicksand@lemmy.world 0 points 1 year ago

You really don't have a phone number? If so maybe you can try this https://voice.google.com/u/0/calls

[-] sotolf@programming.dev 4 points 1 year ago

Some of us care about privacy and don't want to give out our numbers willy nilly

[-] alex_02@infosec.pub 2 points 1 year ago

That isn't why for me. I'm broke and unless you actively work to remove your number from databases and whatever... that kind of privacy is an illusion.

[-] alex_02@infosec.pub 1 points 1 year ago

Looked at that a bit ago. Requires a phone number to verify.

[-] zanyllama52@infosec.pub 2 points 1 year ago

I wonder if a different implementation of 2FA will come about from this...

[-] TeamAssimilation@infosec.pub 3 points 1 year ago

They should look towards Mastodon, their TOTP implementation is flawless.

[-] Zikeji@programming.dev 2 points 1 year ago

I haven't had any 2FA issues since signing up. Aside from one of the third party apps not supporting it. I'm using Bitwarden to generate the 2FA tokens.

[-] pineapplelover@lemm.ee 1 points 1 year ago

Hmm, just turned 2fa on the other day

[-] himazawa@infosec.pub 1 points 1 year ago* (last edited 1 year ago)

Ahaha I had this exact same experience. Locked out because bitwarden didn’t get the code correctly. “Luckily” the jwt token never expires so I was able to log back in without the 2FA.

this post was submitted on 16 Jul 2023
113 points (95.9% liked)

Discussions related to Infosec.pub

1116 readers
2 users here now

founded 1 year ago
MODERATORS