HNHacker News
TopNewBestAskShowJobs

growse

3,177 karma · joined December 14, 2011

@growse@hachyderm.io
submissionscomments
growse··on Passkey technology is elegant, but it's most definitely not usable security
A passkey is a resident webauthn credential.
growse··on Passkey technology is elegant, but it's most definitely not usable security
And why do they do it? What are they trying to achieve?

I'd guess that they most likely want multiple people to be able to access a single account. Passwords are forced to be shared because a password is typically implemented as a single credential - there's one valid password for that account.

This is .... not true for passkeys. If you want two people to access the same account, they both add passkeys to that account.

Sharing passwords happen because of a property of passwords. It's not some fundamental requirement that people have. What people want is shared access.

growse··on Passkey technology is elegant, but it's most definitely not usable security
> I don't think it's the responsibility of the author to make any constructive input to the passkey problem.

Oh, it's not their responsibility, sure. But moaning about the UX without considering the trade-offs and decisions that got us to this point isn't very useful. Passkeys are badly implemented on some sites. So let's fix that.

> This makes passkeys essentially the same as passwords.

Passkeys in a password manager are fundamentally different to passwords. Try copying the passkey private key into your clipboard from your password manager.

> Passkeys as encouraged by the big companies are all about vendor lock-in than security.

The fact they prevent phishing is just a useful side-effect? This is veering into conspiracy theory territory.

growse··on Passkey technology is elegant, but it's most definitely not usable security
If you show it on a screen, someone will read it out and type it into a website. We don't need to guess at this, it happens a lot in the real world.

No matter how many UX barriers you put in place, an exportable credential will be handed over to an attacker by an unwitting user at some point.

growse··on Passkey technology is elegant, but it's most definitely not usable security
We're not aiming for "perfect", we're just trying to make some progress on the phishing problem.

The irony here is that many of the complaints in this thread seem to be complaining about how imperfect passkeys are. No-one disagrees that they're imperfect!

