I just finished following 
https://ubuntu.com/tutorials/enable-smart-cards-in-snapped-browsers#1-overview 
trying to get smart cards working in snapped Firefox and Chromium on my laptop 
(Mozilla Firefox 143.0, Chromium 139.0.7258.66 snap, Ubuntu 25.04) and was not 
able to get either application to authenticate via smart card. Admittedly, it's 
been a long time since I had to set up my browsers for smart card 
authentication, and there are a couple places I could have gotten off course, 
but I'm relatively confident I performed the following correctly:
- Installing to the browser the root CA from the authority which provided the 
certs on my SmartCard,
- installing OpenSC module to the browser,
- enabling pcscd on the snap,

Fairly unique to my set up: I had to hack my libccid to ignore my HP
smart card keyboard advertising as a pin-entry device, which is a broken
feature in that hardware.

I'm able to authenticate on the command line with `pkcs11-tool --slot 0
-l -t`. I just always find the "login" button in Firefox Device Manager
dialog disabled and smart card enabled websites complain I have provided
no certificate. Is there something obvious I have missed?

uname -a:
Linux <hostname> 6.14.0-29-generic #29-Ubuntu SMP PREEMPT_DYNAMIC Thu Aug  7 
18:32:38 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2089141

Title:
  Opensc smart cards do not work in the snapped browsers

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/2089141/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to