I think I've created the *least* secure multi-factor authentication code.
Please can you try adding this to your MFA app and tell me if it *doesn't* work.
THANKS GANG!
#InfoSec #CyberSecurity #TOTP #MFA #2FA
Please can you try adding this to your MFA app and tell me if it *doesn't* work.
THANKS GANG!
#InfoSec #CyberSecurity #TOTP #MFA #2FA
Comments
Based on this, I'm creating a TOTP test suite.
The basic idea is to create a bunch of optauth:// URls, encoded as QR codes, to see if your MFA app will handle them appropriately.
A Time-based One Time Password (TOTP) test suite. If you have an MFA app, I'd love to know where it fails with these tests.
https://edent.codeberg.page/TOTP_Test_Suite/
Very bare-bones. v0.01 quality. Feedback and more tests welcome.
This is the code that trips: https://github.com/iKenndac/Tofu/blob/main/Tofu/Models/Account.swift#L16-L57
1. Google Authenticator rejects it
2. Microsoft Authenticator adds it without complaint
3. BitWarden adds it as an otpauth://... URI
(Sorry, I don't have an iOS device to test with.)