http signatures: fix signature generation
This commit is contained in:
parent
b702d9a947
commit
c6bcbdfd45
|
@ -36,6 +36,7 @@ def build_signing_string(headers, used_headers):
|
||||||
|
|
||||||
|
|
||||||
def sign_headers(headers, key, key_id):
|
def sign_headers(headers, key, key_id):
|
||||||
|
headers = {x.lower(): y for x, y in headers.items()}
|
||||||
used_headers = headers.keys()
|
used_headers = headers.keys()
|
||||||
sig = {
|
sig = {
|
||||||
'keyId': key_id,
|
'keyId': key_id,
|
||||||
|
|
Loading…
Reference in a new issue