Closed Bug 384399 Opened 18 years ago Closed 18 years ago

When loading a security device (PKCS#11 token) the path is not correctly recovered from the file selection window

Categories

(Firefox :: Security, defect)

2.0 Branch
PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 321258

People

(Reporter: ludovic.rousseau, Unassigned)

Details

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; fr) AppleWebKit/419 (KHTML, like Gecko) Safari/419.3 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; fr; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4 The "Load PKCS#11 Device" window has a Browse button to open a file selection window. You can select the lib you want to use. But the name displayed in the "Module filename: " field is not correct and looks something like AAAAAAFqAAIAAQREYXRhAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADCcjv8SCsAAAAAA48LbG91aXMuY29taWMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEPcC7PyYAAAAAAAAAAP////8AAAkAAAAAAAAAAAAAAAAAAAAACURvY3VtZW50cwAAEAAIAADCch/cAAAAEQAIAADAuyMGAAAAAQAMAAADjwAAAB4AAAAdAAIAKURhdGE6VXNlcnM6cm91c3NlYXU6RG9jdW1lbnRzOmxvdWlzLmNvbWljAAAOABgACwBsAG8AdQBpAHMALgBjAG8AbQBpAGMADwAKAAQARABhAHQAYQASACUvVXNlcnMvcm91c3NlYXUvRG9jdW1lbnRzL2xvdWlzLmNvbWljAAATAA0vVm9sdW1lcy9EYXRhAAAVAAIAHP//AAA= Reproducible: Always Steps to Reproduce: 1. Menu Firefox -> Preferences -> Advanced -> Encryption -> Security Devices 2. clic on Load to open the "Load PKCS#11 Device" window 3. clic on Browse to open the file selector 4. select any file 5. the "Module filename:" field contains "random" characters like AAAAAAF6AAIAAAREYXRhAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADCcjv8SCsAAAAAA48PbW9pIGdvdGNoaS50aWZmAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAS0sFpfU0AAAAAAAAAAP 6. click OK 7. a confirmation dialog is displayed with the "random' file name Actual Results: The load of the selected PKCS#11 token fails (of course). Expected Results: the filename returned by the file selection dialog should be correct. It is possible to enter the filename by hand and the load works but that is not really user friendly.
The exact same problem is present in Thunderbird on Mac OS X.
The exact same problem is present in Thunderbird on Mac OS X.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a6pre) Gecko/20070610 Minefield/3.0a6pre This works OK for me on Windows trunk and branch. I'll test later today on Mac.
Component: General → Security
QA Contact: general → firefox
Summary: When loading a securoty device (PKCS#11 token) the path is not correcly recovered from the file selection window → When loading a security device (PKCS#11 token) the path is not correctly recovered from the file selection window
Version: unspecified → 2.0 Branch
Ah, this is a dupe. I'll follow up in the other bug.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.