main
Bob Mottram 2021-11-18 14:04:45 +00:00
parent edd62c1f1b
commit d28bedad71
1 changed files with 1 additions and 1 deletions

View File

@ -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(),