Signature Verify failed: Public key (handling webhooks from bridge.xyz
Algorithms
1
Posts
1
Posters
12
Views
-
Hi
I'm integrating webhooks from an api provider called bridge.xyz and i keep getting signature verify failed in my logs. I've pasted the public key in my secrets (as shown below) (excluded the \n and pasted a real line breaks) (this key was returned in my terminal so it is correct). I'm not sure if i'm handling the code wrong but take a look: here's also how i pasted the public key in my secrets.
Here's how i pasted the public key (ie. removed \n):-----BEGIN PUBLIC KEY-----MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuY0tVKSAaFx6G9qODyhM+WxLxgP+agd32w7iGhf9tFAQlwcxc5/PY6GE5kJHX5z3+zocrMfjsXQ1QcWvMu3Fejfc2bxDqZgfEdu/ejswse9WYG2jOo4bohMQHJoPbB16ZRiSfKlfpS0+4npQ6MwxVL/CkYtqIOdXsaa/ZF/skMGBH22PThC9TBoRINGEcTP4idI4HJhIPPXD+ln0xonhZxhNjhnFbOxvte3ntkajx/M7rW8lR1ObRCUsutz9K1XsX0LVmZMfxZCDqJGieJQ1XrHaSIM8LmvIENhGEEkMOoN6ut03akBvtvVdEsRVFIiTbgmLnS29JxpF0kVfRzZkkQIDAQAB-----END PUBLIC KEY-----