Standard Webhooks HMAC-SHA256 signing and verification for EEP
Project description
eep-signer (Python)
Python port of @eep-dev/signer — Standard Webhooks HMAC-SHA256 signing and verification for EEP.
Install
pip install -e .
Usage
from eep_signer import EEPSigner, verify_eep_webhook
# Sign a webhook
signer = EEPSigner(secret)
signature = signer.sign(webhook_id, timestamp, raw_body)
# Verify a webhook (low-level)
is_valid = signer.verify(webhook_id, timestamp, signature, raw_body)
# Verify a webhook (convenience — FastAPI / Flask)
from eep_signer import verify_eep_webhook
is_valid = verify_eep_webhook(raw_body, request.headers, secret)
Tests
pip install -e ".[dev]"
pytest
License
Apache-2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
eep_signer-0.1.0.tar.gz
(8.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file eep_signer-0.1.0.tar.gz.
File metadata
- Download URL: eep_signer-0.1.0.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da7617863182d54f5ad175b510f5b65ac6589fab4e0760ccf5aa4e16557df714
|
|
| MD5 |
ac3ae1e8b9759162051eb24c35bf8533
|
|
| BLAKE2b-256 |
a4371055fe8a90d1e2e6baaa9b1612ed792055be13242339ed584fd6fb1d5cfb
|
File details
Details for the file eep_signer-0.1.0-py3-none-any.whl.
File metadata
- Download URL: eep_signer-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
181263c93678971e4b9c64292ac98a2bd322fc0e0fc8951344a3a80ce24cb678
|
|
| MD5 |
35e644f8c98cd77f8a7e36f7b02e1839
|
|
| BLAKE2b-256 |
d3e4c1cd165870ceb7eda94942b425de2749ce75719bd8a6fd4c9d5ffbb92f78
|