In crypto.salted_hmachmac.new expects bytes as a value not str.
|Reported by:||adsworth||Owned by:||adsworth|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
the function hmac.new expects bytes as the msg parameter. use the function utils.py3.b to makes sure it's bytes.
This patch will only apply in the features/py3k branch.
Change History (5)
Changed 2 years ago by adsworth
comment:1 Changed 2 years ago by ptone
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted
comment:2 Changed 2 years ago by ramiro
- Summary changed from In crypto.salted_hmachmac.new expects bates as a value not str. to In crypto.salted_hmachmac.new expects bytes as a value not str.