I published an AUR package at AUR (en) - libfido2-full . The Arch default libfido2 does not have support for PC/SC (smartcard) devices.
I’m not going to give you enormously detailed instructions, but the high level steps are:
Get to a state where the pcsc_scan command is available
Get to a state where executing pcsc_scan shows your card reader (hint: be running pcscd)
Get to a state where the fido2-token command is available
Get to a state where the fido2-token -L command shows your implant when it’s near the reader (hint: libfido2-full not the normal libfido2)
If by “this” you mean “webauthn on Linux”, you’re technically there at step four. If you want to do it in Firefox or Chrome you will also need software like I’ve linked above to pretend to be a USB authenticator for software that - like Chrome and Firefox on Linux - only supports FIDO2 over USB.
The fido2-token command is available but I can’t seem to get my implant to appear from fido2-token -L or
So I completed step 4 successfully and installed your AUR package. But I still am not getting a “system” prompt with Firefox, Firefox does prompt however.
Did you ever find a solution to is? After more then a year of using my Apex without a PIN, I needed to enroll it for a new service on my work (Windows) laptop which required me to setup a PIN. Now I can use my Apex on Windows just fine with the PIN I setup, but trying to use it on Linux with the bridge just results in the same “incorrect pin” error (even though the same PIN works on Windows)
I have a debug log from fido2-hid bridge if it helps
fido2-hid-bridge.service: Failed with result 'exit-code'.
Stopped Fido2 to HID bridge.
Started Fido2 to HID bridge.
fido2-hid-bridge.service: Main process exited, code=exited, status=1/FAILURE
fido2-hid-bridge.service: Failed with result 'exit-code'.