Skip to content

Hmac validation bank webhooks#302

Merged
wboereboom merged 2 commits into
mainfrom
hmac-validation-bank-webhooks
Apr 3, 2024
Merged

Hmac validation bank webhooks#302
wboereboom merged 2 commits into
mainfrom
hmac-validation-bank-webhooks

Conversation

@gcatanese

Copy link
Copy Markdown
Contributor

Summary

The library provides only support for validating webhook payloads that include the HMAC signature in the request body AdditionalData (i.e. standard webhooks).
This PR adds the method is_valid_hmac_payload to validate the webhook payloads that include the HMAC signature in the HTTP header (.i.e banking webhooks).

Tested scenarios

Added unit testing, tested with the Adyen Sample app

@gcatanese gcatanese requested a review from a team April 2, 2024 11:39
@sonarqubecloud

sonarqubecloud Bot commented Apr 2, 2024

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@wboereboom wboereboom merged commit de2ca57 into main Apr 3, 2024
@wboereboom wboereboom deleted the hmac-validation-bank-webhooks branch April 3, 2024 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants