Skip to content

Add support for HMAC-SHA256 signatures - #40

Merged
dghubble merged 1 commit into
dghubble:masterfrom
klausbrunner:hmac-sha256-signing
Jul 11, 2020
Merged

dghubble merged 1 commit into
dghubble:masterfrom
klausbrunner:hmac-sha256-signing

Conversation

@klausbrunner

Copy link
Copy Markdown
Contributor

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

@klausbrunner

Copy link
Copy Markdown
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
Copy Markdown
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