Yo folks, I have LineageOS installed on my smartphone without any google services ofc Why can’t I use U2F or FIDO2 (hardware keys)? It this Google feature?
Basically, yes. IIRC the FIDO/U2F handling is implemented in google libs.
They are however re-implemented in microG: https://github.com/microg/GmsCore/wiki/Implementation-Status, so if you are open to using that it should work with apps using the corresponding google client libraries.
I have used Firefox on Lineage/microG and tested FIDO2 there, it does NOT work with Fennec as that does not include the required client side libraries.
Okay, thanks! Is there a standalone implementation as I do not want to install whole microG?
Not that I know of. I think this needs to be implemented in a system framework.
I confirm what the other comment said, with microg it works fine. I am using /e/OS and I regularly use yubikeys with Firefox, bitwarden and the yubico app.