Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Image signing is broken #146

Open
RoyalOughtness opened this issue Oct 29, 2024 · 1 comment
Open

[BUG] Image signing is broken #146

RoyalOughtness opened this issue Oct 29, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@RoyalOughtness
Copy link

Describe the bug
I posted about this elsewhere but it probably fell through the cracks as it was on a closed issue.

Trying to pull ghcr.io/jasonn3/build-container-installer:latest...
Error: Source image rejected: A signature was required, but no signature exists

I have this in my policy.json:

      "ghcr.io/jasonn3": [
        {
          "type": "sigstoreSigned",
          "keyPath": "/usr/etc/pki/containers/build-container-installer.pub",
          "signedIdentity": {
            "type": "matchRepository"
          }
        }
      ],

and this in /usr/etc/pki/containers/build-container-installer.pub:

-----BEGIN PUBLIC KEY-----
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEY4ljyIhI2w9DOptB4WT20S+K5ts3
GJTEKRkXmIYEXGfyKpJMdlGCWeg2kOam5dNhWKXXl46d3eBBo9S53TPpyQ==
-----END PUBLIC KEY-----

To Reproduce
Steps to reproduce the behavior:

  1. podman pull ghcr.io/jasonn3/build-container-installer:latest

Expected behavior

it should pull successfully

Desktop (please complete the following information):

  • OS: Fedora GNOME Atomic
  • Version 41
@RoyalOughtness RoyalOughtness added bug Something isn't working help wanted Extra attention is needed labels Oct 29, 2024
@JasonN3 JasonN3 removed the help wanted Extra attention is needed label Oct 31, 2024
@JasonN3
Copy link
Owner

JasonN3 commented Oct 31, 2024

There's a cleanup job that is supposed to only clean up old images that aren't needed any more. It's apparently cleaning up too much and removing the signature images. I've disabled the schedule for now so the signatures don't get cleaned up again before I can figure out which part of the workflow is doing too much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants