Skip to main content

algovoi-rfc9421-a2a

A2A per-message signing adapter binding the AlgoVoi RFC 9421 signer, verifier, and keyid resolver to the A2A message envelope. Thin glue over three shipped, hardened primitives; no new cryptography.

  • Signs and verifies A2A JSON-RPC requests with RFC 9421 (HTTP Message Signatures) + RFC 9530 (Content-Digest) over application/a2a+json.
  • Resolves the signer keyid with the SSRF-guarded algovoi-rfc9421-keyid resolver (did:key / did:web / HTTPS).
  • Enforces the Sprint A hardening: replay window, single-use nonce, tag anti cross-protocol reuse, and an algorithm allow-list.

Layers

This is the per-message signature layer (does this specific request come from the key holder). It is orthogonal to A2A AgentCard signing (spec 8.4, JWS over the card document) and composes with it.

Trust boundary

Verifying a signature proves the request was signed by the holder of the key that keyid resolves to. It does not by itself prove the sender's identity; that binding is a policy decision the caller owns, normally via the agent's 8.4-signed AgentCard. verify_a2a_request therefore requires expected_keyid, an authorize_keyid predicate, or an explicit require_keyid_authorization=False opt-out. It will not silently trust an attacker-chosen keyid.

Install

pip install algovoi-rfc9421-a2a

Apache-2.0.

Download files

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

Source Distribution

algovoi_rfc9421_a2a-0.1.0.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

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

algovoi_rfc9421_a2a-0.1.0-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file algovoi_rfc9421_a2a-0.1.0.tar.gz.

File metadata

  • Download URL: algovoi_rfc9421_a2a-0.1.0.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for algovoi_rfc9421_a2a-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b50942ee6d02bf27cb89c43d0812d6e718a44677555ffaa28c8ec670e6f943c4
MD5 c351d543df8f089793c1755758aa920c
BLAKE2b-256 2549c6c512dafd4a565563aaa9f5db288898ec4946f690731571699cd1256594

See more details on using hashes here.

File details

Details for the file algovoi_rfc9421_a2a-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for algovoi_rfc9421_a2a-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e9b13ce607fabc7f4a0d49e305d686a96a447f2d3b20e869e92c83a87b264a8a
MD5 7387b3549c832630fba3278334de2e42
BLAKE2b-256 7ea8a1cbac8a0e9b44f5502cb4ec50b11ddcf2bd2c0c4cdc944e413dbcbfb04b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

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