aboutsummaryrefslogtreecommitdiffstats
path: root/mod/wfinger.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-02-22 16:20:19 -0800
committerredmatrix <git@macgirvin.com>2016-02-22 16:20:19 -0800
commit3bde7b8f18bf17e87fc803dfb09efa74719aa60e (patch)
tree679f75252246a39bfb6982736153afcd1a789216 /mod/wfinger.php
parent9db1148650373155f6d5321856979d4fa9e28caa (diff)
downloadvolse-hubzilla-3bde7b8f18bf17e87fc803dfb09efa74719aa60e.tar.gz
volse-hubzilla-3bde7b8f18bf17e87fc803dfb09efa74719aa60e.tar.bz2
volse-hubzilla-3bde7b8f18bf17e87fc803dfb09efa74719aa60e.zip
add salmon key param
Diffstat (limited to 'mod/wfinger.php')
-rw-r--r--mod/wfinger.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/mod/wfinger.php b/mod/wfinger.php
index a745d9f84..3f9826f9b 100644
--- a/mod/wfinger.php
+++ b/mod/wfinger.php
@@ -106,6 +106,11 @@ function wfinger_init(&$a) {
array(
'rel' => 'http://purl.org/zot/protocol',
'href' => z_root() . '/.well-known/zot-info' . '?address=' . $r[0]['xchan_addr'],
+ ),
+
+ array(
+ 'rel' => 'magic-public-key',
+ 'href' => 'data:application/magic-public-key,' . salmon_key($r[0]['channel_pubkey']),
)
);