pilot-protocol/pilot-ca

GitHub: pilot-protocol/pilot-ca

Stars: 0 | Forks: 0

# pilot-ca [![ci](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/96c32e836c145947.svg)](https://github.com/pilot-protocol/pilot-ca/actions/workflows/ci.yml) [![codecov](https://codecov.io/gh/pilot-protocol/pilot-ca/branch/main/graph/badge.svg)](https://codecov.io/gh/pilot-protocol/pilot-ca) [![License: AGPL-3.0](https://img.shields.io/badge/License-AGPL_v3-blue.svg)](https://www.gnu.org/licenses/agpl-3.0) Offline root-CA tooling for the Pilot Protocol. Generates and manages the Ed25519 root certificate that signs beacon WSS leaf certs in compat mode (TLS over port 443). The root **private key is the trust anchor for every compat-mode daemon**. It must never leave the operator's secure machine (Yubikey-backed or air-gapped). This binary is the only production code that touches it. ## Install go install github.com/pilot-protocol/pilot-ca@latest ## Subcommands pilot-ca init-root Generate a fresh Ed25519 root CA keypair + self-signed root cert. Writes /root.key (mode 0600) and /root.crt. The .key file must be moved to offline storage immediately. pilot-ca issue-beacon Sign a leaf cert for a beacon hostname using the root in . Writes /.key and /.crt. ## Operational notes See `docs/RUNBOOK-pilot-ca.md` in the `pilot-protocol/docs` repo for the full procedure: airgap setup, root rotation cadence, key-ceremony witnesses. The CA tooling has a deliberately small surface and rare invocation cadence — every commit here is material to the trust anchor and should be reviewable in isolation. ## License AGPL-3.0-or-later. See [LICENSE](LICENSE).
标签:EVTX分析