growse··on Passkey technology is elegant, but it's most definitely not usable security
I share accounts with my spouse using passkeys just fine. We just register our own passkeys. shrug.
growse··on Passkey technology is elegant, but it's most definitely not usable security
> My wife and I share passwords fairly regularly. Usually in a context where one of us is busy and wants the other to log into something they set up (e.g. to pay a bill), so the entire point is to not spend a few minutes going through an enrollment flow or whatever to give the other access (otherwise they'd just do the task). We may also not be in the same location when things like that come up.

Mine too! We simply register multiple passkeys under the same "account" for a service and we can both log in as the same identity. Have I missed something? Why is this hard?

> Passwords, obviously.

Passkeys are trying to solve the phishing problem. I guess pretending that the problem doesn't exist is also some type of solution, but I don't think it's a very good one.

growse··on Passkey technology is elegant, but it's most definitely not usable security
What stops the user pasting their password out of their password manager into a random evil site? Auto-fill isn't infallible.

This isn't a controversial topic, the data is pretty unambiguous. If you give humans a secret they can put in their clipboard and train them to enter it into text boxes, some fraction of them will send their credentials to the wrong people.

growse··on Passkey technology is elegant, but it's most definitely not usable security
Which?
growse··on Passkey technology is elegant, but it's most definitely not usable security
I don't disagree with you about the UX. It could be better. It could be worse. What's your proposal on what a better UX might look like (along with getting everyone to adopt it)?

> They want to share them across devices

I do this today on Bitwarden, Apple users do this today with Keychain. Who's the "they" here?

> sometimes even devices made by different vendors.

> they want to hand a passkey to a family member or friend

..... Why? What's the use case here?

Tying a credential to a single identity (and therefore, human) is another explicit design goal of webauthn. I seem to remember the original proposal was that locking a private key to a device in an unextractable, un-copyable way was an explicit benefit - if it can't be exported, then it can't be stolen/copied without the device also being stolen. This was softened with the purpose of allowing syncing amongst devices that already have a good story on sharing sensitive data, but this mechanism does not exist generically. There is no standard way, right now, that my iPad and Pixel device can share a private, sensitive piece of information without the help of a 3rd-party syncing provider. Without that, cross-platform credential sharing can't exist out of the box by default.

growse··on Passkey technology is elegant, but it's most definitely not usable security
One of the primary, explicit design goals of webauthn is that they're not phishable. Passwords are phishable.

What are the other ways that people want passkeys to be better?

growse··on Passkey technology is elegant, but it's most definitely not usable security
Lots of criticism in the article, some of it valid, none of it constructive.

Sure, there's UX problems as we're still trying to figure out what good looks like here. But in the absence of specific, concrete suggestions about how we improve usability for unphishable credentials, it seems that passkeys are a pretty good go. Perfect? No. Better than passwords? Undoubtedly.

growse··on Passkey technology is elegant, but it's most definitely not usable security
> Most passkey stores refuse to let you export them, and the real reason is vendor lockin. (They also did this with TOTP keys.)

Does this mean that any HSM where inability to export the private key is a feature is also doing it for "vendor lockin" reasons?

growse··on A Tour of WebAuthn
Passkey is just a fancy brand/marketing name for a specific mode of webauthn (resident).

Saying that "WebAuthn was much more public, but passkey was not." shows that you don't really have a clear and accurate mental model of what passkeys are. Maybe TFA might help?

growse··on A Tour of WebAuthn
Yeah, you're missing the point of why attestation is in the spec in the first place.

Show me a widely available service that filters authenticators based on attestation attributes?

growse··on A Tour of WebAuthn
I think Apple deliberately don't add any attestation data in their implementation, precisely to stop services detecting (and filtering) on the fact that it's an apple-made authenticator.
growse··on Seconds Since the Epoch
Agree, but people often miss that there's two different use cases here, with different requirements.

"2 days from now" could either mean "after 2*86400 seconds have ticked" or it could mean "when the wall clock looks like it does now, after 2 sunset events". These are not the same thing.

The intent of the thing demanding a future event matters. So you can have the right software abstractions all you like and people will still use the wrong thing.

The problem is that programmers are human, and humans don't reason in monotonic counters :)

growse··on A Tour of WebAuthn
We're talking about webauthn, not recovery codes.
growse··on A Tour of WebAuthn
Sure, but you're moving the goalposts. We're comparing a system that relies exclusively on passwords Vs one that relies on webauthn.

The operational competence of the dba is the same in both cases.

growse··on A Tour of WebAuthn
There's a difference between fluffy that's phishable (passwords) and fluff that isn't (webauthn).

Not all fluff is equal.

growse··on A Tour of WebAuthn
> I don't give a fuck if other people can't manage secure passwords.

Sure you do. When your local tax office / hospital / large data holder of your personal data has an administrative interface that only uses passwords, then the administrator gets fished and your identity stolen, suddenly you care a great deal.

growse··on Seconds Since the Epoch
We have leap seconds to save us from having leap minutes, or leap hours.

Generally, it's useful for midnight to be at night, and midday during the day. UT1 is not regular, so you need some form of correction. Then the debate is about how big and how often.

growse··on Seconds Since the Epoch
I guess this hinges on whether you think Unix time is an integer or a float. If you think it's just an integer, then yes, you can't get a negative delta.

If, however, you think it's a float, then you can.

growse··on Seconds Since the Epoch
From IEE 1003.1 (and TFA):

> If year < 1970 or the value is negative, the relationship is undefined.

growse··on Seconds Since the Epoch
Fair, it's often one of those hidden, implicit design assumptions.

Google explicitly built spanner (?) around the idea that you can get distributed consistency and availability iff you control All The Clocks.

Smearing is fine, as long as it's interaction with other systems is thought about (and tested!). Nobody wants a surprise (yet actually inevitable) outage at midnight on New year's day.

growse··on Seconds Since the Epoch
This feels like semantics. If a counter repeats a value, it's effectively gone backwards and by definition is not monatomic.

A delta between two monatomic values should always be non-negative. This is not true for Unix time.

growse··on Seconds Since the Epoch
Sure, but that doesn't mean that we invented and practise leap seconds for the sheer fun of it.

There's very good reasons that are important behind why we try and keep UTC near UT1, so saying "it doesn't matter to anyone" without even entertaining that some people might care isn't very constructive.

growse··on Seconds Since the Epoch
Unix time is not monatomic. It sometimes goes backwards.
growse··on Seconds Since the Epoch
Did you ask everyone?

It most certainly matters to a lot of people. It sounds like you've never met those people.

growse··on Seconds Since the Epoch
With hindsight, we'd do lots of things differently :)

I guess they just didn't foresee the problem, or misjudged the impact. I can imagine it being very "let's kick that problem down the road and just do a simple thing for now" approach.

← PreviousPage 6 of 34Next →