Skip to main content

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 TokenSigner protocol 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.
  • 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

token_status_list-0.1.0a2.dev0.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

token_status_list-0.1.0a2.dev0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

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

Hashes for token_status_list-0.1.0a2.dev0.tar.gz
Algorithm Hash digest
SHA256 522eaa66b88f4df03d2084cb81afa5a44409d913ef8d0076adac2a9805df4285
MD5 469ce2cb988b514df9a5ba2b6fce6d87
BLAKE2b-256 9c97aa49d20f9816743a06bee7d5594c29abd90f3f755926aadf9fe2d773b338

See more details on using hashes here.

File details

Details for the file token_status_list-0.1.0a2.dev0-py3-none-any.whl.

File metadata

File hashes

Hashes for token_status_list-0.1.0a2.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 3fe06b39059c13e21f17f86057c76a5dbd05a9431888b9476685ec762de7ca30
MD5 a87c54134e8e411cbdc28bd3bb59c945
BLAKE2b-256 3b6bf1d76de201c8b0335931de2584fca382d071cce8a58ca41ebf9d219c58a0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page