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

Cant update stable-daily: A signature was required, but no signature exists #1885

Closed
befanyt opened this issue Nov 5, 2024 · 4 comments
Closed
Labels
bug Something isn't working

Comments

@befanyt
Copy link
Contributor

befanyt commented Nov 5, 2024

Describe the bug

Ran rpm-ostree update and was greeted with the following error:

~ ❯ rpm-ostree update
note: automatic updates (stage) are enabled
Pulling manifest: ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx:stable-daily
error: Creating importer: Failed to invoke skopeo proxy method OpenImage: remote error: A signature was required, but no signature exists

What did you expect to happen?

Update to the fresh stable-daily build

Output of rpm-ostree status

~ ❯ rpm-ostree status
State: idle
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: no runs since boot
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx:stable-daily
                   Digest: sha256:03e4d16f0ba4c60c9ea9a4bc622a078bf369dda1b7e7ab44b2dbedeb14576997
                  Version: 40.20241103.0 (2024-11-04T05:46:57Z)

  ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx:stable-daily
                   Digest: sha256:aeed0b2bf408b1c706a94a53dff609a4c29421b4d6477ec0cf70edbd8a93aaf4
                  Version: 40.20241102.0 (2024-11-03T17:56:19Z)

Output of groups

user wheel incus-admin docker lxd libvirt

Extra information or context

To my limited knowledge I did some digging. Because this is the first build after the big refactor. I compared signing of the previous stable-daily and the new one.

In the new build the DEFAULT_TAG seems to be stable where in the previous build that tag was stable-daily

~ ❯ cosign verify --key https://raw.githubusercontent.com/ublue-os/bluefin/refs/heads/main/cosign.pub ghcr.io/ublue-os/bluefin-dx:stable-daily
Error: no signatures found
main.go:69: error during command execution: no signatures found
@dosubot dosubot bot added the bug Something isn't working label Nov 5, 2024
@herobrauni
Copy link

herobrauni commented Nov 5, 2024

Can confirm, the current stable-daily throws the same error for me.
Yesterdays build installed just fine.

This is the PR that might be responsible: #1867

@m2Giles
Copy link
Member

m2Giles commented Nov 5, 2024

#1887

Will fix it.

@m2Giles
Copy link
Member

m2Giles commented Nov 5, 2024

#1888 will also make sure that it is run with merge_group.

@m2Giles
Copy link
Member

m2Giles commented Nov 5, 2024

I can confirm that this has been resolved with those to PRs.

@m2Giles m2Giles closed this as completed Nov 5, 2024
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

3 participants