Perhaps look at the Spanish Cl@ve, it works with Linux. It's just a simple digital certificate that allows you to identify yourself.

You can even run it on OpenBSD or TempleOS if you want to.