Enable Encryption and wrong dialog appears or it crashes



Core Graveyard
Security: UI
18 years ago
a year ago


(Reporter: Ninoschka Baca, Assigned: Terry Hayes)



1.0 Branch

Firefox Tracking Flags

(Not tracked)


(Whiteboard: [nsbeta2-])



18 years ago
Build 2000-07-18-11M17: NT4

Overview: Enable Encryption and the wrong dialog appears on NT.

Steps to reproduce using NT4:
1. In Mail select Edit|Preferences|Advanced|Forms and Password 
2. Select the checkbox "Use encryption when storing sensitive data" and a dialog 
appears stating 

- "Enter username for Basic realm="NSM" 
- followed by a username text box and a password checkbox.
- checkbox to save this value

Expected Results: I would have only expected to see a choice to enter a Master 
Password, and another area to enter the Master Password again.

Additional Information:
- Linux 6.0, build 7/19: I selected Tasks|Privacy and Security|Password 
Manager|Encrypt Stored Data and the app crashes.

Comment 1

18 years ago
Actual Results for NT scenario continued....

I makeup a username and password, select OK. The same dialog appears asking for 
a username and password. When I Cancel out of the dialog I see two blank/white 
windows. I try to closes these extra windows and the application freezes. I 
notice that a Netscape6.exe and psm.exe process still running.

Unfortunately no talkback report appears.
over to lisa's group for qa.
QA Contact: sairuh → lchiang

Comment 3

18 years ago
- Isn't this needed for nsbeta2?

Keywords: crash, nsbeta2
OS: Windows NT → Linux
QA Contact: lchiang → nbaca

Comment 4

18 years ago
Build 2000-07-21-09M17: NT4, Mac 9.04
Now the NT4 build is behaving like the Linux build. After selecting to Encrypt 
the app freezes. The Mac build also has the same problem. No talkback report 

Comment 5

18 years ago
We need Password Manager for beta 2, and we need encryption (using a user 
supplied key) for the data in the Password Manager to work for beta 2.

Therefore, we need this bug fixed, since it does not appear that the user would 
be able to encrypt the data in their Password Manager with this bug.

[cc:ing John Gable]

Comment 6

18 years ago
I tried a couple more scenarios and found the following using NT4 and Mac9.04:

1. Open mail, don't login, go directly to Preferences|Advanced|Fors and Password 
and select to Encrypt then no crash occurs on NT or the Mac.

2. Open mail, login by entering the mail password and select the checkbox to use 
the Master Password and select the OK button (note: no Blue Box appears). Then 
go to preferences to select to Encrypt:
   a. NT: 1. A White box appears which is completely blank
          2. Followed by the another window titled "Password" which includes:
              - "Enter username for Basic realm="NSM" 
              - username text box and a password checkbox.
              - checkbox to save this value
          3. Close the "Password" window and all is ok
          4. Close the "White box" and crash.

   b. Linux: No additional windows appear, it just crashes

Note: The Mac appears to have created a Talkback report. I'll copy the stack 
trace when it's available.



Comment 7

18 years ago
Incident# 14589657, using Build 2000-07-21-09M17 on Mac 9.04.

Call Stack:    (Signature = PR_Wait() 15801fbe) 

PR_Wait() [prmon.c, line 150]
SSM_WaitUIEvent() [resource.c, line 1037]
SSM_SetUserPassword() [password.c, line 915]
sdrencrypt() [processmsg.c, line 157]
threadfunc() [msgthread.c, line 59]
_PR_UserRunThread()  [pruthr.c, line 489]
_PR_UserDestroyThread() [pruthr.c, line 360]


Comment 8

18 years ago
This stack trace is normal for PSM while waiting for the dialog box to be 
displayed.  The problem is that the client is not displaying the information 
correctly.  I suspect some problem with handling of basic authentication or a 
general memory corruption.  PSM uses basic authentication to restrict access to 
the security advisor content to applications that are using PSM.

Comment 9

18 years ago
Am unable to reproduce.  Running NT and using the steps given in the original 
description of this bug, I get the dialog that asks for a password and a 
confirmation of that password.  This is the correct behavior.  Could you please 
be more specific, listing every step that you are taking starting with a new 

If there is a bug here, I believe it will fall in Terry's area since these are 
sdr dialogs.  So I'm reassigning.
Assignee: morse → thayes
Component: Single Signon → Security: Crypto

Comment 10

18 years ago
Putting on [nsbeta2+] radar for beta2 fix. 
Whiteboard: [nsbeta2+]

Comment 11

18 years ago
Per beta2 triage, moving from [nsbeta2+] to [nsbeta2-], putting on nsbeta3 
nominee radar.
Keywords: nsbeta3
Whiteboard: [nsbeta2+] → [nsbeta2-]

Comment 12

18 years ago
Commercial Build 2000-07-26-09M17: NT4
These steps offer more detail. Now it only crashes.

1. Deleted the mozregistry.dat file in the c:\winnt directory
2. Deleted the Users50 directory
3. Started mail with "netscape.exe -installer" which opens the Profile Manager
4. Created a new account using Profile Manager
5. When the Activation window appears, select Cancel
6. Select Cancel again to dismiss the second Activation window
7. Mail opens and the Account Wizard auto launches.
8. Progress through the Account Wizard dialogs and create an IMAP account
9. The account appears in the folder pane, select the Inbox
10. The login dialog appears
- Enter the password
- Select the checkbox to use Password Manager to store the value
- Select the OK button
11. I see messages in the thread pane (note: no blue box)
12. Select Tasks|Privacy and Security|Password Manager|Encrypt Stored Data
(or select Edit|Preferences, selected Advanced, select Forms and Password, in 
the 'Encrypt versus Obscuring' area select the checkbox to "use encryption when 
storing sensitive data)

Actual Results: The error "An application error has occured in psm.exe", select 
OK. Then another error appears "Unable to convert stored data". 


18 years ago

Comment 13

18 years ago
Worksforme with the PR2 candidate builds for WinNT and Linux.
Last Resolved: 18 years ago
Resolution: --- → WORKSFORME

Comment 14

18 years ago
Verified worksforme.

Comment 15

17 years ago
Mass changing Security:Crypto to PSM
Component: Security: Crypto → Client Library
Product: Browser → PSM
Version: other → 2.1

Comment 16

17 years ago
Mass changing Security:Crypto to PSM


13 years ago
Component: Security: UI → Security: UI
Product: PSM → Core


10 years ago
Version: psm2.1 → 1.0 Branch
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.