31

If you are an Admin of a Lemmy instance, please use it to help secure your account!

top 11 comments
sorted by: hot top controversial new old
[-] otherbarry@lemmy.zip 10 points 1 year ago

Admins yes. But maybe regular users should avoid Lemmy's 2FA implementation for now (unless they have lots of experience with this).

With the current implementation it's way too easy for an average user to attempt to get this set up & get themselves locked out of their own Lemmy account.

  • Lemmy doesn't display a QR code like every other website/app using 2FA
  • Lemmy doesn't force the user to successfully test that the 2FA is working before saving the changes
  • Lemmy doesn't give the user any backup codes, unclear what the procedure is if you don't have a backup code, lose your 2FA device and need to reset
  • Lemmy's 2FA implementation is SHA256, not all 2FA apps support that (e.g. I tried adding this to both Google Authenticator and andOTP and came out with 2 different 2FA codes, maybe because Google's app doesn't support SHA256)

In the end I got nervous & was unsure which if any of my apps were working with Lemmy's 2FA so disabled it for now. It'll get better in a future update, just saying be careful going through the current setup.

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

I use Bitwarden and was surprised that it supported Lemmy's 2FA implementation. I tested it in incognito so I could undo it if needed.

[-] csm10495@sh.itjust.works 9 points 1 year ago

Also please test that it works before logging out. If it doesn't work, disable it immediately.

For me 2FA on Lemmy is busted since it only supports an obscure version of TOTP that nothing I use (authy, Google auth, etc) supports.

There are various GitHub issues filed related to TOTP usability and Lemmy.

[-] adam@lemmy.adambowl.es -2 points 1 year ago

Lemmy supports true standard totp. Those apps listed are the obscure ones, they do their own wacky shit with the standards

[-] baronvonj@lemmy.world 8 points 1 year ago

The implementation doesn't verify that you can generate valid tokens before updating your account and doesn't give you any backup recovery tokens.

[-] adam@lemmy.adambowl.es 1 points 1 year ago

I agree with that

[-] csm10495@sh.itjust.works 8 points 1 year ago* (last edited 1 year ago)

I disagree. Per RFC, only SHA1 needs to be supported. These apps support SHA1.

Lemmy is using SHA256 which 'may' not 'must' be supported per RFC.

The standard is SHA1.. it is a 'must be supported'. Every other website I use TOTP with works with all these apps. Lemmy is the outliar via using SHA256.

Edit to add RFC reference:

As defined in [RFC4226], the HOTP algorithm is based on the
   HMAC-SHA-1 algorithm (as specified in [RFC2104]) and applied to an
   increasing counter value representing the message in the HMAC
   computation.

...


TOTP implementations MAY use HMAC-SHA-256 or HMAC-SHA-512 functions,
   based on SHA-256 or SHA-512 [SHA2] hash functions, instead of the
   HMAC-SHA-1 function that has been specified for the HOTP computation
   in [RFC4226].

In: https://datatracker.ietf.org/doc/html/rfc6238

[-] UnfortunateShort@lemmy.world 2 points 1 year ago

Lmao, Authy and Google Authenticator are probably among the most popular 2FA apps around

[-] adam@lemmy.adambowl.es 3 points 1 year ago* (last edited 1 year ago)

“Embrace, Extend, Extinguish”

Fuck Google

[-] memfree@lemmy.ml 2 points 1 year ago

me, reads: Lemmy (from Motorhead) offers Top of the Pops a two F-k-All option

me visualizes the 2-fingered bird getting offered to the old music show

[-] dampfnudel@lemmy.zip 1 points 1 year ago

This made me laugh

load more comments
view more: next ›
this post was submitted on 10 Jul 2023
31 points (97.0% liked)

You Should Know

32162 readers
935 users here now

YSK - for all the things that can make your life easier!

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules (interactive)


Rule 1- All posts must begin with YSK.

All posts must begin with YSK. If you're a Mastodon user, then include YSK after @youshouldknow. This is a community to share tips and tricks that will help you improve your life.



Rule 2- Your post body text must include the reason "Why" YSK:

**In your post's text body, you must include the reason "Why" YSK: It’s helpful for readability, and informs readers about the importance of the content. **



Rule 3- Do not seek mental, medical and professional help here.

Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.



Rule 4- No self promotion or upvote-farming of any kind.

That's it.



Rule 5- No baiting or sealioning or promoting an agenda.

Posts and comments which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.



Rule 6- Regarding non-YSK posts.

Provided it is about the community itself, you may post non-YSK posts using the [META] tag on your post title.



Rule 7- You can't harass or disturb other members.

If you harass or discriminate against any individual member, you will be removed.

If you are a member, sympathizer or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people and you were provably vocal about your hate, then you will be banned on sight.

For further explanation, clarification and feedback about this rule, you may follow this link.



Rule 8- All comments should try to stay relevant to their parent content.



Rule 9- Reposts from other platforms are not allowed.

Let everyone have their own content.



Rule 10- The majority of bots aren't allowed to participate here.

Unless included in our Whitelist for Bots, your bot will not be allowed to participate in this community. To have your bot whitelisted, please contact the moderators for a short review.



Partnered Communities:

You can view our partnered communities list by following this link. To partner with our community and be included, you are free to message the moderators or comment on a pinned post.

Community Moderation

For inquiry on becoming a moderator of this community, you may comment on the pinned post of the time, or simply shoot a message to the current moderators.

Credits

Our icon(masterpiece) was made by @clen15!

founded 1 year ago
MODERATORS