Signature verification step-by-step instructions

  1. Download the target artifact you want from the release page (here represented as archive.tar)
  2. Navigate to where the tar file is.
  3. Extract the archive into a folder and enter it:
tar -xf archive.tar
cd archive
  1. Locate the image file and its signature. Note that sometimes they are located in sd-image directory.

  2. Run the verification script with the path of the image and signature:

nix run github:tiiuae/ci-yubi#verify -- \
    --cert INT-Ghaf-Devenv-Image \
    --path disk1.raw.zst \
    --sigfile disk1.raw.zst.sig  
  1. You should see the following message upon successful signature verification:
Signature verification result: {'message': 'Signature Verification Result', 'is_valid': True}
  1. The same instructions apply for the provenance file as well, located in the scs directory:
nix run github:tiiuae/ci-yubi#verify -- \
    --cert INT-Ghaf-Devenv-Image \
    --path scs/provenance.json \
    --sigfile scs/provenance.json.sig
Signature verification result: {'message': 'Signature Verification Result', 'is_valid': True}