News for hackers. Stuff that matters.
Re:773M Password ‘Megabreach’ Is Years Old by dmix on Friday January 18, 2019 @12:01PM (#18940680)
Anyone here recommend a good security key? Is YubiKey still the best option?

I noticed that they don't have any usb-c + NFC options.

Re:773M Password ‘Megabreach’ Is Years Old by e12e on Saturday January 19, 2019 @07:29AM (#18946699)
Fwiw I just received some solo keys after backing their kickstarter. Unfortunately the firmware doesn't yet support key storage, but it should be comming. I think it looks like an interesting alternative to nitrokey in the open source space. They have usba and usbc variants, and are working on nfc ("solo tap") variant:

https://solokeys.com/

https://github.com/solokeys/solo

https://www.amazon.com/Solo-Two-Factor-Authentication-USB-Tr...

https://solokeys.com/en/start/faq/

"Can I use Solo for OpenGPG or Ssh? Not yet

Can I use Solo to store passwords? Not yet."

Re:773M Password ‘Megabreach’ Is Years Old by svv on Friday January 18, 2019 @12:32PM (#18940989)
They do have NFC and usb-c options (separately, though), and are planning to launch lightning as well

https://www.yubico.com/2019/01/yubico-launches-the-security-...

Re:773M Password ‘Megabreach’ Is Years Old by dmix on Friday January 18, 2019 @03:40PM (#18942841)
Yes, I was looking for USB+C + NFC, so I can use it with my Macbook + iPhone... having to buy two seems inconvenient.
Re:773M Password ‘Megabreach’ Is Years Old by tialaramex on Friday January 18, 2019 @08:45PM (#18944741)
Note that you will want to own at least two and enroll both of them to properly lock down a service so that it doesn't need some plan B. The reason is that obviously if it's locked down to a single U2F Security Key and that key breaks or is lost you're screwed.

Google's programme aimed at high risk people (e.g. journalists covering government corruption) specifically aims to leave you in a position where so long as you have control over the physical devices your secrets are safe, and if the devices are destroyed then your account is irrevocably lost and too bad. Doing that with just one key is asking for trouble.

If you're just dipping your toe in the water, buying one key and having your plan B be a bunch of one time codes written in the back of a diary in your locked desk drawer makes sense, and if you're mostly just interested in the cool technology and not worried about security then going to a Key with Google Authenticator as plan B is fine too.

But if you want this to solve all your problems as advertised, buy two keys.

Re:773M Password ‘Megabreach’ Is Years Old by dmix on Saturday January 19, 2019 @04:21PM (#18949255)
Thanks that’s good advice. Is the idea your token is synced across both devices? Or you have two separate tokens that allow you to authenticate? I’ve only set up a mobile based authenticator per account before...
Re:773M Password ‘Megabreach’ Is Years Old by tialaramex on Saturday January 19, 2019 @06:14PM (#18949830)
Ordinary Security Keys can't be synchronised so to as to be interchangeable. A good U2F/ WebAuthn implementation lets you enroll several of them and use any each time you sign in. So yeah, separate tokens, any of them works.

It's pretty different from authenticator apps, it can be much more convenient (no trying to quickly type in six digit numbers) but it's kinda expensive for now.

Ordinary Security Keys only know how to do exactly one thing, prove that they're still the same Security Key that they were the last time. They can't even prove which one they are in particular (most can prove which model they are, because a bank or something might be like "Ooh, we like this technology but we insist you use Bank of America brand Keys..." but they don't even know like a "serial number" or anything). This is deliberate - it allows the strongest possible privacy guarantees while still delivering a useful security function. The Firefox implementation lets you pick "No" when sites ask which model it is - I always do, none of their bloody business, it's a Security Key, eat it.

When you "enroll" a Key the site gets back a "cookie" (not an HTTP cookie) that is only useful to identify that site to that Security Key; a Elliptic Curve public key; and a signature proving the Key knows the corresponding private key and was enrolling with this specific web site. The site puts those somewhere (presumably a database table) ready to use them when you log in subsequently.

When you need to log in, the site gets its list of all the keys you've enrolled and says "OK, here are the cookies for some keys you enrolled, prove you still have one". If you have one of these keys it can find its cookie among the set, and it knows the private key that goes with that cookie, so it can sign a new message saying "Hi, this is still me, signing in to $domain right $now" and the site verifies that with the public key.

In principle the Security Key could be keeping a big database of every site it has enrolled with and the cookies used versus private keys. In practice what it does is make a random new private key each time it enrolls, encrypt the private key and put the result in the cookie. Only it knows how to decrypt the cookie, so there's no danger from this approach.

Re:773M Password ‘Megabreach’ Is Years Old by dmix on Saturday January 19, 2019 @06:25PM (#18949887)
Thanks, I'm going to buy more than one for backup and use the multi-key approach. Appreciate the long explanation. I've been meaning to set this up for years.

This should be standard practice taught to kids in school! Especially considering their whole life is digital now.

I saw that Linux's full disk encryption supports Yubikey as well as Gnome login screens which is neat.

Re:773M Password ‘Megabreach’ Is Years Old by mc32 on Friday January 18, 2019 @12:05PM (#18940730)
I believe their upcoming HW will have support for NFC, but at this time iOS will not support NFC as MFA, though of course YK would love Apple to support them.

Correction: Looks like YK is saying iOS does support YK as MFA via NFC[1]

[1]https://www.yubico.com/2018/05/yubikey-comes-to-iphone-with-...

Re:773M Password ‘Megabreach’ Is Years Old by SlowRobotAhead on Friday January 18, 2019 @03:41PM (#18942855)
If anyone had a chance of getting Apple to approve NFC for MFA, it’s Yunikey. But I wouldn’t hold my breathe just yet and would plan on the lightening one.