fix(native): remove completed signing capture limitation (#5548)
* fix(native): remove completed signing capture limitation * fix(cli): keep the WASM command timeout optional * fix(cli): preserve WASM timeout help metadata * test(pe): reuse compiled CLI startup for resource acceptance * fix(cli): use upstream exact-optional timeout semantics
This commit is contained in:
1 parent
4c20744f1c
commit
f6e4e0296f
3 files changed
+11
-5
No files matched your search
@@ -45,11 +45,7 @@ export const parseCodeSignature = (
|
||||
entitlements: null,
|
||||
timestamp: values.get("Timestamp") ?? null,
|
||||
hardened_runtime: parseRuntime(values.get("CodeDirectory")),
|
||||
limitations: unsigned
|
||||
? ["Artifact is not signed."]
|
||||
: [
|
||||
"Entitlements and designated requirements require separate bounded commands.",
|
||||
],
|
||||
limitations: unsigned ? ["Artifact is not signed."] : [],
|
||||
});
|
||||
return parsed;
|
||||
};
|
||||
|
||||
@@ -60,7 +60,13 @@ describe.skipIf(process.platform !== "darwin")(
|
||||
authorities: [],
|
||||
entitlements: null,
|
||||
designated_requirement: expect.stringMatching(/^cdhash H"/u),
|
||||
limitations: [
|
||||
expect.stringContaining("trust validation are not examined."),
|
||||
],
|
||||
},
|
||||
limitations: [
|
||||
expect.stringContaining("trust validation are not examined."),
|
||||
],
|
||||
});
|
||||
}
|
||||
const identifier = await cli.run({
|
||||
|
||||
@@ -73,6 +73,10 @@ describe("native signature target identity", () => {
|
||||
expect(result.value.result).toMatchObject({
|
||||
signed: true,
|
||||
identifier: "com.example.fixture",
|
||||
designated_requirement: "identifier com.example.fixture",
|
||||
limitations: [
|
||||
"Inspected a digest-verified Mach-O byte snapshot; filesystem-bound signing context and trust validation are not examined.",
|
||||
],
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user