encrypted header issue

This commit is contained in:
zotlabs 2018-11-14 18:14:47 -08:00
parent 65a8965e85
commit d0f0a74df8

View File

@ -401,7 +401,7 @@ class HTTPSig {
$data = $matches[1]; $data = $matches[1];
if($iv && $key && $alg && $data) { if($iv && $key && $alg && $data) {
return crypto_unencapsulate([ 'iv' => $iv, 'key' => $key, 'alg' => $alg, 'data' => $data ] , $prvkey); return crypto_unencapsulate([ 'encrypted' => true, 'iv' => $iv, 'key' => $key, 'alg' => $alg, 'data' => $data ] , $prvkey);
} }
return ''; return '';