Closed Bug 1699294 Opened 4 years ago Closed 4 years ago

add a mach command to generate certificates and keys from certspec/keyspec files on-demand

Categories

(Core :: Security: PSM, task, P1)

task

Tracking

()

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: keeler, Assigned: keeler)

References

Details

(Whiteboard: [psm-assigned])

Attachments

(2 files)

In bug 1174288 and related bugs we created a framework for generating certificates (and later, keys) from specifications at build time. This turned out to take too long to run on each build, so this system was largely left disabled (see all "# Temporarily disabled. See bug 1256495." comments). What we really want is a way to run this step on-demand and then to check the results in to the tree. A mach command seems like a good way to do this.

In bug 1174288 and related bugs we created a framework for generating
test certificates (and later, keys) from specifications at build time. This
turned out to take too long to run on each build, so this system was largely
left disabled (see all "# Temporarily disabled. See bug 1256495." comments).
This patch introduces a mach command ("generate-from-specifications")
that can generate test certificate and key artifacts. The expectation is that
when a developer needs to add new such artifacts, they can use this new
command. Similarly, when the artifacts need to be updated (for example, because
they've expired), this command can regenerate them all at once.

Attachment #9209882 - Attachment description: Bug 1699294 - add 'mach generate-from-specifications' command to generate test certificate and key artifacts r?glandium → Bug 1699294 - add 'mach generate-test-certs' command to generate test certificate and key artifacts r?glandium
Pushed by dkeeler@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3cfb51321646 add 'mach generate-test-certs' command to generate test certificate and key artifacts r=glandium
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch

Anomalous backslash in string: '\w'. String constant might be missing an r prefix. (W1401)

Pushed by dkeeler@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0a30ca0e75ee fix pylint warning in pycert.py. r=keeler
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: