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.

Metadata

Release files for vaid-pop 0.2.0

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

Source distribution (sdist)

Source distribution for vaid-pop 0.2.0
File Size Uploaded Provenance
vaid_pop-0.2.0.tar.gz 11.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for vaid-pop 0.2.0
File Interpreter ABI Platform
vaid_pop-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 23.9 kB

Release files / vaid_pop-0.2.0.tar.gz

Download URL vaid_pop-0.2.0.tar.gz
Size 11.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4bfab5c5862626a3e2d356e2a10badf74a293e0c2fa2db5ddb8d54b5f52fbb67
BLAKE2b-256 checksum
How to use checksums
dc2924f017f6a5bf2fdb18ca92a90fc31b2fda29f04629ffe1d36e2e862ae5b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Release files / vaid_pop-0.2.0-py3-none-any.whl

Download URL vaid_pop-0.2.0-py3-none-any.whl
Size 12.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c9ed36d56160f1d0e565ecec05c6794c678c36f622a0d4b6c691ab7c2323e145
BLAKE2b-256 checksum
How to use checksums
fe363e8e4f4d2d4dcf0a0bc13d04158264dc10666fe1978a014c5da5d2229c65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Security for vaid-pop 0.2.0

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

0.2.0 This release

2 release files No provenance

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