Skip to content

Conversation

@sunfishcode
Copy link
Member

The Wasm signature format described in Signatures.md is general enough to work on components, and there is component support in wasmsign2, so document that the format supports components.

The Wasm signature format described in Signatures.md is general enough
to work on components, and there is [component support in wasmsign2],
so document that the format supports components.

[component support in wasmsign2]: wasm-signatures/wasmsign2#5
@jedisct1
Copy link
Member

wasmsign2’s support for WASI components is untested, undocumented, and fairly rudimentary.

The core idea behind the signature format is to allow verification of subsets of a WebAssembly module, and to permit adding new sections without invalidating existing signatures. In this model, WebAssembly sections are the unit of verification.

I’m not very familiar with WASI components, but my assumption is that you would need the ability to split signatures by component instead of, or in addition to sections. Unless each component is represented as its own dedicated section, in which case the current scheme should work out of the box.

@dgohman-fastly
Copy link

@jedisct1
Copy link
Member

Thanks!

Maybe something worth mentioning in the description.

@sunfishcode
Copy link
Member Author

I've now added a brief mention of how components are organized into sections.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants