Code examples and utilities for implementing Griffin's HTTP message signatures and webhook verification. This repository contains sample implementations for signing API requests and verifying incoming webhooks in multiple programming languages.
Griffin uses HTTP Message Signatures to:
- Verify client API requests - Customers sign their API requests to Griffin
- Getting Started
- API HTTP Message signatures
- Language Examples
- Resources
- Contributing
- Disclaimer
- License
To use the Griffin API securely:
- Generate an Ed25519 key pair
- Register your public key with Griffin via the app
- Sign your API requests using your private key
For detailed implementation instructions, see the Griffin documentation on message signatures.
This repository contains example implementations in various programming languages:
- Python - Using the
http-message-signatureslibrary - Golang - Using github.com/yaronf/httpsign
Contributions are welcome! If you have improvements or additional language examples, please submit a pull request.
Important
The external libraries used in these examples have not undergone a thorough security review by Griffin. While we provide these examples for convenience, we do not endorse any third-party libraries and are not liable for any security issues or bugs they may contain. You should conduct your own review of any libraries before using them in production.