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.dev1.tar.gz (15.4 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.dev1-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file token_status_list-0.1.0a2.dev1.tar.gz.

File metadata

  • Download URL: token_status_list-0.1.0a2.dev1.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.22.0 CPython/3.9.20 Linux/6.5.0-1025-azure

File hashes

Hashes for token_status_list-0.1.0a2.dev1.tar.gz
Algorithm Hash digest
SHA256 b5e81eab28dbc7190b79ae05eced7640c79b6bc43024be52703849b71b0b8321
MD5 565a5b699ebe8750e3792ad2fc6545d9
BLAKE2b-256 5f0638c342c47e07d3d8b50ca403ad0b985ae891a16fb03e4c7c816bcee46015

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for token_status_list-0.1.0a2.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 ecbd4bc44ad7e2c3fbb777607a6491d972daef9cf4a2e8bcceb7b43f732a9808
MD5 7ad3901ccc3ee3cb730228c5eb4a4ca5
BLAKE2b-256 eeddb3902f2ea6dc99fa1b574227b73646be4a40dc1cb75eacc37143de08a33e

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