mirror of https://gitlab.com/bashrc2/epicyon
https
parent
edd62c1f1b
commit
d28bedad71
|
@ -173,7 +173,7 @@ def signPostHeadersNew(dateStr: str, privateKeyPem: str,
|
|||
hazutils.Prehashed(hashes.SHA512()))
|
||||
signature = base64.b64encode(rawSignature).decode('ascii')
|
||||
else:
|
||||
# default sha256
|
||||
# default rsa-sha256
|
||||
headerDigest = getSHA256(signedHeaderText.encode('ascii'))
|
||||
rawSignature = key.sign(headerDigest,
|
||||
padding.PKCS1v15(),
|
||||
|
|
Loading…
Reference in New Issue