pub fn ensure_service_key_sidecars(
service_dir: &Path,
service_key: &SigningKey,
) -> Result<()>Expand description
Write the public sidecars for a service signing key next to its seed:
SIGNING_KEY_PUB_NAME— the 32-byte Ed25519 verifying key.SERVICE_PUBKEY_HYBRID_NAME— the 1984-byte hybridbootstrap-pubkeysentry (Ed25519 ‖ derived ML-DSA-65) for bootstrap enrollment.
Both are public trust material (mode 0644) derived from the key’s public half only; the seed never appears in either. Idempotent: a sidecar whose content already matches is left untouched.