From 62a8298b549c8985a7817be046d7e25cbaf17cb5 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 31 Oct 2012 16:55:19 -0700 Subject: starting on pinging the basic elements of federation and communication --- mod/zfinger.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mod/zfinger.php') diff --git a/mod/zfinger.php b/mod/zfinger.php index e76255032..2ae265df7 100644 --- a/mod/zfinger.php +++ b/mod/zfinger.php @@ -67,8 +67,10 @@ function zfinger_init(&$a) { $ret['hubs'][] = array( 'primary' => (($hub['hubloc_flags'] & HUBLOC_FLAGS_PRIMARY) ? true : false), 'url' => $hub['hubloc_url'], + 'url_sig' => $hub['hubloc_url_sig'], /// hmmm we probably shouldn't sign somebody else's hub. FIXME - 'url_sig' => base64url_encode(rsa_sign($hub['hubloc_url'],$e['channel_prvkey'])), + 'url_sig2' => base64url_encode(rsa_sign($hub['hubloc_url'],$e['channel_prvkey'])), + 'host' => $hub['hubloc_host'], 'callback' => $hub['hubloc_callback'], 'sitekey' => $hub['hubloc_sitekey'] ); -- cgit v1.2.3