HTTPSig: return early if we got no key info

This commit is contained in:
Mario
2025-10-21 10:23:47 +00:00
parent 33718ff16f
commit 4ba414fb8d

View File

@@ -124,6 +124,10 @@ class HTTPSig {
$alg = ($found) ? $matches[1] : null;
$keyInfo = self::get_key($key, $keytype, $keyId);
if (!$keyInfo) {
return $result;
}
$publicKey = $keyInfo['public_key'];
$messageSigner = new HttpMessageSigner();