I was trying to add a webhook with HMAC verification using node.js.
Signature received in x-hub-signature header always differs from calculated in webhook.
I've also verified signature in online HMAC generators like
https://www.freeformatter.com/hmac-generator.html or
https://www.devglan.com/online-tools/hmac-sha256-online
All of them returns same digest as I have in webhook, however different than bitbucket sends in headers.
Webhook calculates digest from raw body payload (string, utf8) using secret generated for webhook.
What can be wrong there?