I’m trying to get the native Firefox to read my smartcard. I added pcsc-lite and opensc via homebrew. I’ve thrown the permissions sink at it with Flatseal, added the absolute path to the drivers, and also allowed it to transpose that path into /run/user/..., but continue to run into the Unable to add module error. Are there any other avenues aside from using an appimage, etc.?
Restart Firefox. You will now be able to add the p11-proxy device to your Firefox security devices and use your smart card.
Gotchas I’ve seen with this is that it needs to be an actually supported reader by opensc. Additionally this exposes your tokens to your browser. This is more than what flatpak initially allows. But this does get it working.