cli/pkg/cmd/attestation
Meredith Lancaster 02158e896b
Fix attestation cmd offline unit test failure (#8933)
* pass policy to Verify method

Signed-off-by: Meredith Lancaster <malancas@github.com>

* remove policy argument from SigstoreVerifier constructor

Signed-off-by: Meredith Lancaster <malancas@github.com>

* add SigstoreVerifier interface and introduce mock SigstoreVerifier struct for unit testing

Signed-off-by: Meredith Lancaster <malancas@github.com>

* gofmt

Signed-off-by: Meredith Lancaster <malancas@github.com>

* rename LiveSigstoreVerifier constructor

Signed-off-by: Meredith Lancaster <malancas@github.com>

* pr feedback, add todos for tests that need to be reimplemented

Signed-off-by: Meredith Lancaster <malancas@github.com>

* remove unused import

Signed-off-by: Meredith Lancaster <malancas@github.com>

* add more missing TODO statements

Signed-off-by: Meredith Lancaster <malancas@github.com>

* update skipped test

Signed-off-by: Meredith Lancaster <malancas@github.com>

---------

Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-04-11 18:09:10 -06:00
..
api Fix attestation cmd offline unit test failure (#8933) 2024-04-11 18:09:10 -06:00
artifact gh-attestation cmd integration (#8698) 2024-04-01 11:13:47 -06:00
auth gh-attestation cmd integration (#8698) 2024-04-01 11:13:47 -06:00
download gh-attestation cmd integration (#8698) 2024-04-01 11:13:47 -06:00
inspect Fix attestation cmd offline unit test failure (#8933) 2024-04-11 18:09:10 -06:00
io gh-attestation cmd integration (#8698) 2024-04-01 11:13:47 -06:00
test Fix attestation cmd offline unit test failure (#8933) 2024-04-11 18:09:10 -06:00
tufrootverify gh-attestation cmd integration (#8698) 2024-04-01 11:13:47 -06:00
verification Fix attestation cmd offline unit test failure (#8933) 2024-04-11 18:09:10 -06:00
verify Fix attestation cmd offline unit test failure (#8933) 2024-04-11 18:09:10 -06:00
attestation.go gh-attestation cmd integration (#8698) 2024-04-01 11:13:47 -06:00