[Pulp-dev] signing service interface
dkliban at redhat.com
Tue May 5 21:50:47 UTC 2020
On Tue, May 5, 2020 at 3:39 AM Quirin Pamp <pamp at atix.de> wrote:
> Could you explain the reasoning for a 'public.key' file?
The public.key file is the file that a yum/dnf client can use to verify
that the metadata in an RPM repository was signed by the signing service
associated with the repository. The name of the file can be anything - the
path to it needs to be specified in the repository config on the client.
> In the case of the AptReleaseSigningService we built for pulp_deb we saw
> zero need for this file and consequently did not add it in.
> (It would not be hard to add it just to satisfy the interface, it just
> would not serve any useful purpose.)
It is definitely up to each plugin if it wants to provide the public key as
part of the publication. It is currently impossible for the plugin to know
exactly what files are produced by the signing service. This is where I
would like to see an improvement in the API. Pupcore should provide a
guarantee to plugin writers that a signing service configured by an
administrator is functioning in a predictable way. One possible way to do
that is with an interface that lets a plugin writer inspect a signing
service without executing it. Though I am looking for other ideas in this
> Since we are on the topic of signing services, a colleague has had a PR
> relating to them just sitting their waiting for a review for quite a while
> now ;-):
> It would be great if you (or somebody else) could have a look at it. I
> believe it is mostly ready, but probably needs the eyes of an experienced
> pulp core developer to look over it and suggest style consistency changes
> and where and whether to add documentation. ;-)
I'll take a look at this PR.
> *From:* pulp-dev-bounces at redhat.com <pulp-dev-bounces at redhat.com> on
> behalf of Dennis Kliban <dkliban at redhat.com>
> *Sent:* 04 May 2020 22:50:54
> *To:* Pulp-dev <pulp-dev at redhat.com>
> *Subject:* [Pulp-dev] signing service interface
> The Plugin API of Signing Services in Pulp 3 is too vague. I came to this
> conclusion while working with @lieter on an RPM plugin feature that allows
> users to download a repo config file from a distribution. As a result,
> we decided to document that the signing service needs to produce a public
> key file named 'public.key'.
> We should revisit the design of the signing service API to ensure that we
> enforce this naming convention.
>  https://pulp.plan.io/issues/5356
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pulp-dev