mirror of
https://github.com/friendica/friendica
synced 2025-04-19 11:10:10 +00:00
Relocated AP signature functions, reduced magic auth functions
This commit is contained in:
parent
0866fbaf8c
commit
11310f4cf0
6 changed files with 192 additions and 309 deletions
|
@ -54,7 +54,7 @@ class Owa extends BaseModule
|
|||
if (DBA::isResult($contact)) {
|
||||
// Try to verify the signed header with the public key of the contact record
|
||||
// we have found.
|
||||
$verified = HTTPSignature::verify('', $contact['pubkey']);
|
||||
$verified = HTTPSignature:verifyMagic($contact['pubkey']);
|
||||
|
||||
if ($verified && $verified['header_signed'] && $verified['header_valid']) {
|
||||
logger('OWA header: ' . print_r($verified, true), LOGGER_DATA);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue