Closed
Bug 511320
Opened 14 years ago
Closed 13 years ago
Security Device Manager: When FIPS mode change fails, inform the user
Categories
(Core :: Security: PSM, defect)
Core
Security: PSM
Tracking
()
RESOLVED
FIXED
mozilla2.0b2
People
(Reporter: KaiE, Assigned: glenbeasley)
References
Details
Attachments
(1 file, 2 obsolete files)
1.37 KB,
patch
|
KaiE
:
review+
|
Details | Diff | Splinter Review |
Sometimes, because of bugs, or because of user environment, it's impossible to switch into FIPS mode, or to switch out of FIPS mode. As seen in bug 509319, the only clue to the user is an exception shown in error console. Not very helpful. So, this bug proposes: When a device goes to Security Device Manager, clicks on disable/enable FIPS, and the operation fails, then: Show an error message.
Reporter | ||
Updated•14 years ago
|
Whiteboard: [good first bug]
Assignee | ||
Updated•14 years ago
|
Assignee: kaie → glen.beasley
Assignee | ||
Comment 1•14 years ago
|
||
because PSM does not handle the exception, PSM will crash after the user has tried to enable FIPS and is unsuccessful.
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•14 years ago
|
||
catch exception and display error message.
Attachment #408141 -
Flags: review?(kaie)
Assignee | ||
Comment 3•14 years ago
|
||
catch exception and display error message. not sure which version you would prefer kaie but if neither pass review, please state which one I should continue with.
Attachment #408180 -
Flags: review?(kaie)
Reporter | ||
Comment 4•14 years ago
|
||
Comment on attachment 408180 [details] [diff] [review] Patch v2 This patch has localization issues, in many languages your trick will not work.
Attachment #408180 -
Attachment is obsolete: true
Attachment #408180 -
Flags: review?(kaie)
Reporter | ||
Comment 5•14 years ago
|
||
Comment on attachment 408141 [details] [diff] [review] Patch v1 looks good to me, r=kaie
Attachment #408141 -
Flags: review?(kaie) → review+
Reporter | ||
Comment 6•14 years ago
|
||
if you're happy with this patch as is, and can't checkin yourself, then please add checkin-needed to keywords
Whiteboard: [good first bug]
Assignee | ||
Comment 7•14 years ago
|
||
If the operation fails to change the FIPS mode the process should be restarted. changing message: unable_to_toggle_fips=Unable to change the FIPS mode for the security device. It is recommended that you exit and restart this application.
Attachment #408141 -
Attachment is obsolete: true
Attachment #411344 -
Flags: review?(kaie)
Reporter | ||
Comment 8•14 years ago
|
||
Comment on attachment 411344 [details] [diff] [review] patch v3 r=kaie
Attachment #411344 -
Flags: review?(kaie) → review+
Assignee | ||
Comment 9•14 years ago
|
||
security/manager/locales/en-US/chrome/pippki/pippki.properties security/manager/pki/resources/content/device_manager.js committed changeset 34941:293c5dfbe6ff
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 10•14 years ago
|
||
Can't see the changeset, did you commit, but forget to push?
Assignee | ||
Comment 11•14 years ago
|
||
I will push when the tinderbox is green.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 12•14 years ago
|
||
Alerts suck, is there no other way of doing this? (Larry bar drop-down comes to mind). Also, if you must use an alert, the global window.alert should be avoided (although it may not be an issue in this specific scenario), grab the alert service by contract and directly call the alert method...
Reporter | ||
Updated•14 years ago
|
Keywords: checkin-needed
Comment 15•13 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/c13b8d0a066c I replaced "alert" with "doPrompt" from bug 527713.
Status: REOPENED → RESOLVED
Closed: 14 years ago → 13 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b2
You need to log in
before you can comment on or make changes to this bug.
Description
•