aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-12-23 08:32:59 +0000
committerMario <mario@mariovavti.com>2020-12-30 15:36:25 +0100
commit2855d84fba34749529d42d7024b06a08603fca44 (patch)
tree9366c8fe749eb0a13caae5e2a629154c30c4cd67
parent3c19648a56497433e5871f465e50660b06bd9f0f (diff)
downloadvolse-hubzilla-2855d84fba34749529d42d7024b06a08603fca44.tar.gz
volse-hubzilla-2855d84fba34749529d42d7024b06a08603fca44.tar.bz2
volse-hubzilla-2855d84fba34749529d42d7024b06a08603fca44.zip
owa specify key
(cherry picked from commit f2258d4202c1ff54c94e2c383aa153b13b79b47b)
-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);