aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Zot6
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-01-09 13:22:43 +0000
committerMario <mario@mariovavti.com>2021-01-09 13:22:43 +0000
commit7cfb230a5e90986b62a5c1df86ce48c894c0578c (patch)
tree7b9b543e48c9e9d64c7aa2f41a02d9f4acadcd49 /Zotlabs/Zot6
parent0e2af403298599737b41a44a0b6b3e0a1204b108 (diff)
downloadvolse-hubzilla-7cfb230a5e90986b62a5c1df86ce48c894c0578c.tar.gz
volse-hubzilla-7cfb230a5e90986b62a5c1df86ce48c894c0578c.tar.bz2
volse-hubzilla-7cfb230a5e90986b62a5c1df86ce48c894c0578c.zip
streamline keyid
Diffstat (limited to 'Zotlabs/Zot6')
-rw-r--r--Zotlabs/Zot6/Finger.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Zot6/Finger.php b/Zotlabs/Zot6/Finger.php
index 22ce4685d..cec3f98ab 100644
--- a/Zotlabs/Zot6/Finger.php
+++ b/Zotlabs/Zot6/Finger.php
@@ -88,7 +88,7 @@ class Finger {
$headers = [];
$headers['X-Zot-Channel'] = $channel['channel_address'] . '@' . \App::get_hostname();
$headers['X-Zot-Nonce'] = random_string();
- $xhead = HTTPSig::create_sig($headers,$channel['channel_prvkey'],'acct:' . channel_reddress($channel));
+ $xhead = HTTPSig::create_sig($headers,$channel['channel_prvkey'], channel_url($channel));
$retries = 0;
@@ -100,7 +100,7 @@ class Finger {
$result = z_post_url('http://' . $host . $rhs,$postvars, $retries, [ 'headers' => $xhead ]);
}
}
- }
+ }
else {
$rhs .= '?f=&address=' . urlencode($address) . '&token=' . self::$token;