question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

HMAC-SHA256 support for OAuth1

See original GitHub issue

I’m currently using the oauth1.signRequest function in http4s for communication with a 3rd party service. The http4s implementation is hardcoded to use HMAC-SHA1. Our 3rd party will soon require HMAC-SHA256.

Would there be any objection if I raised a PR to make this value configurable (while maintaining backwards compatibility for existing code)?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
barryoneillcommented, Aug 5, 2021

Understood, in dependency hell with those projects but will see how I get on 😃

0reactions
barryoneillcommented, Aug 6, 2021

WIP - https://github.com/http4s/http4s/pull/5023/files - though unsure how to do this in series/0.22 without failing binary compatibility checks

Read more comments on GitHub >

github_iconTop Results From Across the Web

NetSuite oauth1.0 - oauth_signature_method= hmac-sha256
I am trying to integrate salesforce with Netsuite using Oauth 1.0 with oauth_signature_method= hmac-sha256 I have the below code and trying ...
Read more >
OAuth 1.0 Support for HMAC-SHA256 · Issue #2627 - GitHub
I am trying to integrate with an OAuth 1.0a one-leg provider who can optionally support HMAC-SHA256. They recommend that any integrating partner ...
Read more >
NetSuite oauth1.0 - oauth_signature_method= hmac-sha256
Hi All, I am trying to integrate salesforce with Netsuite using Oauth 1.0 with oauth_signature_method= hmac-sha256
Read more >
Signing Requests - OAuth1
The OAuth plugin only supports a single signature method: HMAC-SHA1. This uses a HMAC (Hash-based Message Authentication Code), which looks similar to a...
Read more >
Features and platforms — OAuthLib 3.2.1 documentation
Non-standard signature methods that replaces SHA-1 with stronger digest algorithms are also supported: HMAC-SHA256; HMAC-SHA512; RSA-SHA256; RSA-SHA512. The ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found