Closed
Bug 1360623
Opened 8 years ago
Closed 8 years ago
expose hash algorithm constants in pykey.py so callers don't have to pick between "sha256" and "SHA-256"
Categories
(Core :: Security: PSM, enhancement, P1)
Core
Security: PSM
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: keeler, Assigned: keeler)
References
Details
(Whiteboard: [psm-assigned])
Attachments
(1 file)
For signing, pykey.py delegates to 3rd party libraries. One of these libraries expects hash algorithms to be specified in the form "SHA-256" whereas the other expects "sha256". Consumers of pykey shouldn't need to be aware of this detail. One thing we can do is expose constants that callers can use and then have pykey use the appropriate string.
Comment hidden (mozreview-request) |
Comment 2•8 years ago
|
||
mozreview-review |
Comment on attachment 8862954 [details]
bug 1360623 - add hash algorithm constants to pykey for easier consumer use
https://reviewboard.mozilla.org/r/134818/#review137770
Attachment #8862954 -
Flags: review?(jjones) → review+
Pushed by dkeeler@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/df41759ab4d3
add hash algorithm constants to pykey for easier consumer use r=jcj
Comment 4•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•