cli/pkg
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
..
cmd Fix attestation cmd offline unit test failure (#8933) 2024-04-11 18:09:10 -06:00
cmdutil Add json export flags to variable list command (#8516) 2024-01-17 10:09:09 -08:00
extensions gh extension install not give an error if extension already installed and a clear message (#8211) 2023-10-19 15:22:21 +02:00
findsh go fmt 2021-12-02 16:12:24 +01:00
githubtemplate Do not allow issue and pr templates to be symlinks (#7756) 2023-07-26 11:50:37 -07:00
httpmock Cleanup release create around new --notes-from-tag flag (#8016) 2023-09-19 08:26:52 +00:00
iostreams Add headers to all tables (#8157) 2023-10-20 11:20:02 +02:00
jsoncolor api: avoid HTML-escaping JSON output 2022-07-25 13:10:44 +02:00
markdown Correct some typos 2023-04-21 03:51:31 +02:00
search Add json export flags to variable list command (#8516) 2024-01-17 10:09:09 -08:00
set Add GH_HOST to hosts list if it has corresponding auth token (#5087) 2022-01-29 07:37:24 +00:00
ssh Even better config support 2022-07-22 11:03:14 -05:00
surveyext feat: Fallback to notepad on Windows 2022-08-18 17:05:14 -04:00