aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-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']),
)
);