Commit graph

379 commits

Author SHA1 Message Date
Meredith Lancaster
7b20ee5549
Merge pull request #10749 from malancas/update-to-sigstore-go-v0.7.1
Update github.com/sigstore/sigstore-go to 0.7.1 and fix breaking function change
2025-04-09 11:58:20 +02:00
Phill MV
0427f26884
Update pkg/cmd/attestation/verify/verify.go
Co-authored-by: Meredith Lancaster <malancas@users.noreply.github.com>
2025-03-31 11:05:23 -04:00
Phill MV
f099a54243 updated test 2025-03-27 09:57:00 -04:00
Phill MV
9c9b158d12 added minor caveat 2025-03-27 09:55:14 -04:00
Phill MV
33ab0b8f3b Tweaked language a bit, improved error message. 2025-03-27 09:47:11 -04:00
Phill MV
321e5687a6 Rewrote the gh at verify --help text to a) clarify and b) document the verificationResult object. 2025-03-26 17:40:35 -04:00
Meredith Lancaster
917a00ddc1
Update pkg/cmd/attestation/verification/attestation.go
Co-authored-by: Fredrik Skogman <kommendorkapten@github.com>
2025-03-05 07:31:35 -07:00
Meredith Lancaster
ddc36c8a8e
Update pkg/cmd/attestation/verification/attestation.go
Co-authored-by: Fredrik Skogman <kommendorkapten@github.com>
2025-03-05 07:31:28 -07:00
Meredith Lancaster
671c4c23a9 Merge branch 'trunk' into refactor-get-attestations-funcs 2025-03-04 09:33:00 -07:00
Andy Feller
f9d50d86ac
Merge pull request #10508 from iamazeem/10449-inconsistent-examples-format
Inconsistent format of examples in help text
2025-02-27 09:15:14 -05:00
Azeem Sajid
33c30d5bd1 Inconsistent format of examples in help text 2025-02-27 16:26:25 +05:00
Azeem Sajid
69fff52026
Inconsistent format of description of flags (starting with lowercase letter) (#10507) 2025-02-27 11:40:21 +01:00
Meredith Lancaster
33d863f98d
Merge pull request #10308 from malancas/attestation-verify-ref-commit-policy-opts
Add signer-digest, source-ref, and source-digest options for `gh attestation verify`
2025-02-26 14:27:31 -07:00
Meredith Lancaster
ba5cf8e1ce
Merge branch 'trunk' into attestation-verify-ref-commit-policy-opts 2025-02-24 10:59:58 -07:00
Meredith Lancaster
343d9babeb fix expected test output
Signed-off-by: Meredith Lancaster <malancas@github.com>
2025-02-24 10:51:34 -07:00
Meredith Lancaster
37a91ebfdb undo regex changes
Signed-off-by: Meredith Lancaster <malancas@github.com>
2025-02-24 10:47:39 -07:00
Meredith Lancaster
ce87c746b2 remove signer-ref option
Signed-off-by: Meredith Lancaster <malancas@github.com>
2025-02-24 10:44:29 -07:00
beforetech
563c2f9e18 refactor: use a more straightforward return value
Signed-off-by: beforetech <mail@before.tech>
2025-02-23 22:59:33 +08:00
William Martin
db823c18b8 Allow injection of TUFMetadataDir in tests
This avoids multiple tests using the same dir for metadata, which was causing flakes
2025-02-20 17:04:30 +01:00
William Martin
9c90e3aac9 Use subtests in attestation verification integration tests 2025-02-18 16:44:48 +01:00
Cody Soyland
ad2cfe074f
Add mutex to fix race in attestation test client
Signed-off-by: Cody Soyland <codysoyland@github.com>
2025-02-13 10:18:30 -05:00
Meredith Lancaster
4daf489c75 Merge branch 'trunk' into refactor-get-attestations-funcs 2025-02-11 11:11:30 -07:00
Fredrik Skogman
bf3a40aef3
Exit with error if no matching predicate type exists
Signed-off-by: Fredrik Skogman <kommendorkapten@github.com>
2025-02-11 09:07:51 +01:00
Meredith Lancaster
7fdb38028e remove custom transport
Signed-off-by: Meredith Lancaster <malancas@github.com>
2025-02-06 16:06:43 -07:00
Meredith Lancaster
84299b7d57 var naming
Signed-off-by: Meredith Lancaster <malancas@github.com>
2025-02-06 12:50:30 -07:00
Meredith Lancaster
5d6ffa3207 dedup local bundle err handling
Signed-off-by: Meredith Lancaster <malancas@github.com>
2025-02-06 12:37:23 -07:00
Meredith Lancaster
fc2f18c896 consolidate tests around getBundle func when possible
Signed-off-by: Meredith Lancaster <malancas@github.com>
2025-01-30 11:12:58 -07:00
Meredith Lancaster
795263524d change permanent backoff error condition
Signed-off-by: Meredith Lancaster <malancas@github.com>
2025-01-30 11:11:41 -07:00
Meredith Lancaster
e9f7761423 dont retry when parsing fails
Signed-off-by: Meredith Lancaster <malancas@github.com>
2025-01-30 09:56:06 -07:00
Meredith Lancaster
dcb182b453 Merge branch 'trunk' into attestation-bundle-fetch-improvements 2025-01-30 09:53:27 -07:00
Meredith Lancaster
70ae9f39ef update tests to account for logic flip
Signed-off-by: Meredith Lancaster <malancas@github.com>
2025-01-30 09:26:41 -07:00
Meredith Lancaster
ddb8855198 flip bundle fetching logic
Signed-off-by: Meredith Lancaster <malancas@github.com>
2025-01-30 09:12:48 -07:00
Meredith Lancaster
1c326c74f0 add checks to cert extensions func
Signed-off-by: Meredith Lancaster <malancas@github.com>
2025-01-30 08:14:13 -07:00
Meredith Lancaster
e10010c4cf fix option ordering
Signed-off-by: Meredith Lancaster <malancas@github.com>
2025-01-30 08:03:36 -07:00
Meredith Lancaster
c6b5928ddc fix issues causing tests to fail
Signed-off-by: Meredith Lancaster <malancas@github.com>
2025-01-30 07:58:42 -07:00
Meredith Lancaster
313faf9cd0 add signer and source ref, commit options
Signed-off-by: Meredith Lancaster <malancas@github.com>
2025-01-30 07:43:13 -07:00
Cody Soyland
6a629ed871
Fix breaking changes from sigstore-go v0.7.0 upgrade
Signed-off-by: Cody Soyland <codysoyland@github.com>
2025-01-24 16:35:31 -05:00
Meredith Lancaster
728aa3d83f set new options in enforcement criteria
Signed-off-by: Meredith Lancaster <malancas@github.com>
2025-01-24 13:20:01 -07:00
Meredith Lancaster
11dc8d48f5 reorder fields
Signed-off-by: Meredith Lancaster <malancas@github.com>
2025-01-24 13:19:47 -07:00
Meredith Lancaster
6c0cdca554 Merge remote-tracking branch 'upstream/trunk' into attestation-verify-ref-commit-policy-opts 2025-01-24 09:32:18 -07:00
Meredith Lancaster
5df2b47d1f update tests
Signed-off-by: Meredith Lancaster <malancas@github.com>
2025-01-24 09:30:46 -07:00
Meredith Lancaster
2f81a33e95 add new signing options
Signed-off-by: Meredith Lancaster <malancas@github.com>
2025-01-24 09:28:55 -07:00
Meredith Lancaster
840fe2198c
Merge branch 'trunk' into attestation-bundle-fetch-improvements 2025-01-23 12:46:22 -07:00
Meredith Lancaster
4134f9606e remove bolding from bullet point output
Signed-off-by: Meredith Lancaster <malancas@github.com>
2025-01-23 07:47:38 -07:00
Meredith Lancaster
5f6e720a50 reorder policy enforcement criteria print out
Signed-off-by: Meredith Lancaster <malancas@github.com>
2025-01-22 13:27:56 -07:00
Meredith Lancaster
2ec70a5dc3 bold bullet point list header text
Signed-off-by: Meredith Lancaster <malancas@github.com>
2025-01-22 13:22:45 -07:00
Meredith Lancaster
5d26f0b767 skip check
Signed-off-by: Meredith Lancaster <malancas@github.com>
2025-01-15 14:39:22 -07:00
Meredith Lancaster
daf63543ea add tty check
Signed-off-by: Meredith Lancaster <malancas@github.com>
2025-01-15 14:33:13 -07:00
Meredith Lancaster
4fb265c597 formatting
Signed-off-by: Meredith Lancaster <malancas@github.com>
2025-01-15 14:22:05 -07:00
Meredith Lancaster
6d2f71d0f4 delete unused function
Signed-off-by: Meredith Lancaster <malancas@github.com>
2025-01-15 14:17:49 -07:00