default to hs2019 with discovery

This commit is contained in:
nobody 2021-11-21 22:37:16 -08:00
parent d624b3fe77
commit ebc5f8ec07

View file

@ -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']);