Skip to content

Commit 7d3eea1

Browse files
committed
Rename to FulcioSigstoreOidExtensions from upstream library
1 parent fd9c27d commit 7d3eea1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/SelfManage/Verify/FallbackVerificationUsingOpenSsl.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
use Php\Pie\SelfManage\Update\ReleaseMetadata;
99
use Php\Pie\Util\Emoji;
1010
use Symfony\Component\Console\Output\OutputInterface;
11-
use ThePhpFoundation\Attestation\Extension;
1211
use ThePhpFoundation\Attestation\FilenameWithChecksum;
12+
use ThePhpFoundation\Attestation\FulcioSigstoreOidExtensions;
1313
use ThePhpFoundation\Attestation\Verification\Exception\FailedToVerifyArtifact;
1414
use ThePhpFoundation\Attestation\Verification\VerifyAttestation;
1515

@@ -20,9 +20,9 @@ final class FallbackVerificationUsingOpenSsl implements VerifyPiePhar
2020
{
2121
/** @link https://github.com/sigstore/fulcio/blob/main/docs/oid-info.md#136141572641--fulcio */
2222
private const ATTESTATION_CERTIFICATE_EXPECTED_EXTENSION_VALUES = [
23-
Extension::ISSUER_V2 => 'https://token.actions.githubusercontent.com',
24-
Extension::SOURCE_REPOSITORY_URI => 'https://github.com/php/pie',
25-
Extension::SOURCE_REPOSITORY_OWNER_URI => 'https://github.com/php',
23+
FulcioSigstoreOidExtensions::ISSUER_V2 => 'https://token.actions.githubusercontent.com',
24+
FulcioSigstoreOidExtensions::SOURCE_REPOSITORY_URI => 'https://github.com/php/pie',
25+
FulcioSigstoreOidExtensions::SOURCE_REPOSITORY_OWNER_URI => 'https://github.com/php',
2626
];
2727

2828
private const ORGANISATION = 'php';

0 commit comments

Comments
 (0)