Creating importer: failed to invoke method OpenImage
My image is built here:
https://github.com/pboling/galtzo/actions
Initially I was trying to update my signing key, just to know how it was done, in case I needed to do it at some point. But ever since attempting it the images that get built are not able to be verified, and so
ujust update
refuses to upgrade my system, giving the error above.
I have tried updating the key several times now, with the same result. I am following the instructions here:
https://github.com/ublue-os/image-template?tab=readme-ov-file#container-signing
I have the following version of cosign installed, as of the latest attempt:
I have the following version of gh
installed:
I don't know what else to try.GitHub
Workflow runs · pboling/galtzo
My Fedora Silverblue Spin: aurora-dx-hwe:latest + NordVPN + 1Password + Ruby build deps - Workflow runs · pboling/galtzo
GitHub
GitHub - ublue-os/image-template: Build your own custom Universal B...
Build your own custom Universal Blue Image! Contribute to ublue-os/image-template development by creating an account on GitHub.
3 Replies
When I verify the cosign.pub in the repo against the image:
It works!
But it is unable to verify the image when updating for some reason.
Can you check if there is any diff between
/usr/etc/containers/policy.json
& /etc/containers/policy.json
? If there is a difference, then copy the /usr/etc/
version to /etc/
and test if it fixes the issue.@fiftydinar Hi, sorry for the delayed response, I was hiking in the mountains.
There is no difference between the files. They are identical.
However, the time stamp on the /usr/etc/ one is strange.
Oh, could it be because I set my timezone to UTC?
Relatedly, in settings in the time zone config, there are no time zones to choose. I had to set it via the CLI.
I know verification can depend on time synchronization, so now I'm guessing that is it.
I really hate the way u-blue (or Fedora?) handles timezone... it seems to just not.
Doesn't seem to be related to time zone 😦
I think I'm going to start over with my spin.
@fiftydinar I resolved this by starting a new blue-build, with the same config, but kept the signing key that was auto-generated, and then rebasing to the new image. All good here!