pub async fn fetch_all(
base_url: &str,
issuer_pubkey_hex: &str,
) -> Result<Vec<RemotePack>, FetchError>Expand description
Fetch + verify + cache every pack listed at <base_url>/index.json.
base_url is the directory URL (e.g.
https://aiegis.ie/v1/harness/policy-packs/). The function tolerates
trailing-slash variation.
issuer_pubkey_hex is the hex-encoded raw Ed25519 public key the
signatures must verify under. Defaults to
pack_sig::DEFAULT_PACK_ISSUER_PUBKEY_HEX.