sigstore / sigstore-conformance

Conformance testing for Sigstore clients
https://sigstore.dev
7 stars 10 forks source link

Add opt-in support for tests that include providing a custom trust root #101

Closed steiza closed 11 months ago

steiza commented 1 year ago

This will help us address https://github.com/sigstore/sigstore-conformance/issues/30

Summary

Previously the tests assumed the public-good trust root, but supplying a custom trust root lets us exercise additional failure paths, without having to compromise the public-good service.

Release Note

Documentation

N/A

woodruffw commented 1 year ago

Thanks @steiza! I've tagged myself and @tnytown to review.

woodruffw commented 1 year ago

Do any clients support this yet?

sigstore-python doesn't yet, not sure about the others.

steiza commented 1 year ago

Do any clients support this yet?

The just-released https://github.com/github/sigstore-go does! As of https://github.com/github/sigstore-go/pull/4.

woodruffw commented 1 year ago

Awesome! That gives us the design impetus to copy --trusted-root for sigstore-python as well; I'll file a tracking issue 🙂

loosebazooka commented 1 year ago

I think we can plumb this into Java relatively painlessly.

woodruffw commented 11 months ago

Thanks @steiza!

woodruffw commented 11 months ago

xref https://github.com/sigstore/sigstore-python/issues/821 for changes needed to sigstore-python's conformance runner.