mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
HTTPSig: return early if we got no key info
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user