aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Owa.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-12-23 08:32:59 +0000
committerMario <mario@mariovavti.com>2020-12-23 08:32:59 +0000
commitf2258d4202c1ff54c94e2c383aa153b13b79b47b (patch)
treeda05dbe371482f9113925e33aecf77099d342d52 /Zotlabs/Module/Owa.php
parentd56bf34326cec24b8d6ad72f77543f4722788ef6 (diff)
downloadvolse-hubzilla-f2258d4202c1ff54c94e2c383aa153b13b79b47b.tar.gz
volse-hubzilla-f2258d4202c1ff54c94e2c383aa153b13b79b47b.tar.bz2
volse-hubzilla-f2258d4202c1ff54c94e2c383aa153b13b79b47b.zip
owa specify key
Diffstat (limited to 'Zotlabs/Module/Owa.php')
-rw-r--r--Zotlabs/Module/Owa.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Owa.php b/Zotlabs/Module/Owa.php
index 28c70d168..d6aeb8af5 100644
--- a/Zotlabs/Module/Owa.php
+++ b/Zotlabs/Module/Owa.php
@@ -46,7 +46,7 @@ class Owa extends Controller {
}
if ($r) {
foreach ($r as $hubloc) {
- $verified = HTTPSig::verify(file_get_contents('php://input'));
+ $verified = HTTPSig::verify(file_get_contents('php://input'), $hubloc['xchan_pubkey']);
if ($verified && $verified['header_signed'] && $verified['header_valid'] && ($verified['content_valid'] || (! $verified['content_signed']))) {
logger('OWA header: ' . print_r($verified,true),LOGGER_DATA);
logger('OWA success: ' . $hubloc['hubloc_id_url'],LOGGER_DATA);