Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TrustedRootJSON to TrustRootSpec #1705

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

codysoyland
Copy link
Member

@codysoyland codysoyland commented Nov 15, 2024

This adds TrustedRootJSON to the TrustRootSpec to allow using of the TrustedRootJSON spec in air-gapped environments.

usage:

apiVersion: policy.sigstore.dev/v1alpha1
kind: TrustRoot
metadata:
  name: my-trusted-root
spec:
  trustedRootJSON: |
    {
      "mediaType": "application/vnd.dev.sigstore.trustedroot+json;version=0.1",
      "certificateAuthorities": [
        {
...

Note this uses type string. We could alternatively use type []byte for this, which would mean that the trustedRootJSON value would need to be base64-encoded. That would be perhaps less prone to human-error in indentation. I'm happy to make that change if deemed better by the maintainers.

Fixes #1704

Summary

Release Note

Documentation

Signed-off-by: Cody Soyland <[email protected]>
@federico-falconieri-form3

@malancas @hectorj2f @vaikas what do you think of this one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for TrustedRoot in air-gapped environments
2 participants