aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-01-09 13:24:32 +0000
committerMario <mario@mariovavti.com>2021-01-09 13:24:32 +0000
commit61e782389c20a0d22749985177370149af4ae119 (patch)
treed9313c300db9c39147d7a78be5774b38bbe8b245 /Zotlabs/Module
parent7cfb230a5e90986b62a5c1df86ce48c894c0578c (diff)
downloadvolse-hubzilla-61e782389c20a0d22749985177370149af4ae119.tar.gz
volse-hubzilla-61e782389c20a0d22749985177370149af4ae119.tar.bz2
volse-hubzilla-61e782389c20a0d22749985177370149af4ae119.zip
more streamline keyid
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Zfinger.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/Zotlabs/Module/Zfinger.php b/Zotlabs/Module/Zfinger.php
index 533f0a5db..ce7117ad8 100644
--- a/Zotlabs/Module/Zfinger.php
+++ b/Zotlabs/Module/Zfinger.php
@@ -7,7 +7,7 @@ use Zotlabs\Lib\Libzot;
class Zfinger extends \Zotlabs\Web\Controller {
function init() {
-
+
require_once('include/zot.php');
require_once('include/crypto.php');
@@ -26,7 +26,7 @@ class Zfinger extends \Zotlabs\Web\Controller {
if($chan) {
$headers['Digest'] = HTTPSig::generate_digest_header($ret);
- $h = HTTPSig::create_sig($headers,$chan['channel_prvkey'],'acct:' . channel_reddress($chan));
+ $h = HTTPSig::create_sig($headers,$chan['channel_prvkey'], channel_url($chan));
HTTPSig::set_headers($h);
}
else {
@@ -37,7 +37,7 @@ class Zfinger extends \Zotlabs\Web\Controller {
echo $ret;
killme();
-
+
}
-
+
}