Closed
Bug 1736453
Opened 1 year ago
Closed 1 year ago
pysign.py doesn't run under python 3
Categories
(Core :: Security: PSM, defect, P3)
Core
Security: PSM
Tracking
()
RESOLVED
FIXED
95 Branch
Tracking | Status | |
---|---|---|
firefox95 | --- | fixed |
People
(Reporter: bryce, Assigned: bryce)
Details
(Whiteboard: [psm-assigned])
Attachments
(1 file)
pysign.py requires some tweaks to run nicely
- It needs to be updated to run under python 3.
- The relative path to pykey needs to be updated.
I've been muddling around here while doing some media work, and figure it may be worth upstreaming my local changes to get this working.
Not sure if this is the best component for this, feel free to change it.
Assignee | ||
Comment 1•1 year ago
|
||
This also fixes the relative path to pykey.py, which appears to have changed
since the script was first written.
Component: Security → Security: PSM
Whiteboard: [psm-assigned]
Assignee | ||
Comment 2•1 year ago
|
||
For posterity (and my own benefit) this script can be run via:
./mach python security/manager/ssl/tests/unit/test_content_signing/pysign.py
which means one can do things like
cat security/manager/ssl/tests/unit/test_content_signing/test.txt | ./mach python security/manager/ssl/tests/unit/test_content_signing/pysign.py
or similar, which avoids the need to create a virtual env or install the deps in the system pip.
Pushed by bvandyk@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3f145a672ed6 Update pysign.py to work under python 3. r=keeler
Comment 4•1 year ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 1 year ago
status-firefox95:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•