mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
One more encoding
This commit is contained in:
parent
0e8b325667
commit
bbd9db4d00
@ -278,7 +278,7 @@ def sig4(method, endpoint, params, prov_dict,
|
||||
algorithm,
|
||||
amzdate,
|
||||
credential_scope,
|
||||
hashlib.sha256(canonical_request).hexdigest()
|
||||
hashlib.sha256(canonical_request.encode(__salt_system_encoding__)).hexdigest()
|
||||
))
|
||||
|
||||
# Create the signing key using the function defined above.
|
||||
|
Loading…
Reference in New Issue
Block a user