Pre-release
This release is a pre-release and may not be stable for production use.
Swarmauri Tokens TLS-Bound JWT
A mutual-TLS bound JWT token service per RFC 8705.
It derives the x5t#S256 confirmation claim from the current client certificate
and verifies that presented certificates match the token binding.
Features:
- Automatic
cnfclaim insertion with the SHA-256 thumbprint of the client certificate - Verification that rejects tokens when the live certificate is missing or mismatched
Installation
pip install swarmauri_tokens_tlsboundjwt
Usage
from swarmauri_core.crypto.types import JWAAlg
from swarmauri_tokens_tlsboundjwt import TlsBoundJWTTokenService
svc = TlsBoundJWTTokenService(key_provider, client_cert_der_getter=my_cert_getter)
await svc.mint({"sub": "alice"}, alg=JWAAlg.HS256)
Entry Point
The service registers under the swarmauri.tokens entry point as
TlsBoundJWTTokenService.
Want to help?
If you want to contribute to swarmauri-sdk, read up on our guidelines for contributing that will help you get started.
Metadata
Release files for swarmauri_tokens_tlsboundjwt 0.11.0.dev1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| swarmauri_tokens_tlsboundjwt-0.11.0.dev1.tar.gz | 7.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| swarmauri_tokens_tlsboundjwt-0.11.0.dev1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.1 kB
Release files / swarmauri_tokens_tlsboundjwt-0.11.0.dev1.tar.gz
| Download URL | swarmauri_tokens_tlsboundjwt-0.11.0.dev1.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6887ba068df31aca764859ffbd72b83dbeeebcb24c66e2a2d19b4bb29b97773a
|
|
BLAKE2b-256 checksum How to use checksums |
4b67a531f49227460f50afe634a3efc52656ad8e8c031539d1e9ca0d82bbcf56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / swarmauri_tokens_tlsboundjwt-0.11.0.dev1-py3-none-any.whl
| Download URL | swarmauri_tokens_tlsboundjwt-0.11.0.dev1-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a789f866754d6a4a832edbb959e41de64620835fb465cf05801d089e71e630c2
|
|
BLAKE2b-256 checksum How to use checksums |
5cd277c61020d0fd2800a7d3b7302e936ffca180b0fe0494b86379c67535736b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|