ksp inspect
DocsCLIksp inspect

ksp inspect

Command Reference

Inspect binary `.cert` files, `ksp.toml` configurations, or `.pcapng` session traces for instant human-readable details.

Protocol Utilities

Purpose

Inspect binary `.cert` files, `ksp.toml` configurations, or `.pcapng` session traces for instant human-readable details.

Syntax

Command-line specification
bash / powershell
ksp inspect <FILE_PATH>

Arguments

ArgumentDescription
<FILE_PATH>Target file to inspect (`.cert`, `.toml`, `.pcapng`).

Example Usage

Example command
ksp inspect server.cert

Expected Output

Certificate File Inspection: server.cert
  Format Version:   KSP Binary Cert v1.0
  Subject Identity: localhost
  Public Key:       Ed25519 (0x7F2A9C4E...)
  Valid From:       2026-07-14T00:00:00Z
  Valid Until:      2027-07-14T00:00:00Z
  Signature Status: SELF_SIGNED (Verified)
Implementation Notes

A universal file inspector that automatically detects KSP file formats by magic byte headers (`KSP`).