Elektrine lite

← Feed

@Venator@lemmy.nz

2026-11-13 21:57 UTC

Except when it’s just an email, or worse, a txt message, or worse, a whatsapp message, with no other option for using a proper 2fa generator…

Replies (2)

  • @ilinamorato@lemmy.world 2026-11-13 22:33

    What really bugs me is that TOTP is objectively easier than any other form of 2fa. Just import the library, add the field on your login form, and you’re done. Email verification is annoying to code, it requires SMTP or an email gateway, is slow for the user, is risky from a security perspective, and to generate the code you probably still have to implement TOTP. SMS/RCS is even more annoying to code, it almost inevitably requires a third-party gateway, it can work differently if the user is in a different country or on a MVNO or in a low-signal area or just has the wrong astrological sign, is very slow for the end user, is almost useless from a security perspective, and you STILL have to implement TOTP. WhatsApp messages are somehow even more annoying to code than that, requires an api interaction with Meta (which is never fun and poorly documented), requires the end user to have an account with a specific third party, is slow for the end user, relies on another company’s security posture to determine your own, and you STILL have to implement TOTP. Making your own app for 2fa is undoubtedly the worst: not only is it annoying to code, it’s an ongoing annoyance that is strained through multiple app stores, adds an additional maintenance and support load, adds additional technical debt, adds an unnecessary attack vector, requires users to download another app, is often unreliable, is often pretty slow for the end user, is a total crapshoot from a security perspective, and guess what? YOU PROBABLY STILL HAVE TO IMPLEMENT TOTP. Any company that chooses SMS or email verification over TOTP emphatically does not know what they’re doing.

    Open ##5531964

  • @richardisaguy@lemmy.world 2026-11-14 12:17

    A local marketplace service in brazil only allows me to login using whatsapp codes or sms. When i enter the passowrd they ask for a whatsapp code

    Open ##5534545