Add support for digital signatures#3726
Conversation
Subscribe to Label Actioncc @peterhuene DetailsThis issue or pull request has been labeled: "wasmtime:api"Thus the following users have been cc'd because of the following labels:
To subscribe or unsubscribe from this label, edit the |
8b704be to
1006d51
Compare
|
Any feedback on this? |
d90d6d6 to
58fedec
Compare
|
The |
088dade to
1a2d40f
Compare
Label Messager: wasmtime:configIt looks like you are changing Wasmtime's configuration options. Make sure to
DetailsTo modify this label's message, edit the To add new label messages or remove existing label messages, edit the |
This adds a new cargo feature flag `digital-signatures` that brings support for signature verification, using the the current proposal for WebAssembly modules signatures. (https://github.com/WebAssembly/tool-conventions/blob/main/Signatures.md) No behavior changes unless the `--experimental-public-keys` option is used with the `run` command. This options accepts one or more public keys, that the entire module must be signed with in order to run.
|
Ping? (no code changes in the rebases, these were just to fix merge conflicts introduced by the memfd work) |
|
I believe that @tschneidereit was previously taking a look at this and I don't know where he left off. I also believe that he's away this week, but I can ping him about this next week when he's back. |
|
Ok I talked with Till and it sounds like y'all mainly talked about the CLI interface and high-level concerns about this being experimental, so I'll focus more on the technical implementation. Overall I'm personally concerned about the implementation of this where very little is in this repository and 99% of this is in an external crate. We do that for crates like
These are some of the more major points at least but I figured it's at least a starting point. In some sense this PR matches how I think one possible way to improve the integration here would be to split the |
This adds a new cargo feature flag
digital-signaturesthat brings support for signature verification, using the the current proposal for WebAssembly modules signatures (https://github.com/WebAssembly/tool-conventions/blob/main/Signatures.md).No behavior changes unless the
--experimental-public-keysoption is used with theruncommand. This options accepts one or more public keys, that the entire module must have been signed with in order to run.