logoalt Hacker News

sandeepkd • yesterday at 4:45 PM • 2 replies • view on HN

In reality this is very much doable, to be explicit its called TOTP (Time based One time password) and generated using a symmetric key which is shared between the user app and server. If you just save the text below the QR code (most apps show it), its as good as a shared password.

At the same time as a security person I would recommend highly against depending on TOTP for security. These security strings are stored in plain by most of the service providers. Just imagine all the chaos going around with password outages on server side. You can take for granted that some one has already copies all these TOTP secrets from the server side if that company had any kind of breach in the past.


Replies

gridspy • today at 12:00 AM

TOTP's strength is that you can verify ownership of it a very short string which does not reveal the passcode.

Good point that you should be storing your TOTP's in 1password, some other encrypted store or on-device only.

htrp • yesterday at 8:17 PM

I think it's more just the fact that you have a system in place. a password by default requires a higher degree of sophistication to attack than an unauthenticated website