-
TL;DRIt seems to me that the instructions for rotating a signing key with DetailsRepo: https://github.com/pboling/galtzo2 (renamed to have ErrorWhen I check the signature manually, it is valid. I am not sure how to resolve this. How did I get here?I read the documentation here: https://blue-build.org/how-to/cosign/ I saw that it was possible to renew the signing key for an image, and thinking I may want to do that at some point I wanted to try it so I would understand the process. So I udpated the key, according to the instructions on the blue-build homepage, and pushed the new public key to the repo, and updated the secret in the repo. After that the image stopped installing. I tried following the instructions again, generated another new signing key, and set the secret, and pushed the public one, but the result was the same. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.

Update
This may not actually work. Apparently it is more complex, and there is no built in support for rotating the signing key in blue-build yet.
Original
Now I'm switching to the new build, and I realize my problem.
After rotating the keys I needed to rebase to the "new build", even though it was the "same build" from my perspective. When the keys change is has to reset the signing.
🤦 I had the process for rebasing to another atomic desktop documented in my own README, I just hadn't connected it to the idea of key rotation.
The compelte steps, after updating the signing key, are: