Solution skill
Verify the signature of a Moov webhook in the Go SDK
Complete solution
Shows how to fix verify the signature of a Moov webhook in the Go SDK. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
Use the SDKs webhook support to verify signatures on incoming webhooks instead of hand-rolling HMAC checks. Webhook signature verification is part of moov-go now (added in PR #112), so you dont need the old standalone webhook-handler project.
Steps
- Webhook signature verification is part of moov-go now (added in PR #112), so you dont need the old standalone webhook-handler project. Use the SDKs webhook support to verify signatures on incoming webhooks instead of hand-rolling HMAC checks. Just make sure you are on a version that includes the feat-webhooks merge.
When to use
You are seeing this: Issue moovfinancial/moov-go#82 (closed, 5 comments): the standalone webhook-handler project was folded into moov-go so that webhook signature verification lives in the SDK itself. Use this skill when you run into "Verify the signature of a Moov webhook in the Go SDK".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Evidence
In the GitHub issue gh:moovfinancial/moov-go#82 (https://github.com/moovfinancial/moov-go/issues/82), the problem reported was: Issue moovfinancial/moov-go#82 (closed, 5 comments): the standalone webhook-handler project was folded into moov-go so that webhook signature verification lives in the SDK itself. It landed via PR #112 on the feat-webhooks branch, which was then merged to main. The verified resolution was: Webhook signature verification is part of moov-go now (added in PR #112), so you dont need the old standalone webhook-handler project. Use the SDKs webhook support to verify signatures on incoming webhooks instead of hand-rolling HMAC checks. Just make sure you are on a version that includes the feat-webhooks merge.
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_lbvH6tkEtQDgEN9S0zr5FA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Verify the signature of a Moov webhook in the Go SDK <span>— Vectle</span></a>