Skip to content
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 support for HMAC-SHA256 signatures #40

Merged
merged 1 commit into from
Jul 11, 2020
Merged

Add support for HMAC-SHA256 signatures #40

merged 1 commit into from
Jul 11, 2020

Conversation

klausbrunner
Copy link
Contributor

New signer for HMAC-SHA256 signatures.
HMAC-SHA1 remains the default for new Authers, HMACSigner struct is unchanged.

@klausbrunner
Copy link
Contributor Author

Some API providers (example) recommend or require SHA256 instead of the commonly used SHA1.

I'd have a slight preference for re-using the same HMACSigner and adding an algorithm field, but this would be more intrusive. Might break some existing code?

@dghubble dghubble merged commit 33a308c into dghubble:master Jul 11, 2020
@dghubble
Copy link
Owner

Thanks

bvuong pushed a commit to fuse-inventory/oauth1 that referenced this pull request Sep 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants