Skip to main content

Stand-alone CLI to verify Ed25519-signed audit log records from mcpward gateway.

Project description

mcpward-verify

Stand-alone CLI to verify Ed25519-signed audit log records produced by the mcpward gateway.

Lets you (or any third party) verify that an audit record has not been altered, without contacting the gateway operator.

Install

pipx install mcpward-verify

(Or pip install mcpward-verify if you prefer.)

Usage

# Single record
mcpward-verify --pubkey ed25519.pub --record record.json

# Batch (JSONL, one record per line)
mcpward-verify --pubkey ed25519.pub --batch records.jsonl

# From stdin
cat records.jsonl | mcpward-verify --pubkey ed25519.pub --stdin

# JSON output (for scripting)
mcpward-verify --pubkey ed25519.pub --batch records.jsonl --format json

Public key

The hosted gateway publishes its Ed25519 public key at:

https://mcpward.redfleet.fr/v1/pubkey

Download once, then verify any number of audit records offline.

Exit codes

Code Meaning
0 All records valid
1 One or more records have invalid signatures
2 Usage error (missing file, bad arguments)

Record format

See ../schemas/audit_log_v1.json for the JSON Schema describing the record format.

License

MIT

Project details


Download files

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

Source Distribution

mcpward_verify-0.1.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

mcpward_verify-0.1.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mcpward_verify-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bc2354dfc0d516869c60a0cc790d674966e6e0a5a672458a35bde594f3e2405d
MD5 3bf5ef10f1872edcbc7593c75c4bd9fc
BLAKE2b-256 394c3facfbdd42b58a393572835e85bfbe3715b51d24662d9c05eddd5dadf8cb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mcpward_verify-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.8

File hashes

Hashes for mcpward_verify-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f10f50a7127e34dca23698c5d056c88043251b3f7fbc78a311acee9a76f1c4f3
MD5 cdff4abde1b24255ef0cc6152b8acd51
BLAKE2b-256 5ddfaf339629437a78343618bf1d9ae1a8aff9d3bd599eb112e8179b60cfcb0a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page