Implementation of IETF Token Status List
Project description
token-status-list
This is an implementation of Token Status List Draft 2.
Features
- Support for 1, 2, 4, and 8 bits.
- Compression as required by the Specification (ZLIB at level 9)
- Formatting and signing Status Lists as either JWT or CWT
- A
TokenSignerprotocol is defined so the user can Bring Their Own Crypto implementation - Alternatively, methods for preparing payloads and assembling payload and signature bytes into the final token is also supported.
- A
- Two Index Allocation strategies, Linear and Random
- Linear strategy will allocate indices serially
- Random strategy will allocate indices pseudo-randomly (as the list fills, speed is favored over randomness)
- Allocators contain state that must be persisted along side the status list itself
- IssuerStatusList and Allocators are serializeable so the user can persist them to the backend of their choice
Planned Features
These are features that I intend to include soon.
- VerifierStatusList providing helpers to verify and validate a Status List Token obtained for verification.
- Examples
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 token_status_list-0.1.0a2.dev0.tar.gz.
File metadata
- Download URL: token_status_list-0.1.0a2.dev0.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: pdm/2.21.0 CPython/3.9.20 Linux/6.5.0-1025-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
522eaa66b88f4df03d2084cb81afa5a44409d913ef8d0076adac2a9805df4285
|
|
| MD5 |
469ce2cb988b514df9a5ba2b6fce6d87
|
|
| BLAKE2b-256 |
9c97aa49d20f9816743a06bee7d5594c29abd90f3f755926aadf9fe2d773b338
|
File details
Details for the file token_status_list-0.1.0a2.dev0-py3-none-any.whl.
File metadata
- Download URL: token_status_list-0.1.0a2.dev0-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: pdm/2.21.0 CPython/3.9.20 Linux/6.5.0-1025-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3fe06b39059c13e21f17f86057c76a5dbd05a9431888b9476685ec762de7ca30
|
|
| MD5 |
a87c54134e8e411cbdc28bd3bb59c945
|
|
| BLAKE2b-256 |
3b6bf1d76de201c8b0335931de2584fca382d071cce8a58ca41ebf9d219c58a0
|