Live data from Hacker News

Ask HN: Why do password managers have TOTP?

news.ycombinator.com

11–20 of 124 posts

Re: Ask HN: Why do password managers have TOTP?

#14
post #7

What kind of attack does it make possible that is impossible without TOTP in the password manager? I'm not considering online password managers which IMHO are inherently weaker than local ones. If somebody steals my laptop the passwords database is protected by a master password anyway.

I keep TOTP separate on my phone. Password database will be decrypted in memory after it's unlocked and can be dumped with sufficient privileges.

You could argue that an attacker with access to copy the password DB can intercept OTP as they are entered, but that seems much more work than running off with everything at once.

Re: Ask HN: Why do password managers have TOTP?

#16
The assumption is that your password manager is only accessible on physical devices that you have authorized. The stored data is encrypted and will only decrypt upon being authenticated by whatever means you have setup (i.e. password, fingerprint, face id, etc.). The only way for a potential attacker to utilize an OTP generated by your password manager would be to somehow gain control of the physical devices where the password manager is installed and authenticate themselves as you.

As I understand, preventing such a scenario is not the purpose of MFA. Rather, it is to prevent the scenario where an attacker either attempts to brute-force guess your password to a particular application (or figures it out in some other way) and now is blocked by the inability to get passed the "enter the OTP code from your authenticator app" question.

---

The scenario that you ask about is a valid concern. It is just not the same concern as what is solved by OTP/MFA.

One area where the notion of separation of keys makes more sense is cryptocurrency, where if you have any serious investment in it, it is advised to set up a multi-key scheme. In such a case, even if somebody were to be forcefully required to allow a physical attacker to gain access to their password manager, there would still not be enough information there for the attacker to steal anything.

Re: Ask HN: Why do password managers have TOTP?

#18
I agree, it makes no sense to have them stored in the same password manager.

One of the things I like about 1Password is that we were able to switch off the built in TOTP for our whole organisation, and force all TOTP codes to go via Duo Security. Thereby forcing a separate 2FA app.

Re: Ask HN: Why do password managers have TOTP?

#19
It's slightly less secure, in the sense that if someone gains access to your password database they'll have access to your MFA codes as well. The only scenario this would really matter in is if something like your phone or laptop was stolen, but not both, and they already could unlock your database file.

Practically I'd say that using the TOTP functionality of your password manager is such a big win for the average user that I'd advise people use it without hesitation.

Re: Ask HN: Why do password managers have TOTP?

#20
post #5

A password manager (database) is not something you know. It's something you have.

The issue is that if someone gains access to your password manager then they have both your password and your totp secret. The whole point of MFA is that these should be different things.

If someone get access to my password manager, I’m screwed anyway. It contains far enough information to bypass any MFA of any service.
Post reply on HN