slsa-verifier
slsa-verifier copied to clipboard
feat: expose SigstoreTUFClient mocks
Following #768
For folks using slsa-verifier as a library, it could be useful to export the mocks we already have for the TUF client newMockSigstoreTUFClient
, and it's implementation for GetTarget
. We may also include some sample data for the mock.
https://github.com/slsa-framework/slsa-verifier/blob/97ea5f811ca8b91e75d59cb96082721709d59416/verifiers/internal/gha/npm_sigstore_tuf_test.go#L88-L106