News for hackers. Stuff that matters.
Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by walkingolof on Monday September 24, 2018 @08:45AM (#18057189)
Honest question, what happens when you lose one of these ?
Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by jwr on Monday September 24, 2018 @09:28AM (#18057453)
I use the yubikey for OpenPGP (with SSH) and I took care to generate the keys on my computer then back them up appropriately. I can restore to any new yubikey quickly (tested).

It's also easy to get two yubikeys and have a backup ready to use immediately.

As to U2F, there is always a backup method (usually TOTP generated by Google Authenticator, and additionally recovery codes).

Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by Leace on Monday September 24, 2018 @09:23AM (#18057421)
Yubikey has a lot of features (applets) built-in so the answer is "it depends on what you use".

U2F? You need to have a second one or backup codes.

OpenPGP? You probably have your subkeys backed up somewhere so you just order a new Yubikey and put your subkeys there.

The same goes to PIV (X.509 certs). If you have some keys generated on the card, you need to provision your new Yubikey from the beginning.

Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by anilakar on Monday September 24, 2018 @11:56AM (#18058756)
How do you enroll a new U2F key to all the websites at once?
Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by Snawoot on Monday September 24, 2018 @12:05PM (#18058821)
It's not possible, unfortunately. So you'll have to do it one by one.
Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by Boulth on Monday September 24, 2018 @02:07PM (#18059874)
Yes, and it's by design. If you could then one random root key would be sufficient to "restore" all keys (as they are derived from that root key). U2F explicitly doesn't allow that given that the protocol has use counters.
Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by kyrra on Monday September 24, 2018 @09:01AM (#18057285)
For 2FA, having multiple of these or some kind of recovery code tends to be the answer, as you can remove the keys from sites you use it on.

I am less willing to use something like this for passwordless logins. These types of devices should be part of the "something you have" part of 2FA, which should always be paired with a "something you know".

Maybe I'm missing a step here, but why would you ever use this for passwordless?

Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by emlun on Tuesday September 25, 2018 @03:09PM (#18069449)
For U2F you're right that it becomes single factor if you use the device as the only factor. With FIDO2 (which is what makes passwordless available), however, the device supports a local PIN as the "something you know" factor - and it's also a better kind of knowledge factor than a traditional password since it's never sent over the network.
Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by lugg on Monday September 24, 2018 @09:23AM (#18057411)
Because the something you know part isn't all that secure anyway?

https://xkcd.com/538/

Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by bluGill on Monday September 24, 2018 @09:42AM (#18057565)
it is a different level of security. The comic is fully correct, but you should still use a secret. That is why there are 3 different types of authentication. The first is something you have - a card or key. The second is something you know - a password. The third is something you are - a fingerprint. Each provides protection against a different attack and is vulnerable to different attacks. The more important the secret the more of them you should use.

Note that you quickly get to the point where you need more than one person involved. You can compromise one person as much as you want, but if that person doesn't have the complete secret it doesn't do any good.

Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by dragonwriter on Monday September 24, 2018 @10:48AM (#18058138)
> The third is something you are - a fingerprint.

A fingerprint isn't “something you are”, because it can be destroyed while you remain, and information about it can be captured and reproduced by attackers who are not you.

It's just a particularly hard to lose (but easy to discover, and impractical to replace if compromised, at least more times than you have fingers) “something you have.” In security factor terms, I'm not convinced the idea of a distinct “something you are” category is coherent, since most candidates seem similar to that.

Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by jiveturkey on Monday September 24, 2018 @01:15PM (#18059450)
"Something you are" is a term of art, not a very specific statement of fact to be legally overanalyzed. A fp is very much "something you are".
Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by dragonwriter on Monday September 24, 2018 @02:01PM (#18059830)
> "Something you are" is a term of art,

Yes, what I am saying is that in practice what that term of art refers to is not an independent, orthogonal kind of security factor from “have” and “know” but a strictly worse form of “have”.

Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by bluGill on Monday September 24, 2018 @11:47AM (#18058676)
DNA is something you are.
Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by dragonwriter on Monday September 24, 2018 @02:03PM (#18059847)
The reason DNA is useful as criminal evidence is you leave it everywhere; that makes it a horrible security factor: like fingerprints it's an impractical to replace wheb compromised “thing you have” that you leave everywhere for attackers.
Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by bluGill on Monday September 24, 2018 @03:10PM (#18060475)
That is a very good reason to not use it alone. However when combined with other it provides a good indication that someone was actually there. Either that, or the attacker went through more effort to get the secrets.
Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by dllthomas on Monday September 24, 2018 @12:33PM (#18059063)
Maybe? Although not yet practical, in theory it too can be captured and reproduced.
Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by pps43 on Monday September 24, 2018 @09:59AM (#18057704)
Calling a fingerprint "something you are" is a stretch. You are leaving fingerprints everywhere, they can be lifted from any smooth surface you touched (or even high-resolution photo) and then used to open biometric locks.
Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by rikkus on Monday September 24, 2018 @06:02PM (#18061860)
The fingerprint belongs to you. Calling it 'something you are' is conveying this, without claim to it being somehow difficult to clone or entirely unique. Mother's maiden name is similar in this regard.
Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by NedIsakoff on Monday September 24, 2018 @10:42AM (#18058086)
I honestly think the better one would be: "Hit his wife and kids until he tells us the password."

Much more effective.

Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by krrrh on Monday September 24, 2018 @11:03AM (#18058251)
It’s worth knowing that krypton (https://krypt.co) can make your smartphone act as a U2F or Fido2 (as well as SSH and PGP) device. You can use this instead of a Yubikey, as a backup, or just to inexpensively play with the concept and test out your backup protocols.

Also, some cryptocurrency wallets, like Trezor and the Nano S, can do U2F. These can be effectively backed up to paper with 12 or 24 word seed phrases, and can serve as a good (if bulky) backup option.

Still, save your backup codes for each site you register.

Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by specialp on Monday September 24, 2018 @10:05AM (#18057741)
I actually have 2 Yubikeys, one with me, one in a safe place. But the price of these keeps rising. $50/$60 is starting to get a bit unreasonable for something that you were able to buy 2 or 3 of for the same price a few years back.
Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by xur17 on Monday September 24, 2018 @10:37AM (#18058033)
I do the same thing, but my backup device is stored off-site, so it's pretty hard to make sure the backup device is connected to the same accounts as my primary ones. I currently keep a list of new accounts I've added and then periodically retrieve it and add the new accounts.
Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by fabian2k on Monday September 24, 2018 @08:51AM (#18057229)
You should have backup 2FA methods for that case, either more tokens at different locations or other 2FA methods like TOTP or printed one-time backup codes or all of these together.
Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by lallysingh on Monday September 24, 2018 @09:25AM (#18057434)
I say take a morning and print out all your one-time recovery keys, put them in an envelope, and put that envelope next to your other important but rarely used documents.
Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by saryant on Monday September 24, 2018 @01:16PM (#18059461)
Then buy a fireproof document safe and put all those documents in there.
Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by zjs on Tuesday September 25, 2018 @12:06AM (#18063504)
Off topic: I feel like a fireproof document safe is something that I should own, but every time I shop for one I find myself going down a rabbit hole of unfamiliar terminology and certifications. As with many things, it seems like the marketing for such safes doesn't always match the fine print.

(And sometime the fine print just seems impractical: I'm unlikely to actually air out my safe for 30 minutes each week, but could replace a desiccant a few times a year.)

Does anyone have a recommendation for a safe that can protect paper documents and digital media from both fire and water in realistic conditions?

Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by diggernet on Wednesday September 26, 2018 @12:29AM (#18072795)
I don't have a specific recommendation, but suggest you don't try to combine the paper and digital requirements.

Look for UL fire endurance ratings. UL rates them on time and temperature. Edit: I've seen ratings up to 3 hours, but the longer the time, the bulkier and heavier for the same storage volume.

For paper, you'd want something rated to stay below 350 degrees for at least an hour. That's not hard to find even in large sizes. I ended up with a used FireKing 4 drawer file cabinet from a company liquidation sale. Edit: Built like a tank, holds a lot, uses a Medeco key, weighs a couple hundred pounds empty.

For digital, you need something rated to stay below 125 degrees. That's pretty hard to find, and usually only in very small boxes. Unfortunately, some companies (looking at you, Sentry) like to advertise "digital media" boxes which are not rated for 125 when you read the fine print. Not sure how they get away with that. :(

I eventually found a small Sentry chest rated for 125 degrees for 30 minutes. Holds a couple hard drives and some DVDs. Sadly, do not recall the model number. Edit: Storage volume is maybe 5"x5"x8", walls are all 3-4" thick.

Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by newscracker on Monday September 24, 2018 @09:03AM (#18057296)
I’ve had the same concern for a long time, but more from a worry about what to do when it breaks or stops working after a few years. The recommendations I’ve read are to always have a recovery key or other alternate mechanisms that don’t depend on this device. One common suggestion also seems to be to print the recovery/alternate key and keep it safe.

I believe this is a bigger barrier for common people who don’t know how to create and retain backup mechanisms. As such, I don’t see a lot of value in recommending these devices to those who aren’t tech savvy without also explaining to them about recovery. So much for technology!

Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by mbeasley on Monday September 24, 2018 @09:05AM (#18057310)
It's smart to buy two at the same time. While you can't copy a Yubikey, you can choose how to initialize them and you can initialize both identical to one another and then lock them down. That way they're copies of one another and fully backed up. I keep my main one on me at all times and have my backup in a safe place.
Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by teagee on Monday September 24, 2018 @09:19AM (#18057390)
Do you have a link to the docs that shows this? From what I can find on their site [1] it only supports a few of the protocols:

-Static Password

-HMAC-SHA1 Challenge-Response

-OATH-TOTP (Yubico Authenticator)

[1] https://support.yubico.com/support/solutions/articles/150000...

Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by justinc8687 on Monday September 24, 2018 @12:05PM (#18058828)
It works very well for TOTP, just initialize all the keys at the same time. You can also print the qr code on paper as an additional layer of backup which makes it easier to add a new key if you destroy yours. Obviously if it was lost, you’d want to invalidate that and reset it up, but if run over by a truck and you’re holding the pieces, it’s easier than setting up all of them again.
Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by jwr on Monday September 24, 2018 @09:31AM (#18057476)
IMHO the YubiKey is not useful for any of those. It's excellent for storing OpenPGP keys and U2F, reasonably good for X.509 (as much as expected for X.509 I guess), and not good for much else. Using it for TOTP IMHO makes no sense, it's better to use your phone.
Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by jfim on Monday September 24, 2018 @10:36AM (#18058026)
Using it for TOTP makes sense if you have more than one phone or want to use TOTP on your desktop through Yubico authenticator.
Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by jdeibele on Monday September 24, 2018 @02:28PM (#18060064)
Authy is excellent for this. I've got it on my phone and tablet. I'm reluctant to use it on my desktop because I don't want to type in a huge password but I regard my 2015 MacBook as less secure than my devices that are protected by touch. You might be OK with that or have a laptop with touch ID.
Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by Boulth on Monday September 24, 2018 @02:11PM (#18059905)
Exactly. Additionally phones can be rooted and that exposes the underlying secret but Yubikeys are tamper resistant.
Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by emlun on Tuesday September 25, 2018 @03:12PM (#18069488)
That won't work for U2F or FIDO2, unfortunately, since the master key is not configurable. You need to enroll both keys with each new service, sadly.
Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by justinc8687 on Monday September 24, 2018 @12:02PM (#18058806)
I keep 3 keys active. One is on my keychain, one lives in a locked file cabinet in my home and I have one at my parents house on the other side of the country.

I primarily use them for u2f and totp, though I want to deep dive into ssh via OpenPgp one of these days. When I want to add a new site, I: 1. Set it up on my keychain key. 2. If at home, set it up on my backup. If not, print out the totp secret on paper and when I get home, add it. 3. Call my parents and ask them to plug the 3rd key into a windows box I can Remote Desktop into and set up either totp or u2f via Remote Desktop. Once done, I ask them to unplug it (it’s attached to the desktop pc case with a lanyard).

I find the “key at parents house” to be really helpful, as if I’m traveling and lose/destroy my keys, I can just call them and ask them to plug it in and then I’m back in business.

Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by baq on Monday September 24, 2018 @09:25AM (#18057442)
same thing as when you lose one of your keys to the car: you use your backup key until you get a replacement primary.

corollary to this is that you shouldn't ever get only one.

Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by AdmiralAsshat on Monday September 24, 2018 @09:30AM (#18057471)
I have a basic Yubikey (USB only) that I got from having an Ars Technica subscription. Right now I have that + Authy so that none of the critical services are Yubikey-only.

If I get the new Yubikey, my plan is to put the old one in a safe as a backup.

Re:YubiKey 5 Series with New NFC and FIDO2 Passwordless Feat... by killaken2000 on Monday September 24, 2018 @08:55AM (#18057248)
I bought a yubikey 4 a while back and thought the same thing so I never really used it. I might use this as an excuse to buy another yubikey and have one as a backup.