4 ms·
How could one save a TOTP code in a password manager and use it later? It would be useless in 30 seconds time. Am I misunderstanding something? Or did you mean
by nailer 7y ago
How could one save a TOTP code in a password manager and use it later? It would be useless in 30 seconds time.
Am I misunderstanding something? Or did you mean OTP rather than TOTP?
- Klathmon 7y agoThe setup string which generates the time codes is basically a second password. If something can read that setup string, they can generate their own TOTP codes for your account whenever they want.
- Eldt 7y agoSo you're not actually talking about the TOTP codes that are generated?
- Klathmon 7y agoI've done a piss poor job of describing it, but the way TOTP works is there is a "setup code" or a setup "string". Often in a QR code format. That string is all that is needed to generate all of the TOTP codes forever. So while the TOTP code that you type is different every minute, it's generated by doing some math on the setup string and the current time. Some password managers (like 1Password) allow you to have them generate your TOTP codes by putting in your setup string into them (often using the exact same process you would do to setup your TOTP codes in an app). But i'm saying that's not a good idea if you are going for "most secure", because at that point if something were to somehow exploit your password manager, they will not only get your username and password, but will have that setup string as well so they can generate their own TOTP codes for you.
- nailer 7y agoOh you're discussing storing the seed, not the TOTPs themselves.
- eswat 7y agoThe main benefit behind TOTP is that you can tie its value creation to a second factor, such as something you own like a device (instead of something you know like a password). It’s arguable that you’re removing that second factor when you store the parameters needed to create the TOTP in the same place as you store your passwords.
- deleted 7y ago[deleted]