Closed Bug 732543 Opened 13 years ago Closed 13 years ago

signmar eats CPUs for breakfast if mar passphrase isn't correct when signing server starts up

Categories

(Release Engineering :: General, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: catlee, Assigned: catlee)

Details

(Whiteboard: [signing])

Attachments

(1 file)

When starting the signing server, it asks you to enter the gpg, signcode, and mar passphrases, and then verifies that it can sign test files before actually starting the https service. If the mar passphrase isn't entered correctly, the signing server will exit, but the signmar process keeps running in the background at 100% CPU. Presumably it's still trying to read the password. We should make sure that signmar is killed off properly in this case. (brian - is it worthwhile looking into why signmar behaves like this)
It is probably due to the borrowed NSS code that reads input in a loop when the input is wrong. Probably in that case we can simply return an error instead.
Assignee: nobody → catlee
Attachment #606207 - Flags: review?(rail)
Attachment #606207 - Flags: review?(rail) → review+
Attachment #606207 - Flags: checked-in+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: