mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 19:15:15 +00:00
commit
a8ebd7e3fa
1 changed files with 0 additions and 5 deletions
|
@ -788,10 +788,6 @@ function zot_fetch($arr) {
|
|||
logger('zot_fetch: no hub: ' . print_r($arr['sender'],true));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
$ret_secret = json_encode(array($arr['secret'],'secret_sig' => base64url_encode(rsa_sign($arr['secret'],get_config('system','prvkey')))));
|
||||
|
||||
|
||||
$data = array(
|
||||
'type' => 'pickup',
|
||||
|
@ -802,7 +798,6 @@ function zot_fetch($arr) {
|
|||
'secret_sig' => base64url_encode(rsa_sign($arr['secret'],get_config('system','prvkey')))
|
||||
);
|
||||
|
||||
|
||||
$datatosend = json_encode(aes_encapsulate(json_encode($data),$ret_hub['hubloc_sitekey']));
|
||||
|
||||
$fetch = zot_zot($url,$datatosend);
|
||||
|
|
Loading…
Reference in a new issue