algovoi-tap-verifier
Verify an AlgoVoi TAP receipt offline, with no AlgoVoi software. For the Visa Trusted Agent Protocol ecosystem (trusted-agent-protocol#16, post-authentication receipt signing).
An AlgoVoi TAP receipt is a JCS-canonical (RFC 8785) preimage carrying the two-sided audit fact
(authorization_ref + transaction_hash + timestamp/sequence), a content-addressed receipt_id, an
Ed25519 signature (TAP-native), and optionally a Falcon-1024 post-quantum signature. This
package re-derives receipt_id and checks Ed25519 with only cryptography + rfc8785; install the
pqc extra to also check Falcon-1024.
from algovoi_tap_verifier import verify_tap_receipt
r = verify_tap_receipt(receipt, ed25519_public_key=ed_pub_raw_32_bytes)
assert r.ok
algovoi-tap-verifier receipt.json --ed25519 <b64> # CLI
TAP bilateral receipts (0.2.0)
Also verifies the two-sided shape proposed on
trusted-agent-protocol#16: an
agent-signed authorization receipt plus a merchant-signed outcome receipt, each a
detached JWS over the JCS payload (Ed25519, b64:false), both binding the same TAP request
hash and transaction payload hash, the outcome receipt chained to the authorization. Verified
byte-for-byte against the maintainer's own reference fixtures.
from algovoi_tap_verifier import verify_tap_bilateral
r = verify_tap_bilateral(tap_request=req, authorization=authz, outcome=outcome, keys=keys)
assert r.ok
algovoi-tap-verifier --bilateral --request tap-request.json \
--authz authorization-receipt.json --outcome outcome-receipt.json --keys keys.json
Apache-2.0. Receipt emission (keystone → signed TAP receipts) is a separate commercial AlgoVoi product.
Metadata
Release files for algovoi-tap-verifier 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| algovoi_tap_verifier-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / algovoi_tap_verifier-0.2.1-py3-none-any.whl
| Download URL | algovoi_tap_verifier-0.2.1-py3-none-any.whl |
|---|---|
| Size | 11.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a56fcbb348b093314b166dafebb867f5cd9dc3bc3d1f9b3502345c9931586734
|
|
BLAKE2b-256 checksum How to use checksums |
2bd9be818bf66c3580b08a907a251969bd3310629e24b3c630d78a1be5f15980
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Security for algovoi-tap-verifier 0.2.1
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.