4 ms·
You should never use an external 2 factor app, use the Google app since it implements a standard and works offline. You will want this eventually.
by tomjen3 12y ago
You should never use an external 2 factor app, use the Google app since it implements a standard and works offline. You will want this eventually.
- jsmthrowaway 12y agoTOTP is fairly weak. Convenient, but weak, due to the shared secret. I've seen proofs of concept that trivially lift the secrets from Google Authenticator. On the server side, the service is probably storing your TOTP secret one column adjacent to your hashed password. When done poorly (and most are), TOTP is basically no additional factor. Also backup codes, app specific passwords, etc, etc. Certain classes of non-shared-secret hardware token are waaaaaaaaay better. Just less convenient. You should look into DoD CAC, for example. Google Authenticator is nice but will never protect Secret information. I know this sounds way out of startup league, but it shouldn't; we should instead study what we can learn from such things instead of blanket advice like yours. Reiterating: none = bad, TOTP = better, strong tokens/biometric/etc = best.
- StavrosK 12y agoThe thread model TOTP addresses is someone having your password and being able to log in with just that. It's not to protect against people stealing the database, it's not to protect against people having root access to your phone, or anything like that. Which of the solutions you mention works even if an attacker has actual physical access to the two-factor device?
- elliotanderson 12y ago> I've seen proofs of concept that trivially lift the secrets from Google Authenticator. Android specific?
- ak217 12y ago> When done poorly (and most are), TOTP is basically no additional factor TOTP protects against the most common threats, and is trivial to implement compared to other solutions you refer to. Most of your complaints about TOTP security don't make sense under its threat model. Yes, if your phone is rooted, the TOTP secrets can be stolen. The point is that it's unlikely that both your phone and your laptop/point of access device both get compromised.
- tomjen3 12y agoIf the secrets are compromised, new secrets can be generated.
- minisu 12y agoAlso worth mentioning is FIDO U2F. More convenient and more secure than TOTP.
- dorfsmay 12y agoAbsolutely, on the condition that you encrypt the device where you have installed gogle auth. The reason people use authy and the like is because they make it simple to recover if you lose access to your device (lost, stolen, broken). My work around this is to take a screen cap of the QR codes and encrypt them with gpg. You could also save them inside a password manager (especially for less technical people).