Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am haseebq on github.
* I am haseebq (https://keybase.io/haseebq) on keybase.
* I have a public key ASByxkvQ3IPYCWpXWnUwvl42yTiNyu5XWSPul7088Kpm6Ao
To claim this, I am signing this object:
@haseebq
haseebq / paddle_hook_verify.go
Last active January 25, 2023 09:43
Golang code to verify Paddle's webhook signature
package main
import (
"fmt"
"crypto"
"crypto/rsa"
"crypto/sha1"
"crypto/x509"
"encoding/base64"
"encoding/pem"
https://app.jumpdesktop.com/collab#neuronid=01CE9D7SNANEZVKNDTDA98MK8J&authcode=8d76d0aead2de11684c7