55 points · by dcu · 13y ago · 63 comments
Now the attacker just needs to get two passwords (to the backup at Authy and to whatever account) so it's reduced to just something you (may) know.
One of the developers added PBKDF2 while doing the implementation. I didn't know exactly how they had implemented the encryption - so I asked to clarify.
So to be completely clear:
1. We use a 256 bit key derived using a salt and PBKDF2.
2. AES is used in CBC mode with a different IV for each account.
3. The key is store on the cellphone only and is never transmitted
Edit: I can't reply to the comments on this but they contain the exact procedure an attacker would have to go through, which, if correct, is much more difficult than just knowing the password.
1. Access to your e-mail to click a link confirming you changed your cellphone.
2. Access to your phone # to be able to get the SMS message with the registration key.
3. The encryption key you used.
If they can do all 3 they would get access to your account. If you feel that the level of security there is not good enough for you, you can disable the backups and key will never ever leave your phone
Feedback:
* Registration is a bit complex; all texts to my phone (with the exception of the registration code) are completely useless as the real info is sent to my email address
* Why is my backup encryption key in plain text? A dual-password field with sameness-checks would be better.
* Restoring from backup is... painful.
- I cannot just reregister my phone, I have to go through a reset process online. Ok, fine. I got texts to my phone instantly but the reset email took almost 15 minutes to reach me.
- The app crashes tapping any "GA" item other than the first one.
- I have to type in my encryption key for each "GA" item and the app crashes each and every time.
- The first time I tried to restore authy, after typing in my encryption key to recover the first "GA" item, the app crashed and wouldn't let me recover any of the other items... I had to do the whole process all over again.
* Aside from the above, the app looks and works so much better than Google Authenticator on my iPhone (5). Especially considering I'll be able to recover my tokens when switching phones -- Google Authenticator completely screws this up (broken phone? Get a replacement phone from Apple? Upgrade? All your tokens in Google Authenticator are lost, even if you recover from backup).
#2. Because you only have to enter it once and it's a complex field, you should see what you are typing.
#3. App shouldn't crash. The reason you have to go through the online process is mostly for security, you wouldn't want it to be just super easy. The other problems seem like bugs.? We'll fix those, can you e-mail me at support@authy.com, i'd like to get repro steps.
#4 Thanks!. Let's get the above fixed.
All your tokens in Google Authenticator are lost, even
if you recover from backup
So restoring from an iCloud back-up won't save my bacon in this case?I've had to do it twice now (once for an upgrade and once for a defective-phone replacement) and both times, after restoring from iCloud, Google Authenticator was empty.
It's not a dealbreaker, but it's still a big inconvenience. I had to use recovery passwords in two locations and convince another to disable two-factor auth so that I could reset it.
https://github.com/danpal/blossome
I've been meaning to add lots of features, I jsut haven't had the time. This holiday vacations I am going to the beach, so I'll be hacking on Blossome there a lot.
Might want to just turn that off now and hack around with Blossome in-depth later ;)
Since the authy guys seem to be around, if the only 2fa I have is on my Google accounts, what is the advantage of using Authy over the standard Google Authenticator app (on Android, fwiw)?
Specifically: http://tools.ietf.org/html/rfc6238
So you can add support as long as you support the standard.
When you scan the QR Code with you camera we read a secret key and store it inside your phone securely.
> Basically, the output of the HMAC-SHA-1 calculation is truncated to > obtain user-friendly values: > > HOTP(K,C) = Truncate(HMAC-SHA-1(K,C)) > > where Truncate represents the function that can convert an HMAC-SHA-1 > value into an HOTP value. K and C represent the shared secret and > counter value;
Does that mean it's formally/theoretically equivalent to simply having two separate passwords?
This would be the equivalent of having 2 passwords, one of which you change every-time you use it and it's fully random.
This is a good idea- everyone worth their salt wants a third-party single auth service, perhaps one that we pay an annual fee for, however this ain't it yet. You should not piggyback. Don't.
That's not just a criticism of this app: all the apps that advertize a device that is connected to the Internet as a "2nd form factor" is using deception to lure people in.
There's no way this is "Two-Factor" in the same way that a physical RSA token is "Two-Factor".
Are you saying that because the device is networked it is by definition vulnerable to hackers and so cannot be a high quality 2FA device?
If so I completely agree, except to point out that if I use a couple of banks (some are better for cards, some are better for savings), and Google and I play WoW and I (insert other service that uses 2FA here) then that's going to be a lot of physical doo-dads I have to keep track of. It's an unfortunate reality, but having all these things attached to one 'smart' device is the only real way of making them viable after you get more than one.
I think there's some value in that though.