archive.tar)GhafInfraSignECP256.pub)tar -xf archive.tar
cd archive
Locate the image file. Note that for some targets it is located in sd-image/
or build/ directory. The signature file is in scs/ or scs/sd-image/
or scs/iso/ directory.
Run the following openssl command with the correct paths of the public key,
signature and image:
openssl dgst -verify \
GhafInfraSignECP256.pub \
-signature disk1.raw.zst.sig \
disk1.raw.zst
Verified OK
openssl command. Note that
the public key used is also different. The provenance and signature files are
located in scs/ directory.openssl pkeyutl -verify \
-inkey GhafInfraSignProv.pub -pubin \
-sigfile provenance.json.sig \
-in provenance.json -rawin
Signature Verified Successfully