Closed Bug 1515151 Opened 5 years ago Closed 5 years ago

Smartcard label not displayed in security module dialog (only reader name) whereas smartcard is actually inserted

Categories

(Core :: Security: PSM, defect)

62 Branch
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: bertrand.perret, Unassigned)

References

Details

Attachments

(4 files)

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

Steps to reproduce:

load pkcs#11 module via webextension
insert smartcard
go to security module dialog
in the left panel, the reader name is shown


Actual results:

go to security module dialog
in the left panel, the reader name is shown under module name


Expected results:

the smart card label should have been displayed instead (this was the case in FF 61.0.2)
Normally, the reader name is displayed when no smartcard is detected in device.
Summary: Smartcard label not displayed in security module (only reader name) → Smartcard label not displayed in security module dialog (only reader name)
Component: Untriaged → Security
Summary: Smartcard label not displayed in security module dialog (only reader name) → Smartcard label not displayed in security module dialog (only reader name) whereas smartcard is actually inserted
Actually the diplay change occurs in FF 62.0
Version: 64 Branch → 62 Branch

It might be helpful to find out how and why this changed. Can you do a run with mozregression (https://mozilla.github.io/mozregression/) to find the commit that broke this for you? Thanks!

Flags: needinfo?(bertrand.perret)
Flags: needinfo?(bertrand.perret)

Seems like bug 1465976, then. Dana, can you take a look at this, please? Thank you!

Blocks: 1465976
Component: Security → Security: PSM
Flags: needinfo?(dkeeler)
Product: Firefox → Core

That change was deliberate. We now list slot names under each module to be consistent (since a token might not be present in the slot). In the details pane, you can see the token's name if it is present. Bertrand, is there a particular concern you have with the UI behaving this way?

Flags: needinfo?(dkeeler) → needinfo?(bertrand.perret)

Hello Dana,

It's only a visual commodity suggestion for end users.

Now, when i open 'device manager',
only slot names are listed in the modules pane.

With the old way,
you could see at first sight when opening DM, if a token was recognized by showing its label.

with the new design, you have to click all listed slots to see if there is an actual token in the detail pane.
I don't find it practical.

The very first time I saw this, I believed that our custom pkcs#11 was not working with ff62 because I was accustomed to the old display!
Then I had to click the slotname to realize that the token was present.

Isn't possible to restore the old way by a setting in about:config for example ?

Flags: needinfo?(bertrand.perret)

No - it would be more work than it's worth to support making this configurable. I realize it's more work, but you'll just have to click one more time if you want to see if the token is present.

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

Attachment

General

Creator:
Created:
Updated:
Size: