I installed OpenSC 0.18 and added the PKCS11 DLL as a security device provider in Firefox 61. I can "unlock" my smart card from the Security Devices dialog, and get prompted for the PIN as expected. But, when I visit a site that wants to use the card for authentication, I get prompted for a PIN before even being asked to select a certificate. Then, I get prompted many more times (5-10) before the login process completes. Visiting the same site from a Linux box (using coolkey drivers) results in a single PIN prompt.
I'm using the default config file for OpenSC, which I think means PIN caching should be enabled. I don't even know if this is a Firefox problem, OpenSC problem, or something specific to the site in question. How can I stop this excessive prompting?