mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 07:35:14 +00:00
default to hs2019 with discovery
This commit is contained in:
parent
d624b3fe77
commit
ebc5f8ec07
1 changed files with 1 additions and 1 deletions
|
@ -513,7 +513,7 @@ class HTTPSig {
|
|||
|
||||
$x = self::sign($head,$prvkey,$alg);
|
||||
|
||||
$headerval = 'keyId="' . $keyid . '",algorithm="' . $algorithm . '",headers="' . $x['headers'] . '",signature="' . $x['signature'] . '"';
|
||||
$headerval = 'keyId="' . $keyid . '",algorithm="hs2019",headers="' . $x['headers'] . '",signature="' . $x['signature'] . '"';
|
||||
|
||||
if ($encryption) {
|
||||
$x = Crypto::encapsulate($headerval,$encryption['key'],$encryption['algorithm']);
|
||||
|
|
Loading…
Reference in a new issue