Skip to main content

Crate hoike

Crate hoike 

Source

StructsΒ§

Cli πŸ”’

EnumsΒ§

Commands πŸ”’

ConstantsΒ§

URGENT_POLL_SECS πŸ”’
Off-cycle urgent-revocation poll cadence (seconds). When any CA enables urgent_revocation, the loop wakes at min(batch_interval, URGENT_POLL_SECS) and, on the wakes between full passes, checks for newly-revoked serials so a fresh revocation does not wait a whole batch interval to propagate.

FunctionsΒ§

build_preferred_sig_algs_extension πŸ”’
Build the DER-encoded PreferredSignatureAlgorithms extension value.
check_bundles πŸ”’
check_trusted_channels πŸ”’
Validate transport-security posture for the management and inter-component channels (NIAP PPCA FTP_TRP.1 / FTP_ITC.1). Warnings are advisory; a cleartext forward_to without the explicit forward_insecure escape hatch is a hard failure (exit 1), matching how other hoike check gates behave.
decode_b64_field πŸ”’
load_live_signer πŸ”’
main πŸ”’
prepare_signer_material πŸ”’
Renewal runs before startup and every generation; an invalid replacement must never reach bundle publication. Valid external renewals need no command.
run_check πŸ”’
run_import πŸ”’
Offline, recoverable authenticated installation (design Β§S5, audit remediation F05).
run_init_state πŸ”’
Explicitly initialize a fresh state directory (F04). Initialization is the operator’s acknowledgment that the directory is new: an existing state file or any recovery material in the directory is refused. There is no --force reset; recovery means restoring marks and snapshots together.
run_query πŸ”’
run_server πŸ”’
run_sign πŸ”’
run_signer_loop πŸ”’
serve_listener πŸ”’
Serve an axum router on addr, using TLS when tls is Some and the binary was built with --features tls. Falls back to plaintext otherwise (warning if TLS was requested but unavailable). Used for the metrics and admin management listeners; the OCSP data plane is always plaintext.
urgent_revocation_pass πŸ”’
One off-cycle urgent-revocation pass: for each opted-in CA, snapshot the source, diff against the last-known revoked set, and β€” if new revocations appeared β€” produce and reload an off-cycle bundle for just that scope, then announce it (generation + explicit urgent notice) over gossip.