Skip to content

NIST artifact signing - #11723

Open
katarzyna-koltun-mx wants to merge 1 commit into
developmentfrom
kk-nist10
Open

NIST artifact signing#11723
katarzyna-koltun-mx wants to merge 1 commit into
developmentfrom
kk-nist10

Conversation

@katarzyna-koltun-mx

Copy link
Copy Markdown
Collaborator

No description provided.


Private Mendix Platform images, Helm charts, and some other CLI tools are published to central registry in a Gitlab CI pipeline. According to the OCI spec, every artifacts is identified by its sha256 hash (image digest). The image's sha256 digest is based on the image contents and is validated by OCI registries. Uploading an image that does not match its sha256 digest is not possible - the container registry will reject the upload.

Firstly, a CI job builds a container image and records the resulting image's sha256 digest.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] reported by reviewdog 🐶
[Microsoft.Ordinal] Don't add -ly to an ordinal number.

```text
cosign verify-blob --key "$COSIGN_PUBLIC_KEY" --bundle $FILE.sig https://cdn.mendix.com/$FILE
```

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the original draft, there was the following line here: "These CDN files may be transferred to central registry in the future. In that case, user need oras tool to download them."

I removed it - if this is actually implemented, we'll need to update the doc anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant