mirror of
https://github.com/slsa-framework/slsa-verifier.git
synced 2026-08-26 09:37:19 +00:00
* add testing folder Signed-off-by: Asra Ali <asraa@google.com> * add tests Signed-off-by: Asra Ali <asraa@google.com> * update * updated comments Signed-off-by: Asra Ali <asraa@google.com> * update * update * update * update * update * update * update * draft * update * update * update * update * update * update * update * update * update * update Signed-off-by: Asra Ali <asraa@google.com> Co-authored-by: Asra Ali <asraa@google.com>
Download the GCB keys
This is a temporary solution. We should try to automate key verification on pre-submits. We should pin the CA certificate when downloading them, maybe using curl and the googlecloudapi REST endpoint. See discussion in #181.
For now, you can verify the keys we downloaded by downloading them yourself.
cd verifiers/internal/gcb/keys
gcloud compute regions list | grep -v NAME | xargs -0 | cut -d ' ' -f1 | xargs -i gcloud kms keys versions get-public-key 1 --location {} --keyring attestor --key builtByGCB --project verified-builder --output-file {}.key