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_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 ๐Ÿ”’
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.