Add a Python port of the KEZ CLI under python/, mirroring the Rust and Node implementations command-for-command and byte-for-byte: - Pure-Python JCS (RFC 8785), BIP-340 Schnorr, and Bech32; cryptography for Ed25519 and zstandard for the compact zstd framing. - Full CLI: identity new, claim create/dns, verify file, and sigchain add/revoke/show/export. Wire Python into crosstest.sh with 35 new scenarios covering Python against both Rust and Node, in every direction, across all wire formats, both key types, DNS proofs, and sigchains (incl. JSONL byte parity). All 55 scenarios pass. Update root README and .gitignore for the new implementation.
19 lines
424 B
Python
19 lines
424 B
Python
#!/usr/bin/env python3
|
|
"""Standalone launcher for the KEZ Python CLI.
|
|
|
|
Lets the cross-implementation test harness invoke the CLI from any working
|
|
directory without installing the package:
|
|
|
|
python/.venv/bin/python python/kez_cli.py <args...>
|
|
"""
|
|
|
|
import os
|
|
import sys
|
|
|
|
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
|
|
|
|
from kez.cli import main # noqa: E402
|
|
|
|
if __name__ == "__main__":
|
|
sys.exit(main())
|