mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-09-19 12:34:44 -04:00
release: use cosign sign-blob in non-interative mode (#2953)
This commit is contained in:
parent
0b6eeb3747
commit
93eb8f0694
3 changed files with 4 additions and 4 deletions
|
@ -69,7 +69,7 @@ This keypair could also be backed-up onto USB stick / SD card.
|
|||
# COSIGN_PRIVATE_KEY=
|
||||
# COSIGN_PUBLIC_KEY=
|
||||
go build constellation
|
||||
COSIGN_EXPERIMENTAL=1 cosign sign-blob --key env://COSIGN_PRIVATE_KEY constellation > constellation.sig
|
||||
COSIGN_EXPERIMENTAL=1 cosign sign-blob --yes --key env://COSIGN_PRIVATE_KEY constellation > constellation.sig
|
||||
# We provide: cosign.pub, constellation.sig, constellation
|
||||
echo "$COSIGN_PUBLIC_KEY" > cosign.pub
|
||||
cosign verify-blob --key cosign.pub --signature constellation.sig constellation
|
||||
|
@ -130,7 +130,7 @@ measurements:
|
|||
# Set these beforehand!
|
||||
# COSIGN_PASSWORD=
|
||||
# COSIGN_PRIVATE_KEY=
|
||||
COSIGN_EXPERIMENTAL=1 cosign sign-blob --key cosign.key measurements.yaml > measurements.yaml.sig
|
||||
COSIGN_EXPERIMENTAL=1 cosign sign-blob --yes --key cosign.key measurements.yaml > measurements.yaml.sig
|
||||
```
|
||||
|
||||
```mermaid
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue