Closed Bug 1683512 Opened 4 years ago Closed 4 years ago

Crash versione 84.0 con SMART CARD CNS

Categories

(NSS :: Libraries, defect)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1682881

People

(Reporter: andreavala88, Unassigned, NeedInfo)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36

Steps to reproduce:

Firefox 84 non funziona più per gli accessi con smart card CNS.
Testato il corretto funzionamento sia su IE sia su Chrome e tutto funziona. Sono entrato nel sito Inps senza problemi.

Reinstallati anche i drivers della smart card senza esito

Il problema è FF 84

senza card inserita funziona
con libreria bit4xpki.dll caricata senza card inserita funziona
con libreria bit4xpki.dll NON caricata e card inserita funziona
con libreria bit4xpki.dll caricata e card inserita NON funziona

Il browser va in crash e si frizza e non consente la navigazione

https://forum.mozillaitalia.org/index.php?topic=75343.0

Actual results:

Il browser va in crash e si frizza e non consente la navigazione

Expected results:

deve consentire la navigazione

I confirm the issue with several smart cards handle by bit4id libraries.
In particular with smart cards handled directly by bit4opki.dll and bit4xpki.dll
Tested different versions of bit4id library and different smart card readers: the result doesn't change.
No possibility to navigate using version 84.
With version 84 and smartcard inserted the browser freeze and requires to be killed using task manager.

Reverting to FF83 and everything works again.

With the same library and reades edge, opera and chrome work troubleless...

I confirm this bug after update to version 84 ff crash with smartcard inserted with bit4xpki.dll pkcs11 addin, previous version work

With the same library and readers edge, opera and chrome work troubleless...
that browsers use a library other than PKCS#11, the MS CryptoAPI iterface/CSP.

Can you test following build, from bug #1682863 :
https://treeherder.mozilla.org/jobs?repo=try&revision=7615b9ba23088e75facd9622d8345261010e2420

you should select the "Windows 2012 x64 opt" "B"
then "artifacts" below and "target.installer.exe"

Note, you'll have to disable security.osclientcerts.autoload in about:config, then restart the browser, otherwise you will have the experimental osclientcerts PKCS#11 wrapper over CryptoAPI that may override your PKCS#11 library.

Hi everyone,

First of all, I ask you to write everything in English because this way we can all understand it, especially the devs that might fix this.
So, I cannot reproduce this bug because I do not have the smart card. Nonetheless, I've chosen a component for this bug in hope that someone with more expertise may look at it. We'll await their answer. If you consider that there's another component that's more proper for this case you may change it.

Below I copy the first comment in English. Regards, Flor.

(In reply to vala88 from comment #0)

Steps to reproduce:
Firefox 84 does no longer work with smart card CNS.
It does work correctly on Chrome.
I also reinstalled the drives of the smart card unsuccessfully.

The problem is in F84. Without card inserted works
with bit4xpki.dll library loaded without a card inserted it works
with library bit4xpki.dll NOT loaded and card inserted it works
with bit4xpki.dll library loaded and card inserted it does NOT work

The browser crashes and fizzes and does not allow navigation
https://forum.mozillaitalia.org/index.php?topic=75343.0

Actual results:
The browser crashes and is frozen and does not allow navigation

Expected results:
must allow navigation

Flags: needinfo?(andreavala88)
Assignee: nobody → nobody
Component: Untriaged → Libraries
Product: Firefox → NSS
Version: Firefox 84 → other

Thanks. Fx 84.0.1 seems to resolve most of the issues, but there are at least two (slow) smartcards that still have problems. We have reports of this and a complete fix on the way.

In the meantime, see the comment here for a possible workaround: https://bugzilla.mozilla.org/show_bug.cgi?id=1682881#c22

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.