Skip to content
New issue

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

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

Already on GitHub? # to your account

Add image signing #123

Closed
RoyalOughtness opened this issue Jun 16, 2024 · 2 comments · Fixed by #124
Closed

Add image signing #123

RoyalOughtness opened this issue Jun 16, 2024 · 2 comments · Fixed by #124

Comments

@RoyalOughtness
Copy link
Contributor

Signing this image would allow for verified updates to build-container-installer

@JasonN3
Copy link
Owner

JasonN3 commented Jun 21, 2024

All release builds after this will be signed with https://github.com/JasonN3/build-container-installer/blob/main/cosign.pub
Builds on various branches won't be signed since those aren't meant to be used unless you need a specific feature that's still under development.

@RoyalOughtness
Copy link
Contributor Author

RoyalOughtness commented Oct 6, 2024

@JasonN3 FYI this stopped working sometime recently:

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-----

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants