slsa-verifier icon indicating copy to clipboard operation
slsa-verifier copied to clipboard

feat: expose SigstoreTUFClient mocks

Open ramonpetgrave64 opened this issue 9 months ago • 1 comments

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

ramonpetgrave64 avatar May 21 '24 20:05 ramonpetgrave64