Bug 1890671
Summary: | [SA] verify-image-signature using service account does not work | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Fatima <fshaikh> | |
Component: | oc | Assignee: | Maciej Szulik <maszulik> | |
Status: | CLOSED ERRATA | QA Contact: | Wenjing Zheng <wzheng> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 3.11.0 | CC: | aos-bugs, jokerman, maszulik, mfojtik, slaznick | |
Target Milestone: | --- | Keywords: | Reopened | |
Target Release: | 4.7.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: |
Cause:
Wrong user name used when verifying image signatures.
Consequence:
Image signature verification is not possible.
Fix:
User proper user name when verifying image signatures.
Result:
Image signature verification is working as expected.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1906796 (view as bug list) | Environment: | ||
Last Closed: | 2021-02-24 15:27:41 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1906796 |
Description
Fatima
2020-10-22 17:01:02 UTC
You're not logged into the registry. I did not notice the case. Moving to `oc`, not sure if `image registry` might be a better component. Has the customer tried invoking oc registry login before verifying signature. This command ensures that the user is logging in into the registry and should be invoked before other registry related operations. PR in the queue. Cannot reproduce the unauthorized error with below version: $ oc version Client Version: 4.7.0-0.nightly-2020-12-21-131655 Server Version: 4.7.0-0.nightly-2020-12-21-131655 Kubernetes Version: v1.20.0+87544c5 Dear team, Any updates on the bug? Thanks. (In reply to Fatima from comment #20) > Dear team, > > Any updates on the bug? > > Thanks. This particular fix will be part of 4.7 release. For backports I'd suggest looking at dependent bugzillas: 4.6 - https://bugzilla.redhat.com/show_bug.cgi?id=1906796 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:5633 |