Chapter 4. Verifying Red Hat signatures
You can use Red Hat Trusted Artifact Signer (RHTAS) to verify the authenticity of Red Hat’s products, and artificial intelligence (AI) generated Granite models.
Prerequisites
- Installation of RHTAS running on Red Hat Enterprise Linux or Red Hat OpenShift Container Platform.
- Access to the Red Hat’s Customer Portal for downloading product signing keys.
-
A workstation with the
cosignbinary installed, version 2.2 or later.
Procedure
- Download Red Hat’s product signing keys from the Customer Portal for the products you want to verify. This downloads a text file containing Red Hat’s public key signature.
Open a terminal on your workstation. Download the Rekor public key, and create a new
rekor.pemfile:$ curl https://REKOR_HOSTNAME/api/v1/log/publicKey > rekor.pemCreate a new cosign public key from the Red Hat product signing key:
$ cat 63405576.txt > cosign.pubConfigure your shell environment for cosign to use the new Rekor public key:
$ export SIGSTORE_REKOR_PUBLIC_KEY=rekor.pemVerify a Red Hat signed image by using the cosign public key:
cosign verify --key cosign.pub IMAGE_NAME:TAG$ cosign verify --key cosign.pub registry.redhat.io/rhelai1/granite-3.1-8b-starter-v1:latest