Closed Bug 1746712 Opened 3 years ago Closed 1 year ago

Importing PKCS12 into Your Certificates fails silently

Categories

(Core :: Security: PSM, defect)

Firefox 88
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: opensource, Unassigned)

References

Details

(Whiteboard: [psm-backlog])

User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0

Steps to reproduce:

Fresh install of Firefox on 94.0 build ID 20211102105145 on Fedora Linux.

Go to Preferences > Privacy and Security > View Certificates > Your Certificates > Import.

Open a valid PKCS12 file that does not have read permission for the current user.

There is no error message and Firefox fails silently.

It's irrelevant whether you enter right password (it can't read it anyway).

Actual results:

There is no GUI error message and Firefox fails silently. There is no print to STDOUT or STDERR either. I spent half a day trying Firefox in various containers and VMs before I found the issue.

Expected results:

The user should have gotten a message with the appropriate error (filesystem permission denied).

The Bugbug bot thinks this bug should belong to the 'Core::Security: PSM' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Security: PSM
Product: Firefox → Core

The severity field is not set for this bug.
:keeler, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(dkeeler)
Severity: -- → S3
Flags: needinfo?(dkeeler)
Whiteboard: [psm-backlog]

I'm not sure when this was fixed, but the file picker now shows a "Selected file does not have read permission" prompt.

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Duplicate of this bug: 1312732
You need to log in before you can comment on or make changes to this bug.