Griping about passkeys

@creideiki@akkoma.xn--pikabl-0xa.se

Content warning: Griping about passkeys

Work is forcing me to set up passkey authentication. It has gone about as well as can be expected.

First, I tried MS's authenticator app on the work phone. Managed to create a key without too much difficulty, but then couldn't use it. After several hours of debugging, one of our Windows admins said that it requires a Bluetooth connection between computer and phone. Nothing in the enrolment or authentication flows said this, and my computers intentionally do not have Bluetooth.

OK, fine, I'll get a YubiKey instead. Despite being an official options, these are not kept in stock, so wait several days for the procurement process.

Despite Fedora's official documentation for YubiKey referring to a package that hasn't existed for several years, managed to get it set up and recognised by the CLI tools. Tried in a browser, and it works halfway - it blinks to show when to press it, but pressing it does nothing.

Several hours of more debugging later, turns out that to make it work I have to let USB HIDRAW into the sandbox where the web browser runs. After figuring out how to punch that hole, it *finally* works.

Two things that made this entire process much harder:

1. The available documentation mostly being on the level of "it just works", which means that when it does not work there is no chance to figure out why or what would be required to make it work. No error messages either, just timeouts.

2. The terminology not being standardised in the slightest. Different parts of the system use "U2F", "FIDO2", "face, fingerprint or PIN" or "passkey" to refer to the same thing.