Skip to main content

vaid-pop

Canonical Python proof-of-possession (PoP) request signer for the VAID standard.

This is the single Python definition of the PoP signing contract. A VAID-bound request carries a fresh, replay-protected Ed25519 signature; this package builds the four x-synthera-* headers that carry it. Import it directly — no extra runtime, no framework.

from vaid_pop import RequestSigner

signer = RequestSigner(vaid=vaid_doc, private_key=agent_key)
headers = signer.sign_headers("POST", "/vaid/mint", body_bytes)
# -> {"x-synthera-vaid": ..., "x-synthera-timestamp": ...,
#     "x-synthera-nonce": ..., "x-synthera-signature": ...}

The x-synthera-* header names are the VAID wire contract — the prefix is the fixed header namespace a conforming verifier reads, not a package dependency.

Install

pip install vaid-pop

(From a repo checkout: cd python/vaid-pop && pip install .)

The firewall

Cross-language byte-identity is the whole point. The signer is locked against the frozen cross-language vector (vendored here at vaid_pop/vectors/operator_pop_v1.json), which the Rust client (vaid-client) and the verifier (vaid_pop) assert against too. The pop-conformance CI job proves Rust output == Python output == vector byte-for-byte. A mismatch is a hard blocker.

Contract: RFC 8785 (JCS) over the camelCase RequestAuthPayload → SHA-256 → pure Ed25519 over the 32-byte digest → raw 64-byte signature.

Standardized on rfc8785 for JCS — the byte-for-byte JCS implementation the vector is proven against. Do not substitute another JCS library without re-proving byte-equality.

Relationship to other packages

  • vaid-client (Rust) is the cross-language peer, proven against the same vector.
  • Language-specific agent integrations depend on this package and re-export RequestSigner.
  • Clients consume this directly to authenticate a VAID-bound request.

Download files

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

Source Distribution

vaid_pop-0.2.0.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

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

vaid_pop-0.2.0-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file vaid_pop-0.2.0.tar.gz.

File metadata

  • Download URL: vaid_pop-0.2.0.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for vaid_pop-0.2.0.tar.gz
Algorithm Hash digest
SHA256 4bfab5c5862626a3e2d356e2a10badf74a293e0c2fa2db5ddb8d54b5f52fbb67
MD5 141727245744623e6acbfe9a22fc4107
BLAKE2b-256 dc2924f017f6a5bf2fdb18ca92a90fc31b2fda29f04629ffe1d36e2e862ae5b4

See more details on using hashes here.

File details

Details for the file vaid_pop-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: vaid_pop-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for vaid_pop-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c9ed36d56160f1d0e565ecec05c6794c678c36f622a0d4b6c691ab7c2323e145
MD5 baff90791c3c00eceb02afb38a9fe3b9
BLAKE2b-256 fe363e8e4f4d2d4dcf0a0bc13d04158264dc10666fe1978a014c5da5d2229c65

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 files

0.1.0

2 files

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