passkeys are was what I would call a transitional solution here, we need to be c...

@Epic_Null@infosec.exchange

passkeys are was what I would call a transitional solution

here, we need to be careful. In software, as in other places, nothing is more perminant than a temporary solution to a hard problem.

I think the analogy of house keys makes sense

It does until you notice that the owner of the house gets no say in the key. If I had to have a home accessable to someone who say, had no hands with which to turn a key, I could, as the theoretical home owner, get an electronic lock that can open via a method easier for the person I'm trying to allow in.

Do you have specifics about what should be done instead, given those constraints?

I actually kinda do, but its not a "one size fits all" solution, and it's extra unlikely to occur as long as the bait of data collection hangs in front of the large corporations that have way too much control over the web.

The first thing we need is to stop treating all authentication problems as the same problem. Instead we need to take some time to identify different classes of authentication problem.

Authentication to accounts tied to Physical Locations should probably utilize that physical location as part of the account creation and password recovery system. Because it's a physical location, you cut out a LOT of vulnerabilities. (There's more to this, but I'll leave it for when I get to the technical changes).

Authentication to accounts that are non-anonomous but not tied to a place you can just visit should probably have a link to one or more of the physical location accounts, making the account "belong" to that second identity. (Technologicaly, I would model it after either SSO, or maybe a certificate system.) Your bank would be able to vouch for your identity when signing in to your steam account, for example. (You'd have to tie in an alternative entity to vouch for you if you wanted to close that bank account. Not a complex endevor, but there are some complications I'll cover later.)

Pseudononomous accounts would probably follow username/password, FIDO, or some other authentication similar to what we have today. These are the ones that would keep their risk profile around the same as what we currently are dealing with. These are also accounts more rare for the layman, and accounts which can more easily be sacrificed and replaced.

Now that I've set up some classes of authentication problem, let's talk the fun stuff!

For this, I'd propose a few rules.

  • It needs to be obvious what you'rehanding over for authentication. Every. Single. Time.
  • Recovery, and its limitations need to be clear, every single time.
  • If we are assigning one account to another, that link needs to be obvious.
  • The responsibility for keeping secrets MUST be seperatable from the service that people are using.
  • Protocols over Platforms. Platforms are a problem.

Passkeys fail many of these tests. "Sign in with biometrics" is deceptive, since you're only sharing your biometrics with Microsoft - the passkey is what actually gets used. (Implementation detail, sure, but it makes me angry so I'm including it.)

So what could make all this work? Well... for the first class of problem I'd actually go with a cross between a credit card and a web certificate, alongside a passcode. If I need an account with the bank, I really should be using my bank card as part of my authentication. I need a digital pass to open the doors at work anyway, why is THAT not a key part of how I open my computer? These are entities that know who I am and can vouch for it. The private key would live entirely on the card, and the card would decrypt, encrypt, and sign. The public key could be uploaded to the remote server, and no stealable hash is ever stored. We can also make this whole system phishing resistant by encoding the requester in the challenge response.

For the second class of problem, I'd say anything that doesn't use the certificate directly should effectively use certificates. (Look, I like certificates, okay?! They're a really good design.). They'd cary a code much like an SSN that identifies you as you. If banks weren't so crap at security, I'd say they're a natural entry point. For students, the school would be a natural place to look. Libraries are a good option as well. You would create a certificate request, sign it with your phsyical card, and then use that to log in.

For the third class of problem, we'd be talking something very similar, BUT the verification entities would be... Different. Specifically, if you want to seperate from your Primary Real World Identity, you would choose another Authority (including yourself). Self Signed authorities would be perfectly valid, with the additional risks involved.

Now, I know what you're thinking - we introduce certificates for this, we bring in revocation problems. This too, I can fix. For real world stuff, the secret would be to have it so that only the keys are on your card, but you request a short-lived certificate (one day for short, one week for normal, one month for long) when you authenticate to the verifying identity. This way you can cut your card off and replace it when needed.

=====
How is any of this different from passkeys? A few things.

  1. When an account belongs to something other than the user, we want to be honest about it. It needs to be EXTREMELY clear who in this loop has the ability to decide a user is no longer allowed to have what they have.
  2. We are deliberately choosing primary entry points that use non-tehcnological means of verification. Things that will pass the toilet test (If your devices fell into the toilet, could you regain access?).
  3. We are deliberately picking something that not everyone can just have the same of, but that everyone should have something of. Not everyone has the same school or grocery store. This should help prevent Apple and Google and Microsoft from controling All Of Identity, because well... the physical world still has some resistance to the monopolies.