Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

tba-app-backend-wpt-verifier

TBA · Tigrbl Auth

Checkout: 0.4.0.dev2 Python: >=3.10,<3.16 License: Apache-2.0 Layer: 90 backend apps PyPI version for tba-app-backend-wpt-verifier

Monthly PyPI downloads for tba-app-backend-wpt-verifier Evidence: verification

Deployable delegated WIT/WPT verification with recipient policy and replay protection.

Quick start

from tba_app_backend_wpt_verifier import WptVerifierSettings, build_app

def create_app(trusted_keys, replay_store, authenticate, authorize_verification):
    return build_app(
        WptVerifierSettings(
            audience="https://resource.example.org/work",
            trust_by_domain=trusted_keys,
            required_token_headers=("txn-token",),
        ),
        replay_store=replay_store,
        authenticate=authenticate,
        authorize_verification=authorize_verification,
    )

trusted_keys maps trusted WIMSE subject domains to public issuer JWKs. The deployment supplies caller authentication/authorization and a synchronous atomic ReplayCheckPort store shared by all verifier replicas. No keys are fetched from caller-provided URLs and no default permissive policy or in-memory replay store is selected by this app. Serve the returned TigrblApp with an ASGI runner.

The app composes tba-router-wpt-verification at POST /wpt/verify. See that package's request/response contract. A successful verification consumes the proof's replay identifier. The recipient uses the result for the original request and performs its own resource authorization; this API is not a non-consuming inspection endpoint. A caller must not choose a replacement audience or issuer keys in its request.

Build from the repository root:

uv build --wheel pkgs/90-backend-apps/tba-app-backend-wpt-verifier

Verification

uv run --extra test pytest pkgs/120-tests/tba-tests-workload-composition/tests/test_wit_wpt_services.py

Metadata

Release files for tba-app-backend-wpt-verifier 0.4.0.dev2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tba-app-backend-wpt-verifier 0.4.0.dev2
File Size Uploaded Provenance Actions
tba_app_backend_wpt_verifier-0.4.0.dev2.tar.gz 2.7 kB Without provenance Details for tba_app_backend_wpt_verifier-0.4.0.dev2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tba-app-backend-wpt-verifier 0.4.0.dev2
File Interpreter ABI Platform Actions
tba_app_backend_wpt_verifier-0.4.0.dev2-py3-none-any.whl Python 3 none any Details for tba_app_backend_wpt_verifier-0.4.0.dev2-py3-none-any.whl

Total release size: 6.8 kB

Release files / tba_app_backend_wpt_verifier-0.4.0.dev2.tar.gz

Download URL tba_app_backend_wpt_verifier-0.4.0.dev2.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
69d76bb8c6eb2607f731dfca7bf4f200759bdc775e5f5ef5ff6da9a876542ad4
BLAKE2b-256 checksum
How to use checksums
41043d7ea628bd7b236e05b4fabf88b25ac9bf6f1595aed6e1417a8988da9754
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / tba_app_backend_wpt_verifier-0.4.0.dev2-py3-none-any.whl

Download URL tba_app_backend_wpt_verifier-0.4.0.dev2-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d0e7365383b7bde6ddc2e961e453c75899b1e3f2f7ca83369db70871d53ed2b5
BLAKE2b-256 checksum
How to use checksums
b7b6096f4ad08081644c45a7d1048b3a6119648dabc3ad35cde7612d33007cd4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for tba-app-backend-wpt-verifier 0.4.0.dev2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page