Closed Bug 42517 Opened 24 years ago Closed 24 years ago

Password dialog for PSM shouldn't offer to save

Categories

(SeaMonkey :: Passwords & Permissions, defect, P3)

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 41390

People

(Reporter: thayes0993, Assigned: morse)

Details

The PSM glue code uses a standard nsIPrompt interface implementation to prompt for the password to unlock security tokens. This dialog normally allows the password to be saved, which is a useful feature in other parts of the product. However, PSM passwords should never be saved, both for security reasons, and because PSM is itself used to securely save passwords.
junruh's the qa contact for psm...
QA Contact: sairuh → junruh
No, I agree they shouldn't. This is a consequence of some restructuring that warren did for the dialogs. It is related to (but not the same as) bug 41390. However, you can easily work around it by calling common dialogs directly. See the way I do it in singsign.cpp. Specifically, look at the code in SINGSIGN_PromptPassword for the case when the pref is not enabled. Alternatively, look at the code in si_CheckGetPassword and how it calls UniversalDialog to do this. So since there's a work-around for you case, I'm marking this as invalid. Hopefully the fix for 41390 will fix it for the general case.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
No, don't do that. Common dialogs is going away.
So what would you suggest. I tried changing the "persist" parameter to PromptPassword to PR_FALSE, but that doesn't seem to have any effect. Is there a way to get the nsIPrompt interface to do what I want?
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
There will be soon. See the latest comments in bug 41390. In fact, with the solution that warren is leaning towards in that bug report, it's now clear that this bug is a dup of that one. *** This bug has been marked as a duplicate of 41390 ***
Status: REOPENED → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → DUPLICATE
Verified.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.