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

Discussions related to Infosec.pub

1136 readers
1 users here now

founded 2 years ago
MODERATORS
 

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.

top 18 comments
sorted by: hot top controversial new old
[–] [email protected] 15 points 1 year ago

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

[–] [email protected] 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.

[–] [email protected] 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 @[email protected] mentions, a more serious problem of password reset via email disabling 2FA offers a workaround for now in at least some cases.

[–] [email protected] 3 points 1 year ago (2 children)

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

[–] [email protected] 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 0 points 1 year ago (2 children)

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

[–] [email protected] 4 points 1 year ago (1 children)

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

[–] [email protected] 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.

[–] [email protected] 1 points 1 year ago

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

[–] [email protected] 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.

[–] [email protected] 2 points 1 year ago (1 children)

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

[–] [email protected] 3 points 1 year ago

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

[–] [email protected] 1 points 1 year ago

Hmm, just turned 2fa on the other day

[–] [email protected] 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.