Bug 1939361 - no signatures for redhat-operator-index
Summary: no signatures for redhat-operator-index
Keywords:
Status: CLOSED DUPLICATE of bug 1903632
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: OLM
Version: 4.7
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: ---
Assignee: tflannag
QA Contact: Jian Zhang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-16 08:44 UTC by peter ducai
Modified: 2021-03-16 19:17 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-03-16 19:17:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description peter ducai 2021-03-16 08:44:45 UTC
Description of problem:

When running

skopeo copy docker://registry.redhat.io/redhat/redhat-operator-index:v4.7 dir:redhat-operator-index"

I notice that no signatures are downloaded. If I use eg. ubi8/ubi-minimal I get signatures, so I know the command will retrieve signatures for registry.redhat.io if available.

I'm using this image to setup a disconnected mirror of the operator catalog. This contains the file /database/index.db which contains the sha256 of all the containers in the offline mirror. In the disconnected environment my plan was to validate that redhat-operator-index:v4.7 was signed by Red Hat, therefore I can trust all the sha256 of the operators listed within /database/index.db.


Additional info:

Unless this container is properly signed by Red Hat, how can I trust the mirrored operators in the disconnected environment? I note for mirroring the OpenShift release itself, a signature is provided of the release container, which in turn contains the SHA256 of all the components.



PS: could this be related to https://bugzilla.redhat.com/show_bug.cgi?id=1917292 ?

Comment 1 tflannag 2021-03-16 19:17:37 UTC
It looks like this is a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1903632, which essentially is tracking the effort to sign the production index images.

OLM isn't the team that controls the release of those images but just serves as the component that digests them.

It doesn't look like this is affecting cluster upgrades from the initial description, but if it is, then I would recommend going through that BZ I linked and seeing if the workaround described there is appropriate.

*** This bug has been marked as a duplicate of bug 1903632 ***


Note You need to log in before you can comment on or make changes to this bug.