-
Notifications
You must be signed in to change notification settings - Fork 49
Labels
maintainer investigatingThis ticket is being investigated by maintainers. Please check with us before contributing PRs etc!This ticket is being investigated by maintainers. Please check with us before contributing PRs etc!
Milestone
Description
When trying to update to the latest stable release (1.3.0) from either 1.2.1 or 1.3.0-rc.2@3a28242 (which seems off, as rc.2 is e74075a and rc.3/stable is 3a28242 ??), I am faced (on both Windows 11 and WSL/Ubuntu, both without gh installed) with the following error:
$ pie self-update
🥧 PHP Installer for Extensions (PIE) 1.2.1, from The PHP Foundation
You are running PHP 8.5.0
Target PHP installation: 8.5.0 nts, on Linux/OSX/etc x86_64 (from /usr/bin/php8.5)
You are currently running PIE version 1.2.1
In Assert.php line 2074:
Expected the key "1.3.6.1.4.1.57264.1.8" to exist.
self-update [--with-php-config WITH-PHP-CONFIG] [--with-php-path WITH-PHP-PATH] [--with-phpize-path WITH-PHPIZE-PATH] [--nightly]
Updating from 1.2.1 with the --nightly flag works and updates to the aforementioned 1.3.0-rc.2@3a28242:
$ pie self-update --nightly
🥧 PHP Installer for Extensions (PIE) 1.2.1, from The PHP Foundation
You are running PHP 8.5.0
Target PHP installation: 8.5.0 nts, on Linux/OSX/etc x86_64 (from /usr/bin/php8.5)
Downloading the latest nightly release.
✅ Verified the new PIE version (using fallback verification)
✅ PIE has been upgraded to nightly
Then again trying to move to stable again errs:
$ pie self-update --stable
🥧 PHP Installer for Extensions (PIE) 1.3.0-rc.2@3a28242, from The PHP Foundation
Updating using the stable channel.
You are running PHP 8.5.0
Target PHP installation: 8.5.0 nts, on Linux/OSX/etc x86_64 (from /usr/bin/php8.5)
You are currently running PIE version 1.3.0-rc.2@3a28242
In Assert.php line 2338:
Expected the key "1.3.6.1.4.1.57264.1.8" to exist.
self-update [--with-php-config WITH-PHP-CONFIG] [--with-php-path WITH-PHP-PATH] [--with-phpize-path WITH-PHPIZE-PATH] [--no-cache] [--nightly] [--preview] [--stable]
Verbose output:
You are currently running PIE version 1.3.0-rc.2@3a28242
Newer version 1.3.0 found, going to update you... ⏳
Verifying release with digest sha256:0eaaed5d49534d5eb53cae637843035ed3e0b9957ebad8521f13717b06480bfc...
The GitHub "gh" CLI tool was not available.
Falling back to basic verification. To use full verification, install the `gh` CLI tool.
In Assert.php line 2338:
[Webmozart\Assert\InvalidArgumentException]
Expected the key "1.3.6.1.4.1.57264.1.8" to exist.
Exception trace:
at phar:///usr/local/bin/pie/vendor/webmozart/assert/src/Assert.php:2338
Webmozart\Assert\Assert::reportInvalidArgument() at phar:///usr/local/bin/pie/vendor/webmozart/assert/src/Assert.php:1897
Webmozart\Assert\Assert::keyExists() at phar:///usr/local/bin/pie/vendor/thephpf/attestation/src/Verification/VerifyAttestationWithOpenSsl.php:237
ThePhpFoundation\Attestation\Verification\VerifyAttestationWithOpenSsl->assertCertificateExtensionClaims() at phar:///usr/local/bin/pie/vendor/thephpf/attestation/src/Verification/VerifyAttestationWithOpenSsl.php:110
ThePhpFoundation\Attestation\Verification\VerifyAttestationWithOpenSsl->verify() at phar:///usr/local/bin/pie/src/SelfManage/Verify/FallbackVerificationUsingOpenSsl.php:46
Php\Pie\SelfManage\Verify\FallbackVerificationUsingOpenSsl->verify() at phar:///usr/local/bin/pie/src/SelfManage/Verify/VerifyPieReleaseUsingAttestation.php:43
Php\Pie\SelfManage\Verify\VerifyPieReleaseUsingAttestation->verify() at phar:///usr/local/bin/pie/src/Command/SelfUpdateCommand.php:166
Php\Pie\Command\SelfUpdateCommand->execute() at phar:///usr/local/bin/pie/vendor/symfony/console/Command/Command.php:326
Symfony\Component\Console\Command\Command->run() at phar:///usr/local/bin/pie/vendor/symfony/console/Application.php:1088
Symfony\Component\Console\Application->doRunCommand() at phar:///usr/local/bin/pie/vendor/symfony/console/Application.php:324
Symfony\Component\Console\Application->doRun() at phar:///usr/local/bin/pie/vendor/symfony/console/Application.php:175
Symfony\Component\Console\Application->run() at phar:///usr/local/bin/pie/bin/pie:62
require() at /usr/local/bin/pie:15
self-update [--with-php-config WITH-PHP-CONFIG] [--with-php-path WITH-PHP-PATH] [--with-phpize-path WITH-PHPIZE-PATH] [--no-cache] [--nightly] [--preview] [--stable]
Metadata
Metadata
Assignees
Labels
maintainer investigatingThis ticket is being investigated by maintainers. Please check with us before contributing PRs etc!This ticket is being investigated by maintainers. Please check with us before contributing PRs etc!