NB! DO NOT run commands you get from the internet blindly!
1. Dependencies
Install the needed packages and enable pcscd service.
sudo pacman -S pcsclite ccid opensc
sudo systemctl enable --now pcscd.service
Check that your computer recognizes the card reader with
opensc-tool -l
If you already have a card inserted, the Card column of the output should display Yes. If no card reader shows up, try restarting before anything else.
2. Browser extension
Install web-eid and an appropriate extension for your browser (web-eid-chrome for chromium-based browsers or web-eid-firefox) from the AUR. Using an AUR helper (example):
yay -S web-eid web-eid-firefox
(tested on Firefox)
3. Legacy TLS auth
(Optional)
pkcs11-register
4. Final
Your browser might ask for confirmation after installing the extension from AUR (and restarting the browser). You can finally test it on the official page.