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

[Recording Oracle] Add signature to all webhook calls sent and received #1048

Merged
merged 4 commits into from
Oct 17, 2023

Conversation

flopez7
Copy link
Contributor

@flopez7 flopez7 commented Oct 13, 2023

Description

Add signature to all webhook calls sent and received in Recording Oracle

Summary of changes

  • Add signature utils
  • Add signature guard
  • Add signature verification to all webhook endpoints
  • Add signature to all webhook calls
  • Update unit tests

How test the changes

yarn test

Related issues

Close #1029

Operational checklist

  • All new functionality is covered by tests
  • Any related documentation has been changed or added

@flopez7 flopez7 requested a review from portuu3 October 13, 2023 08:00
@flopez7 flopez7 self-assigned this Oct 13, 2023
@vercel
Copy link

vercel bot commented Oct 13, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

11 Ignored Deployments
Name Status Preview Comments Updated (UTC)
escrow-dashboard ⬜️ Ignored (Inspect) Visit Preview Oct 17, 2023 9:30am
faucet-server ⬜️ Ignored (Inspect) Visit Preview Oct 17, 2023 9:30am
fortune-exchange-oracle ⬜️ Ignored (Inspect) Visit Preview Oct 17, 2023 9:30am
fortune-exchange-oracle-server ⬜️ Ignored (Inspect) Visit Preview Oct 17, 2023 9:30am
fortune-job-launcher-client ⬜️ Ignored (Inspect) Visit Preview Oct 17, 2023 9:30am
fortune-job-launcher-server ⬜️ Ignored (Inspect) Visit Preview Oct 17, 2023 9:30am
fortune-recording-oracle ⬜️ Ignored (Inspect) Visit Preview Oct 17, 2023 9:30am
fortune-reputation-oracle ⬜️ Ignored (Inspect) Visit Preview Oct 17, 2023 9:30am
human-protocol-typescript-sdk-docs ⬜️ Ignored (Inspect) Oct 17, 2023 9:30am
job-launcher-client ⬜️ Ignored (Inspect) Visit Preview Oct 17, 2023 9:30am
job-launcher-server ⬜️ Ignored (Inspect) Visit Preview Oct 17, 2023 9:30am

@flopez7 flopez7 changed the title Add signature to all webhook calls sent and received in Recording Oracle [Recording Oracle] Add signature to all webhook calls sent and received Oct 13, 2023
@flopez7 flopez7 merged commit eaa1f7c into develop Oct 17, 2023
@flopez7 flopez7 deleted the feat/recording/webhook-signature branch October 17, 2023 13:14
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