-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add hmac_compute (Repost of #54164) #55506
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this is going into master, in particular if it's targeted to land before Sodium, we'll need to update this PR to maintain Python2 compatibility.
@waynew All done :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just needs a rebase onto master
re-run full macosxmojave |
What does this PR do?
Creates a util and a module called hmac_compute for computing a HMAC SHA256 hexdigest using a string and secret. Additionally, it updates the base64_encodestring and base64_decodestring util and module functions so that they are compatible with Python 3. This was previously accepted and labeled as merge ready in the PR referenced below; however, it was just closed because it was opened against the develop branch.
What issues does this PR fix or reference?
#54164
Tests written?
Yes
Commits signed with GPG?
Yes