Story #9532
closedAs a pulp administrator, I want to write a signing service script, that is not hard coded to a particular key
100%
Description
Starting with pulpcore 3.13 (I think) signing services save the public key and its fingerprint in their model.
If they were to pass at least the fingerprint to the sub-process call of the signing service (either as a parameter or via ENV variable), it would no longer be necessary for signing service executables to be hard coded to a particular key (or otherwise guess what key they should use). This makes it much easier to document and share example signing service scripts, and is simply better design. ;-)
This is also how pulp_deb signing services in Pulp 2 times worked.
Updated by quba42 about 3 years ago
PR was not associated automatically for some reason: https://github.com/pulp/pulpcore/pull/1696
Added by quba42 about 3 years ago
Updated by quba42 about 3 years ago
- Status changed from NEW to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulpcore|7835faa4310771ca88834efc01bc5def1df5c84b.
Updated by pulpbot almost 3 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Pass the public key fingerprint to the signing service subprocess
closes #9532 https://pulp.plan.io/issues/9532
This will allow for a signing service script that is not hard coded to a particular key. It should be fully backwards compatibile with all existing scripts, since they can simply ignore the new environmental variable.