Live data from Hacker News

Strengthening 2-Step Verification with Security Key

googleonlinesecurity.blogspot.com

141–150 of 150 posts

Re: Strengthening 2-Step Verification with Security Key

#141
post #3

This is very interesting. Is this Yubikey-compatible? http://www.amazon.com/Plug-up-International-U2F-SK-01-FIDO-S... Can I buy one of these to use with SSH auth/password programs/Chrome?

Yes, but importantly, only with firmware 33 or higher. I have 32.0 :(

AIUI, for security reasons YubiKeys are not firmware upgradeable.

Re: Strengthening 2-Step Verification with Security Key

#142
post #115
post #95

No one has mentioned the coolest feature of U2F/Fido auth: TLS Channel IDs. Via an internal Chrome extension ("cryptotoken"), authentication state & the handshake can be bound to a specific TLS session -- preventing cookie theft. Incredibly cool: http://www.browserauth.net/channel-bound-cookies

This is indeed a cool feature. I hadn't been aware of it until now. I see that Dirk Balfanz from Google published a IETF draft a couple years ago. I need to digest the security implications, but it seems like a nice mitigation to session theft.

until tls session resumption gets more common and someone comes up with a "tls session resumption is not in fact secure" :(

there were some talks in 2013 about this in various sec conferences

Re: Strengthening 2-Step Verification with Security Key

#143

Interesting. I've hacked something together for my personal usage with my OpenGPG smartcard for use on my Windows desktop and developer-mode chromebook. In the end I had to work with "chrome native messaging" which basically calls native binaries on the host OS and is a nightmare to set up. This doesn't look like they're planning to start supporting existing smartcards, but hopefully it's a first step? My idea was to…

Is there more info on GPG smart cards? I use a SafeNet eToken and highly reccomend it but it does X.509 certificates instead of GPG.

I've found https://wiki.debian.org/Smartcards/OpenPGP a really good resource with plenty of links. There's also https://www.gnupg.org/howtos/card-howto/en/smartcard-howto-s... & http://www.narf.ssji.net/~shtrom/wiki/tips/openpgpsmartcard which I've found helpful. Once they're set up they behave just as if the key was part of your local keyring encrypted with the smartcard's passphrase, but is of course only usable when the card is plugged in.

It actually seems like the Yubikey Neo also supports GPG, so that is quite nice. I own http://shop.kernelconcepts.de/product_info.php?products_id=4... & http://shop.kernelconcepts.de/product_info.php?products_id=1...

Re: Strengthening 2-Step Verification with Security Key

#144
post #77

Cool, but I will continue using the Google Authenticator app. Google is not the only thing that requires 2FA, so do numerous other sites, and GA app is the most widely supported and the least pain in the behind. I don't see a point in plugging my entire keychain (the physical keychain, with my car keys) into my laptop every time I want to log into GMail, much less carrying around 10+ different USB tokens. Now, a NFC-…

IMHO the Authy app is nicer than Google Authenticator. https://play.google.com/store/apps/details?id=com.authy.auth... http://itunes.apple.com/us/app/authy/id494168017?mt=8

Having used DuoMobile, very quickly looked at Authy and heard about Google Authenticator from colleagues, I'm pretty happy to have found http://cooperrs.de/otpauth.html.

It does one thing, and does it well. It doesn't keep trying to get me to use a service where I hand over all my 2FA secrets to some company, and whats more the developer responds pretty quickly when there are support issues (e.g. some QR codes are weird sizes and there was a trick pre-iOS8 to make them scan) or even bugs.

Re: Strengthening 2-Step Verification with Security Key

#145
post #125

Earlier quoted context omitted.

Unless you don't click "Remember this computer for 30 days" and log in every time, 2FA isn't protecting you from stolen computers. Security key protects you from phishing and someone on the Internet guessing your password. (Many security keys are designed to be permanently installed in your computer, like this one: http://www.amazon.com/Yubico-Y-110-YubiKey-NEO-n/dp/B00O8ST7... )

It's not even 30 days necessarily. I use 2FA on gmail with "remember this device" checked, and I haven't had to sign in for a year or more.

Is this on Android? That works a little differently than desktop logins.

Re: Strengthening 2-Step Verification with Security Key

#146

Earlier quoted context omitted.

You can get NFC enabled keys to use with any device without USB that supports NFC

well in that case my desktop/laptops don't support NFC. So its still working on one platform and not another.

It still supports USB it just adds NFC, so you can still use it on your desktop/laptop - https://www.yubico.com/products/yubikey-hardware/yubikey-neo...

Re: Strengthening 2-Step Verification with Security Key

#147
post #66

Earlier quoted context omitted.

Thanks, this is useful. As a custom USB HID device then, I wonder if the OS has to get involved? Or is custom support in the application sufficient?

LOL "No need for ... client software..." ... Uses ... built-in support directly into the browser". So when did a browser stop being "client software" ? Never let the truth get in the way of a good advertising claim eh?

I do understand what they're saying, though. My bank also uses 2FA. You can type a challenge into a dongle, but you can also hook up the dongle. However, it needs a USB driver to work. Every OS update, it's uncertain whether it still works. I don't use it anymore because of that reason.

This stuff built into the browser makes it easier.

Re: Strengthening 2-Step Verification with Security Key

#148
post #125

Earlier quoted context omitted.

It's not even 30 days necessarily. I use 2FA on gmail with "remember this device" checked, and I haven't had to sign in for a year or more.

Is this on Android? That works a little differently than desktop logins.

Nope, desktop browser. As long as I use it regularly, I never get signed out.

Re: Strengthening 2-Step Verification with Security Key

#149
post #136

Earlier quoted context omitted.

If laptop is stolen you can revoke it, and your password shouldn't be compromised at this point. And hacking through phishing is way more likely in any case (security keys protect against it while regular 2fa doesn't).

Additionally, if somebody removes the token, dumps a bunch of OTPs and then puts it back, as soon as you use the token once, it will invalidate all previous ones so their dump will be reasonably useless. I leave my key in my computer when I'm at my desk but have it attached to my keychain so that I take it with me if I leave my desk.

FYI the nice thing with security keys, is that you can't actually do that (dump a bunch of OTPs to use later).

Re: Strengthening 2-Step Verification with Security Key

#150
post #58

EDIT: Looks like this is now working! Looks like there is a tiny UI bug -- make sure your account is correctly selected on the Security Token page if you have multiple accounts signed in. #userError Ouch, looks like a serious downside is that a given key can only be used with one Google account. Trying to add a U2F-compatible token to more than one Google account results in errors: "This Security Key is already regis…

Same thing just happened to me -- however, I was able to register a second account by signing out of all my Google accounts and then signing back in on just the account to which I wanted to add the key.
Post reply on HN