Skip to content

Commit

Permalink
Use the algorithm value, not the keyId for the algorithm field in the…
Browse files Browse the repository at this point in the history
… signature string (#103)
  • Loading branch information
jasonbking committed Apr 2, 2020
1 parent 613fb31 commit b83992f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/signer.js
Expand Up @@ -208,7 +208,7 @@ RequestSigner.prototype.sign = function (cb) {

authz = FormatAuthz('Signature ', {
keyId: sig.keyId,
algorithm: sig.keyId,
algorithm: sig.algorithm,
headers: self.rs_headers.join(' '),
signature: sig.signature
});
Expand Down

0 comments on commit b83992f

Please sign in to comment.