Composite JWS signer/verifier for Swarmauri
Project description
Swarmauri Signing JWS
Composite JSON Web Signature (JWS) signer and verifier combining multiple Swarmauri signing providers.
Features:
- Supports compact and general JWS serialization
- Routes algorithms to existing HMAC, RSA, ECDSA, Ed25519, and optional secp256k1 signers
- Optional CBOR canonicalization via
cbor2
Installation
pip install swarmauri_signing_jws
Usage
from swarmauri_signing_jws import JwsSignerVerifier
verifier = JwsSignerVerifier()
compact = await verifier.sign_compact(payload={"msg": "hi"}, alg="HS256", key={"kind": "raw", "key": "secret"})
result = await verifier.verify_compact(compact, hmac_keys=[{"kind": "raw", "key": "secret"}])
Entry Point
The signer registers under the swarmauri.signings entry point as
JwsSignerVerifier.
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
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 swarmauri_signing_jws-0.3.0.dev4.tar.gz.
File metadata
- Download URL: swarmauri_signing_jws-0.3.0.dev4.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47288a9603c722ddc46b5fbd8562e9b4459197402574464158fb79a144021513
|
|
| MD5 |
87235d8b03cf6f420bead3b2f38949fc
|
|
| BLAKE2b-256 |
0efe2d78deac0e5af58c066b3b472094197a83d1947b88da08d3a3771054e2cc
|
File details
Details for the file swarmauri_signing_jws-0.3.0.dev4-py3-none-any.whl.
File metadata
- Download URL: swarmauri_signing_jws-0.3.0.dev4-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff1f852406cd086461c6c516bbb2a8e0214896386da3faf7ea9b2fba682cee52
|
|
| MD5 |
2f9bc377051e694b770150c16e761e86
|
|
| BLAKE2b-256 |
60f00adec4817abbde95b1b8cbe2c8a9c49daf4f115d73bee5df7b8ac43e93ba
|