aboutsummaryrefslogtreecommitdiffstats
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
parent9db1148650373155f6d5321856979d4fa9e28caa (diff)
downloadvolse-hubzilla-3bde7b8f18bf17e87fc803dfb09efa74719aa60e.tar.gz
volse-hubzilla-3bde7b8f18bf17e87fc803dfb09efa74719aa60e.tar.bz2
volse-hubzilla-3bde7b8f18bf17e87fc803dfb09efa74719aa60e.zip
add salmon key param
-rw-r--r--mod/wfinger.php5
-rw-r--r--version.inc2
2 files changed, 6 insertions, 1 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']),
)
);
diff --git a/version.inc b/version.inc
index 583098250..06b5d04b1 100644
--- a/version.inc
+++ b/version.inc
@@ -1 +1 @@
-2016-02-21.1314H
+2016-02-22.1315H