wasmCloud / wasmcloud-otp

wasmCloud host runtime that leverages Elixir/OTP and Rust to provide simple, secure, distributed application development using the actor model
Apache License 2.0
228 stars 48 forks source link

Add OCI download capability to the native library #43

Closed autodidaddict closed 3 years ago

autodidaddict commented 3 years ago

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.

autodidaddict commented 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: