Closed Bug 1190532 Opened 10 years ago Closed 10 years ago

pykey.py: make key specification explicit in all cases (rather than implicit)

Categories

(Core :: Security: PSM, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla43
Tracking Status
firefox42 --- affected
firefox43 --- fixed

People

(Reporter: keeler, Assigned: keeler)

References

Details

Attachments

(1 file)

It would be helpful to add comments directly to the .certspec and .keyspec files that are used to generate the PSM xpcshell test certificates. (See e.g. bug 1189427 comment 2).
Slight modification: it may be a good idea to add comments to certspec files, but I don't think it makes as much sense for the keyspec files. Rather than using comments, specifying the default key should be explicit rather than implicit. That way, the process is the same no matter what specification is being used: a) read the keyspec file, b) read pycert.py, c) ???, d) profit.
Summary: add comments to certspec and keyspec files where appropriate → pykey.py: make key specification explicit in all cases (rather than implicit)
bug 1190532 - change default key specification from implicit to explicit in pycert.py Previously using an empty string would result in pycert.py returning the default shared RSA key. This resulted in empty keyspec files being added to the tree, which was confusing. This should end the confusion by making the key specification process explicit rather than implicit.
Attachment #8644646 - Flags: review?(cykesiopka.bmo)
QA Contact: dkeeler
Ugh I always do that wrong.
Assignee: nobody → dkeeler
QA Contact: dkeeler
Attachment #8644646 - Flags: review?(cykesiopka.bmo) → review+
Comment on attachment 8644646 [details] MozReview Request: bug 1190532 - change default key specification from implicit to explicit in pycert.py https://reviewboard.mozilla.org/r/15281/#review13721 Profit sounds nice.
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: