diff --git a/src/Assertion/Validator/Pipes/CheckPublicKeySignature.php b/src/Assertion/Validator/Pipes/CheckPublicKeySignature.php index 514e3b0..30d1e8f 100644 --- a/src/Assertion/Validator/Pipes/CheckPublicKeySignature.php +++ b/src/Assertion/Validator/Pipes/CheckPublicKeySignature.php @@ -119,7 +119,7 @@ protected function validateWithOpenSsl(string $signature, string $verifiable, We { if (! $publicKey = openssl_pkey_get_public($credential->public_key)) { throw AssertionException::make('Public key is invalid: '.openssl_error_string()); - }https:// + } if (openssl_verify($verifiable, $signature, $publicKey, OPENSSL_ALGO_SHA256) !== 1) { throw AssertionException::make('Signature is invalid: '.openssl_error_string());