-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update for AMP v3 #36
Conversation
It looks like there's some sort of issue where everything is working correctly it's segfaulting on program close. Was showing up periodically on <?php
require_once __DIR__ . "/vendor/autoload.php";
$key = (new \Kelunik\Acme\Crypto\RsaKeyGenerator())->generateKey();
$client = new \Kelunik\Acme\AcmeClient("https://acme-staging-v02.api.letsencrypt.org/directory", $key);
$service = new \Kelunik\Acme\AcmeService($client);
$account = $service->register("iggyvolz@gmail.com", true); Backtrace (generated with latest PHP master ff76694f2831783486f5c29f71b0fe63f6b9a182, also tested with PHP 8.1.3 and 8.1.2):
Looks like an issue with PHP upstream that's just getting hit through amp? Will work on reporting that upstream but the library seems to function as normally (just occasionally dies with a segfault?) |
Thanks a lot! |
Tests all pass at this point and there's no segfault - it may have either gotten fixed somewhere upstream or it was something with my environment. |
18c8e26 fixed the test failures. |
Updates the library to use AMP v3 instead of v2. Should go on a v2 branch or similarly named.
Right now the following tests fail when run as part of the test suite, but pass when run individually (might be some kind of race condition?):