News for hackers. Stuff that matters.
Re:Behind the 6-digit code: Building HOTP and TOTP from scratch by sksxihve on Tuesday April 15, 2025 @01:52PM (#43696212)
On a side note, does anyone know why banks still rely on sms 2fa codes instead of TOTP? Is there some regulatory issue that makes it more difficult?
Re:Behind the 6-digit code: Building HOTP and TOTP from scratch by UncleMeat on Tuesday April 15, 2025 @01:57PM (#43696285)
Everybody with a phone has SMS baked in. SMS also has a recovery process if you drop your phone in the toilet. Ultimately, this improved user experience outweighs the security benefit to TOTP for many organizations.

TOTP also doesn't stop the biggest threat that SMS faces: phishing. Saving you from sim-swap attacks is just not a particular huge increase in security posture.

My bank at least offers TOTP as an option, but the huge majority of people are going to enroll with SMS.

Re:Behind the 6-digit code: Building HOTP and TOTP from scratch by Rygian on Tuesday April 15, 2025 @05:56PM (#43698896)
My two banks require additional approval via push notification to the phone app. No SMS involved.

(In France.)

Re:Behind the 6-digit code: Building HOTP and TOTP from scratch by dogacel on Tuesday April 15, 2025 @06:47PM (#43699344)
Some banks in Switzerland give customers a device that generates TOTP codes.