diff --git a/README.md b/README.md index f8fd4f6..5bb7eeb 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,19 @@ From another Silverblue based image, first, rebase onto the unsigned image. rpm-ostree rebase ostree-unverified-registry:ghcr.io/samhclark/custom-silverblue:41 ``` +Optional: Verify that the image you just rebased onto is signed. + + +``` +$ wget -O - https://raw.githubusercontent.com/samhclark/custom-silverblue/refs/heads/main/overlay-root/usr/etc/pki/cosign/cosign.pub \ + | cosign verify --key /dev/stdin ghcr.io/samhclark/custom-silverblue@$( \ + rpm-ostree status \ + | head -n 7 \ + | grep -o 'sha256:[a-f0-9]\{64\}' \ + ) +``` + +Reboot. Then, after that, rebase onto the signed image. This bootstrapping process helps get the public keys onto your machine and makes sure everything is configured right.