Closed autodidaddict closed 3 years ago
Note that when an OCI reference (OCI URL -> public key) is established, it must be published on the appropriate NATS topic. From our in-code docs:
wasmbus.rpc.{prefix}.ref_maps.put
- Publish a reference map, e.g. OCI ref -> PK, call alias -> PKwasmbus.rpc.{prefix}.ref_maps.get
- Query all reference maps (queue subscribed by hosts)
OCI file download (not necessarily the interpretation of said file) is currently available in here: https://github.com/wasmCloud/wasmCloud/blob/main/crates/wasmcloud-host/src/oci.rs
This issue will be considered closed when there is a tested function in a NIF that can download an OCI file by reference and correctly verify its contents. This elixir-wrapped function will then be used as the basis for starting capability providers and actors by OCI reference instead of by supplying raw bytes.