From 37f05142a9e6dacba9889533e4fb1d9038565e34 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 19 Dec 2025 08:29:42 -0800 Subject: [PATCH 1/2] Document that Wasm signatures support 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]: https://github.com/wasm-signatures/wasmsign2/pull/5 --- Signatures.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Signatures.md b/Signatures.md index 5afc02d..bf6e35e 100644 --- a/Signatures.md +++ b/Signatures.md @@ -1,7 +1,9 @@ -# WebAssembly module signatures +# WebAssembly signatures This document describes a digital signature format specifically designed for WebAssembly modules. +It also support [WebAssembly components](https://github.com/WebAssembly/component-model). Everything in this document that refers to "modules" also applies to "components". + It satisfies the following requirements: - It is possible to verify a module before execution. From 06855830522965dae5d6810474681c8d511b296b Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 19 Dec 2025 12:00:20 -0800 Subject: [PATCH 2/2] Add some words to the description about components and sections. --- Signatures.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Signatures.md b/Signatures.md index bf6e35e..a28c5ee 100644 --- a/Signatures.md +++ b/Signatures.md @@ -2,7 +2,7 @@ This document describes a digital signature format specifically designed for WebAssembly modules. -It also support [WebAssembly components](https://github.com/WebAssembly/component-model). Everything in this document that refers to "modules" also applies to "components". +It also supports [WebAssembly components](https://github.com/WebAssembly/component-model). As with modules, everything in components, including nested components, are stored in sections, including custom sections. Consequently, everything in this document that refers to "modules" also applies to "components". It satisfies the following requirements: