mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-12-22 19:21:08 +00:00
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):
|
||||
headers = {x.lower(): y for x, y in headers.items()}
|
||||
used_headers = headers.keys()
|
||||
sig = {
|
||||
'keyId': key_id,
|
||||
|
|
Loading…
Reference in a new issue