Skip to content

Commit fa81efb

Browse files
authored
Merge pull request #14 from asgrim/specify-predicate-type
Specify `predicate_type` when fetching attestation
2 parents 8429d27 + abaf2ab commit fa81efb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Verification/VerifyAttestationWithOpenSsl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ private function assertDigestFromAttestationMatchesActual(FilenameWithChecksum $
322322
private function downloadAttestations(FilenameWithChecksum $file, string $owner): array
323323
{
324324
$attestationUrl = sprintf(
325-
'%s/orgs/%s/attestations/sha256:%s',
325+
'%s/orgs/%s/attestations/sha256:%s?predicate_type=provenance',
326326
$this->githubApiBaseUrl,
327327
$owner,
328328
$file->checksum(),

0 commit comments

Comments
 (0)