Description
When images are built via Cloud API, the list of repositories to be used for the image build is part of the ImageRequest
. However the Repository
object does not include GPGKey
property:
osbuild-composer/internal/cloudapi/openapi.gen.go
Lines 171 to 176 in 54a458a
As a result, no GPG key is copied over to rpmmd.RepoConfig
structures when a new Cloud API compose request is processed:
osbuild-composer/internal/cloudapi/server.go
Lines 113 to 127 in 54a458a
Such rpmmd.RepoConfig
list is then passed to imageType.Manifest()
, which produces Manifest to be used by osbuild
. As a result, no GPG keys are used in the resulting org.osbuild.rpm
stage of the Manifest and the GPG signatures of the installed RPMs are not checked at all when osbuild
builds the image. Also no GPG keys are imported into the RPM database during the image build.