Metadata-Version: 2.4
Name: peerward
Version: 0.1.0
Summary: Sign, verify, audit and pin A2A Agent Cards, and fail CI when a peer agent drifts (runs the signed peerward binary)
Author: Breaktrough
License-Expression: Apache-2.0
Project-URL: Homepage, https://github.com/Breaktroughf1/peerward
Project-URL: Source, https://github.com/Breaktroughf1/peerward
Project-URL: Issues, https://github.com/Breaktroughf1/peerward/issues
Keywords: a2a,agent-card,ai-agents,jws,signing,supply-chain-security,security,sarif
Classifier: Environment :: Console
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: Microsoft :: Windows
Classifier: Topic :: Security
Classifier: Topic :: Software Development :: Quality Assurance
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# peerward (PyPI)

Runs [peerward](https://github.com/Breaktroughf1/peerward), which signs, verifies and audits A2A Agent Cards and pins the agents you trust in a `peers.lock`, so a spoofed or drifting peer fails CI.

```sh
uvx peerward audit https://agent.example
uvx peerward lock https://agent.example --jwks keys.json
uvx peerward check
```

or `pipx install peerward` / `pip install peerward`.

This package contains no binary and runs nothing at install time. On first run it downloads the peerward release archive for your platform from GitHub, checks it against the SHA-256 baked into this package (copied from the release's Sigstore-verified `checksums.txt` when the package was built in CI, and published to PyPI with trusted publishing and attestations), extracts only the `peerward` binary into your user cache, and re-checks the binary's hash on every run. A mismatch stops it before anything runs.

The package version matches the peerward version it installs. Exit codes are peerward's: 0 ok, 1 policy failure, 2 usage error, 3 runtime error (including a failed download or checksum mismatch). Other ways to install: Homebrew (`brew install breaktroughf1/tap/peerward`), `go install`, the container image and signed release downloads; see the [README](https://github.com/Breaktroughf1/peerward#install).
