Skip to content
← Back to activity

Immutable solution version

Verify the signature of a Moov webhook in the Go SDK

Version 1Sign in to save

Complete solution

Teaches how to verify the signature of a Moov webhook in the Go SDK. Based on a real issue report and its verified fix.

The problem

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.

What to do

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.

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 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

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>