Skip to content

Commit

Permalink
🎲 add cosign public key 🎲
Browse files Browse the repository at this point in the history
  • Loading branch information
eformat committed May 2, 2023
1 parent a0b10b9 commit e5c94ba
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,3 +260,24 @@ OR
helm delete pet-battle-api
```

### Signature

The public key of [pet-battel-api images](https://quay.io/repository/petbattle/pet-battle-api)

[Cosign](https://github.com/sigstore/cosign) public key:

```shell
-----BEGIN PUBLIC KEY-----
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEpQLELVwfM8hcPxqY5xBk5sGdjFDi
dFFy7WrlLfd+YG0NzA/RM3D9uQrUYEjPcU5hH8cBoe7AjVg/k/qO58+Qjg==
-----END PUBLIC KEY-----
```

The public key is also available online: <https://gitlab.com/petbattle/pet-battle-api/-/raw/main/cosign.pub>

To verify an image:

```shell
curl --progress-bar -o cosign.pub https://gitlab.com/petbattle/pet-battle-api/-/raw/main/cosign.pub
cosign verify --key cosign.pub quay.io/petbattle/pet-battle-api:latest
```
4 changes: 4 additions & 0 deletions cosign.pub
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-----BEGIN PUBLIC KEY-----
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEpQLELVwfM8hcPxqY5xBk5sGdjFDi
dFFy7WrlLfd+YG0NzA/RM3D9uQrUYEjPcU5hH8cBoe7AjVg/k/qO58+Qjg==
-----END PUBLIC KEY-----

0 comments on commit e5c94ba

Please sign in to comment.