Skip to content

Commit 8894c78

Browse files
committed
fix: add local execution requirement to wasmsign2 for SSH key access
- wasmsign2 signing needs local execution when using SSH keys - ssh_keygen generates keys with 'local: 1' execution requirement - wasmsign2 must run locally to access those keys in CI sandbox - Fixes 'I/O error' in WasmSignForOCI action on macOS CI
1 parent b3a2b85 commit 8894c78

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

wkg/defs.bzl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -999,6 +999,9 @@ def _wasm_component_oci_image_impl(ctx):
999999
outputs = sign_outputs,
10001000
mnemonic = "WasmSignForOCI",
10011001
progress_message = "Signing component for OCI image {}".format(ctx.label),
1002+
execution_requirements = {
1003+
"local": "1", # SSH keys generated locally need local signing access
1004+
},
10021005
)
10031006

10041007
# Create signature info

0 commit comments

Comments
 (0)