Signature verification instructions for Ghaf 24.09 - 24.09.2

  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 for some targets 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/bdb2dbf#verify -- \
    --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/bdb2dbf#verify -- \
    --path scs/provenance.json \
    --sigfile scs/provenance.json.sig
Signature verification result: {'message': 'Signature Verification Result', 'is_valid': True}