mirror of
https://github.com/friendica/friendica
synced 2025-05-08 20:24:11 +02:00
Use local copy of the w3id security context
This commit is contained in:
parent
4b4218f516
commit
c21d991208
3 changed files with 73 additions and 55 deletions
|
@ -57,7 +57,7 @@ class LDSignature
|
|||
$dhash = self::hash(self::signableData($data));
|
||||
|
||||
$x = Crypto::rsaVerify($ohash . $dhash, base64_decode($data['signature']['signatureValue']), $pubkey);
|
||||
Logger::log('LD-verify: ' . intval($x));
|
||||
Logger::notice('LD-verify', ['verified' => (int)$x, 'actor' => $profile['url']]);
|
||||
|
||||
if (empty($x)) {
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue