@xemahq/xema 0.51.0 → 0.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/edition.js +1 -1
- package/dist/commands/edition.js.map +1 -1
- package/dist/edition/verify-image-evidence.bundle.mjs +21 -3
- package/dist/edition/verify-image-evidence.bundle.provenance.json +62 -62
- package/dist/runtime/edition/verb-map.d.ts +1 -0
- package/dist/runtime/edition/verb-map.d.ts.map +1 -1
- package/dist/runtime/edition/verb-map.js +2 -0
- package/dist/runtime/edition/verb-map.js.map +1 -1
- package/edition/README.md +3 -0
- package/edition/assemble-producer-input.mjs +244 -83
- package/edition/assemble-third-party-input.mjs +336 -0
- package/edition/evidence-input-mode.mjs +154 -0
- package/edition/image-evidence.mjs +19 -1
- package/edition/kernel-contract-authority.mjs +10 -2
- package/edition/kernel-package.mjs +13 -0
- package/edition/lib.mjs +51 -37
- package/edition/oci-evidence-verbs.mjs +21 -6
- package/edition/oras.mjs +5 -4
- package/edition/produce-image-source-evidence.mjs +33 -17
- package/edition/registry-credentials.mjs +24 -2
- package/edition/third-party-source-evidence.mjs +8 -1
- package/edition/third-party-source-flags.mjs +1 -1
- package/package.json +2 -2
package/dist/commands/edition.js
CHANGED
|
@@ -20,7 +20,7 @@ const VERB_SUMMARY = {
|
|
|
20
20
|
[verb_map_1.EditionVerb.CheckoutSources]: 'Check out the source repositories the runtime image source index names',
|
|
21
21
|
[verb_map_1.EditionVerb.RepinEvidenceTrust]: 'Pin the data root evidence trust policy and this CLI verifier: xema edition repin-evidence-trust --data-root <dir> --kernel <dir>',
|
|
22
22
|
[verb_map_1.EditionVerb.VerifyEvidence]: 'Verify the signed image evidence of an edition with the pinned verifier bundle: xema edition verify-evidence <id> --evidence-root <dir> --descriptor <path> --state <path> --cosign <path> --git <path> [--json] --data-root <dir> --editions-root <dir> --kernel <dir>',
|
|
23
|
-
[verb_map_1.EditionVerb.Evidence]: `Build, accept and plan image evidence (never signs): xema edition evidence <${Object.values(verb_map_1.EditionEvidenceKind).join('|')}>
|
|
23
|
+
[verb_map_1.EditionVerb.Evidence]: `Build, accept and plan image evidence (never signs): xema edition evidence <${Object.values(verb_map_1.EditionEvidenceKind).join('|')}> …; a third-party publisher's GitHub-hosted refs/heads/main workflow assembles the producer input of one image on public inputs only (this CLI, the @xemahq/contracts it ships, its own checkout at GITHUB_WORKSPACE and registry credentials): xema edition evidence assemble-third-party-input --bundle <oci repository>@sha256:<hex> --contract-authority <file> --image <image repository>@sha256:<hex> --subject-id <component image name> --provenance <absolute exported SLSA v1 predicate> --registry-credentials <file> --output <path> [--ttl-seconds <n>]; it then runs statement producer <stage|accept> and oci <attach-plan|validate> with --contract-authority <file> in place of --data-root/--kernel (public-input mode; the CLI's bundled @xemahq/contracts must be that authority)`,
|
|
24
24
|
[verb_map_1.EditionVerb.List]: 'Print the offering ids of an editions root as JSON: xema edition list --editions-root <dir>',
|
|
25
25
|
[verb_map_1.EditionVerb.Locks]: 'Print the validated locks of an edition as JSON: xema edition locks <id> --channel <release|develop> --data-root <dir> --editions-root <dir> --kernel <dir>',
|
|
26
26
|
[verb_map_1.EditionVerb.ChartSet]: `Pin the chart set of the editions to the charts the registry serves: xema edition chart-set <${Object.values(verb_map_1.EditionChartSetOperation).join('|')}> [--check] --data-root <dir> --editions-root <dir> --kernel <dir>; source-commit prints the commit each publisher closed its locked set at (--data-root, --kernel)`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edition.js","sourceRoot":"","sources":["../../src/commands/edition.ts"],"names":[],"mappings":";;AAqDA,0CAiBC;AAtED,kDAA8D;AAC9D,4DAA8D;AAC9D,0DAA2H;AAW3H,MAAM,YAAY,GAA0C;IAC1D,CAAC,sBAAW,CAAC,OAAO,CAAC,EACnB,0TAA0T;IAC5T,CAAC,sBAAW,CAAC,IAAI,CAAC,EAChB,krBAAkrB;IACprB,CAAC,sBAAW,CAAC,cAAc,CAAC,EAAE,sNAAsN;IACpP,C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M,CAAC,sBAAW,CAAC,aAAa,CAAC,EACzB,uMAAuM;IACzM,CAAC,sBAAW,CAAC,OAAO,CAAC,EACnB,qaAAqa;CACxa,CAAC;AAEF,SAAgB,eAAe,CAAC,OAAgB;IAC9C,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,kCAAkC,CAAC,CAAC;IACvF,KAAK,MAAM,IAAI,IAAI,MAAM,CAAC,MAAM,CAAC,sBAAW,CAAC,EAAE,CAAC;QAC9C,OAAO;aACJ,OAAO,CAAC,IAAI,CAAC;aACb,WAAW,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;aAC/B,QAAQ,CAAC,WAAW,EAAE,0DAA0D,CAAC;aACjF,kBAAkB,EAAE;aACpB,MAAM,CAAC,CAAC,IAAc,EAAE,EAAE;YACzB,IAAI,CAAC;gBACH,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAA,0BAAc,EAAC,IAAI,EAAE,IAAI,CAAC,CAAC;gBAChD,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YACzB,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,IAAA,qBAAQ,EAAC,4BAAe,CAAC,YAAY,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;YACjG,CAAC;QACH,CAAC,CAAC,CAAC;IACP,CAAC;AACH,CAAC"}
|
|
@@ -66635,10 +66635,15 @@ var GIT_SAFE_CONFIG2 = Object.freeze([
|
|
|
66635
66635
|
]);
|
|
66636
66636
|
var GIT_MAX_BUFFER = 1024 * 1024 * 1024;
|
|
66637
66637
|
function exactAuthorityJson(value) {
|
|
66638
|
-
|
|
66638
|
+
try {
|
|
66639
|
+
return canonicalJson(value);
|
|
66640
|
+
} catch {
|
|
66641
|
+
return null;
|
|
66642
|
+
}
|
|
66639
66643
|
}
|
|
66640
66644
|
function assertKernelContractAuthorityEqual(actual, expected, label2) {
|
|
66641
|
-
|
|
66645
|
+
const canonical = exactAuthorityJson(actual);
|
|
66646
|
+
if (canonical === null || canonical !== exactAuthorityJson(expected)) {
|
|
66642
66647
|
throw new Error(
|
|
66643
66648
|
`${label2} does not exactly match kernel contract authority`
|
|
66644
66649
|
);
|
|
@@ -67184,11 +67189,24 @@ function assertTimeWindow({ issuedAt, expiresAt, now, maxTtlSeconds, label: labe
|
|
|
67184
67189
|
if (expires <= instant) {
|
|
67185
67190
|
throw new Error(`${label2} is expired`);
|
|
67186
67191
|
}
|
|
67192
|
+
assertProducerTtlCeiling({ issuedAt, expiresAt, maxTtlSeconds, label: label2 });
|
|
67193
|
+
}
|
|
67194
|
+
function assertProducerTtlCeiling({ issuedAt, expiresAt, maxTtlSeconds, label: label2 }) {
|
|
67195
|
+
if (!Number.isSafeInteger(maxTtlSeconds) || maxTtlSeconds < 1) {
|
|
67196
|
+
throw new Error(`${label2}: the trust policy's TTL ceiling ${String(maxTtlSeconds)} is not a positive integer`);
|
|
67197
|
+
}
|
|
67198
|
+
const issued = Date.parse(issuedAt);
|
|
67199
|
+
const expires = Date.parse(expiresAt);
|
|
67200
|
+
if (![issued, expires].every(Number.isFinite)) {
|
|
67201
|
+
throw new Error(`${label2} has an invalid time`);
|
|
67202
|
+
}
|
|
67187
67203
|
if (expires <= issued) {
|
|
67188
67204
|
throw new Error(`${label2} expiresAt must be after issuedAt`);
|
|
67189
67205
|
}
|
|
67190
67206
|
if (expires - issued > maxTtlSeconds * 1e3) {
|
|
67191
|
-
throw new Error(
|
|
67207
|
+
throw new Error(
|
|
67208
|
+
`${label2} exceeds the trusted maximum TTL (${(expires - issued) / 1e3}s declared, maxProducerTtlSeconds ${maxTtlSeconds})`
|
|
67209
|
+
);
|
|
67192
67210
|
}
|
|
67193
67211
|
}
|
|
67194
67212
|
function sourceIdentity(subject) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"artifactSha256": "sha256:
|
|
3
|
+
"artifactSha256": "sha256:215d464376b9001f286ba3121bb7211bf56585e55a107ccee37e0e7ed10f8d07",
|
|
4
4
|
"esbuild": {
|
|
5
5
|
"version": "0.28.2"
|
|
6
6
|
},
|
|
@@ -2521,343 +2521,343 @@
|
|
|
2521
2521
|
},
|
|
2522
2522
|
{
|
|
2523
2523
|
"package": "@xemahq/xema",
|
|
2524
|
-
"version": "0.
|
|
2524
|
+
"version": "0.52.0",
|
|
2525
2525
|
"path": "edition/adapter-host-versions.mjs",
|
|
2526
2526
|
"sha256": "sha256:1b7ebd3592f4da1225fba74aaba912e7d85fbceeb1626f7dcdac83491cbb4d69"
|
|
2527
2527
|
},
|
|
2528
2528
|
{
|
|
2529
2529
|
"package": "@xemahq/xema",
|
|
2530
|
-
"version": "0.
|
|
2530
|
+
"version": "0.52.0",
|
|
2531
2531
|
"path": "edition/authorization-base.mjs",
|
|
2532
2532
|
"sha256": "sha256:bbeac7ff01376cb89ed2140526d4795d8e559b3f01612b404a701f19aaa24c6a"
|
|
2533
2533
|
},
|
|
2534
2534
|
{
|
|
2535
2535
|
"package": "@xemahq/xema",
|
|
2536
|
-
"version": "0.
|
|
2536
|
+
"version": "0.52.0",
|
|
2537
2537
|
"path": "edition/build-ledger.mjs",
|
|
2538
2538
|
"sha256": "sha256:05202cbdd606aee086c8e9c62d28be68c429653a8b1d73a289ed0fe4ff14da85"
|
|
2539
2539
|
},
|
|
2540
2540
|
{
|
|
2541
2541
|
"package": "@xemahq/xema",
|
|
2542
|
-
"version": "0.
|
|
2542
|
+
"version": "0.52.0",
|
|
2543
2543
|
"path": "edition/canonical-evidence-json.mjs",
|
|
2544
2544
|
"sha256": "sha256:3b32f6786c9fb1c0deadf2f687077356a503b0db766392d2e0254aa1ab78feec"
|
|
2545
2545
|
},
|
|
2546
2546
|
{
|
|
2547
2547
|
"package": "@xemahq/xema",
|
|
2548
|
-
"version": "0.
|
|
2548
|
+
"version": "0.52.0",
|
|
2549
2549
|
"path": "edition/canonical-repository-url.mjs",
|
|
2550
2550
|
"sha256": "sha256:f36e4f7cbe7849789422ec2f0ebce2d62f7dc3684afecc3ac51a32560e72d8a1"
|
|
2551
2551
|
},
|
|
2552
2552
|
{
|
|
2553
2553
|
"package": "@xemahq/xema",
|
|
2554
|
-
"version": "0.
|
|
2554
|
+
"version": "0.52.0",
|
|
2555
2555
|
"path": "edition/connector-source-authority.mjs",
|
|
2556
2556
|
"sha256": "sha256:ea94475f4324737673accd7de1303c44db1cbc4dac61a865a06cd83abe310164"
|
|
2557
2557
|
},
|
|
2558
2558
|
{
|
|
2559
2559
|
"package": "@xemahq/xema",
|
|
2560
|
-
"version": "0.
|
|
2560
|
+
"version": "0.52.0",
|
|
2561
2561
|
"path": "edition/cosign-certificate-constraints.mjs",
|
|
2562
2562
|
"sha256": "sha256:f8776e6095a477d3a6b510df572de804de73d2f5abf4a0fe9040a926dbe42d73"
|
|
2563
2563
|
},
|
|
2564
2564
|
{
|
|
2565
2565
|
"package": "@xemahq/xema",
|
|
2566
|
-
"version": "0.
|
|
2566
|
+
"version": "0.52.0",
|
|
2567
2567
|
"path": "edition/develop-graph.mjs",
|
|
2568
2568
|
"sha256": "sha256:319db77e708dd73a9dd4a81a963d86e52b030cad3346b104c0862af4e38a2237"
|
|
2569
2569
|
},
|
|
2570
2570
|
{
|
|
2571
2571
|
"package": "@xemahq/xema",
|
|
2572
|
-
"version": "0.
|
|
2572
|
+
"version": "0.52.0",
|
|
2573
2573
|
"path": "edition/dispatched-runtime-components.mjs",
|
|
2574
2574
|
"sha256": "sha256:9712823d183a60108cd002b2d36a9e5c0867b9d576dd02825264a18f7b8ece69"
|
|
2575
2575
|
},
|
|
2576
2576
|
{
|
|
2577
2577
|
"package": "@xemahq/xema",
|
|
2578
|
-
"version": "0.
|
|
2578
|
+
"version": "0.52.0",
|
|
2579
2579
|
"path": "edition/distribution-paths.mjs",
|
|
2580
2580
|
"sha256": "sha256:d78a5c8405bc6c25d36fcec61b0030e1fdacac7d528e698adb96f906f4b70279"
|
|
2581
2581
|
},
|
|
2582
2582
|
{
|
|
2583
2583
|
"package": "@xemahq/xema",
|
|
2584
|
-
"version": "0.
|
|
2584
|
+
"version": "0.52.0",
|
|
2585
2585
|
"path": "edition/edition-artifact.mjs",
|
|
2586
2586
|
"sha256": "sha256:4ca19b111d10252a067a6ee135338716ac5b509b56ba3ac475c05e9ea3c4a805"
|
|
2587
2587
|
},
|
|
2588
2588
|
{
|
|
2589
2589
|
"package": "@xemahq/xema",
|
|
2590
|
-
"version": "0.
|
|
2590
|
+
"version": "0.52.0",
|
|
2591
2591
|
"path": "edition/edition-channel.mjs",
|
|
2592
2592
|
"sha256": "sha256:3c0c1564dc50be133cad500452d953353aa5beb703142c05a17bbce8175ba9f3"
|
|
2593
2593
|
},
|
|
2594
2594
|
{
|
|
2595
2595
|
"package": "@xemahq/xema",
|
|
2596
|
-
"version": "0.
|
|
2596
|
+
"version": "0.52.0",
|
|
2597
2597
|
"path": "edition/edition-chart-set.mjs",
|
|
2598
2598
|
"sha256": "sha256:f9f16b58279c8c2619a39c5cc92bdbc334543d1a324304cd5d3b120d66dc8f3a"
|
|
2599
2599
|
},
|
|
2600
2600
|
{
|
|
2601
2601
|
"package": "@xemahq/xema",
|
|
2602
|
-
"version": "0.
|
|
2602
|
+
"version": "0.52.0",
|
|
2603
2603
|
"path": "edition/edition-config.mjs",
|
|
2604
2604
|
"sha256": "sha256:58af55e9a2b36ca23485246d44a295260afa240bcdc0649c697563b36085ddaa"
|
|
2605
2605
|
},
|
|
2606
2606
|
{
|
|
2607
2607
|
"package": "@xemahq/xema",
|
|
2608
|
-
"version": "0.
|
|
2608
|
+
"version": "0.52.0",
|
|
2609
2609
|
"path": "edition/edition-constants.mjs",
|
|
2610
2610
|
"sha256": "sha256:217fa5b1fa25cb50ee4e1b46ea5e086061ff1f44e00198e1dc28f52376f236a0"
|
|
2611
2611
|
},
|
|
2612
2612
|
{
|
|
2613
2613
|
"package": "@xemahq/xema",
|
|
2614
|
-
"version": "0.
|
|
2614
|
+
"version": "0.52.0",
|
|
2615
2615
|
"path": "edition/edition-contract-parse.mjs",
|
|
2616
2616
|
"sha256": "sha256:e2c6e66378f878499f44b62d060ae50197f40757b2044d9ce05290e367dfe21d"
|
|
2617
2617
|
},
|
|
2618
2618
|
{
|
|
2619
2619
|
"package": "@xemahq/xema",
|
|
2620
|
-
"version": "0.
|
|
2620
|
+
"version": "0.52.0",
|
|
2621
2621
|
"path": "edition/edition-contract.json",
|
|
2622
2622
|
"sha256": "sha256:566a17301ad15b94a06fef12b26bbe39e292ed2bf30a2659a9bf07ce5ce487e0"
|
|
2623
2623
|
},
|
|
2624
2624
|
{
|
|
2625
2625
|
"package": "@xemahq/xema",
|
|
2626
|
-
"version": "0.
|
|
2626
|
+
"version": "0.52.0",
|
|
2627
2627
|
"path": "edition/edition-kind.mjs",
|
|
2628
2628
|
"sha256": "sha256:b4f3358ffa81bbafb8c37d158b9e01032a7358c38b9d6e5aca409091f989e47a"
|
|
2629
2629
|
},
|
|
2630
2630
|
{
|
|
2631
2631
|
"package": "@xemahq/xema",
|
|
2632
|
-
"version": "0.
|
|
2632
|
+
"version": "0.52.0",
|
|
2633
2633
|
"path": "edition/edition-protocol.mjs",
|
|
2634
2634
|
"sha256": "sha256:12ef72ab05c6a691edf1e704d38c1ee29a130d34ffa0fb141288b4d3ffaf9ae1"
|
|
2635
2635
|
},
|
|
2636
2636
|
{
|
|
2637
2637
|
"package": "@xemahq/xema",
|
|
2638
|
-
"version": "0.
|
|
2638
|
+
"version": "0.52.0",
|
|
2639
2639
|
"path": "edition/edition-publisher.mjs",
|
|
2640
2640
|
"sha256": "sha256:8803b41067d81acbc35a8974426f606b5b8168b7a9c2581c16586a86f36db50f"
|
|
2641
2641
|
},
|
|
2642
2642
|
{
|
|
2643
2643
|
"package": "@xemahq/xema",
|
|
2644
|
-
"version": "0.
|
|
2644
|
+
"version": "0.52.0",
|
|
2645
2645
|
"path": "edition/edition-source-pins.mjs",
|
|
2646
2646
|
"sha256": "sha256:b141474fff33b06734fb62cd2552752b991c8267bb1c9bccb22a81dd80e91c6c"
|
|
2647
2647
|
},
|
|
2648
2648
|
{
|
|
2649
2649
|
"package": "@xemahq/xema",
|
|
2650
|
-
"version": "0.
|
|
2650
|
+
"version": "0.52.0",
|
|
2651
2651
|
"path": "edition/edition-workspace.mjs",
|
|
2652
2652
|
"sha256": "sha256:892b360f9f80d2308b0b12f9b99658ae06173878d9b71cf5d6fc8bd717b3c86e"
|
|
2653
2653
|
},
|
|
2654
2654
|
{
|
|
2655
2655
|
"package": "@xemahq/xema",
|
|
2656
|
-
"version": "0.
|
|
2656
|
+
"version": "0.52.0",
|
|
2657
2657
|
"path": "edition/evidence-checkout.mjs",
|
|
2658
2658
|
"sha256": "sha256:31fb669769b31de4c6f2b2501bb96959548172ef166e7568edbbfed7f5079a11"
|
|
2659
2659
|
},
|
|
2660
2660
|
{
|
|
2661
2661
|
"package": "@xemahq/xema",
|
|
2662
|
-
"version": "0.
|
|
2662
|
+
"version": "0.52.0",
|
|
2663
2663
|
"path": "edition/evidence-grammars.mjs",
|
|
2664
2664
|
"sha256": "sha256:4bea69437af5a36c139b5b41d0ecf2d1ddcf3f871e10c78e3d351f608eedca3b"
|
|
2665
2665
|
},
|
|
2666
2666
|
{
|
|
2667
2667
|
"package": "@xemahq/xema",
|
|
2668
|
-
"version": "0.
|
|
2668
|
+
"version": "0.52.0",
|
|
2669
2669
|
"path": "edition/evidence-trust-pin.mjs",
|
|
2670
2670
|
"sha256": "sha256:eb46e4d6a79dfac5536b7a439ab9df7dd4b03af369bdcfa9fcdd522aa1aab8dd"
|
|
2671
2671
|
},
|
|
2672
2672
|
{
|
|
2673
2673
|
"package": "@xemahq/xema",
|
|
2674
|
-
"version": "0.
|
|
2674
|
+
"version": "0.52.0",
|
|
2675
2675
|
"path": "edition/first-party-source-ids.mjs",
|
|
2676
2676
|
"sha256": "sha256:20cb1ad7cfb8c6e6686a6be5a51289da4bba76c20b58d9c1b5b6b3813a38dc1c"
|
|
2677
2677
|
},
|
|
2678
2678
|
{
|
|
2679
2679
|
"package": "@xemahq/xema",
|
|
2680
|
-
"version": "0.
|
|
2680
|
+
"version": "0.52.0",
|
|
2681
2681
|
"path": "edition/fulcio-certificate-extensions.mjs",
|
|
2682
2682
|
"sha256": "sha256:6f1f5a8ea110a489f7aff4bfb8e0b2d058919fe3e8ba4a1e5e8396fca24861b7"
|
|
2683
2683
|
},
|
|
2684
2684
|
{
|
|
2685
2685
|
"package": "@xemahq/xema",
|
|
2686
|
-
"version": "0.
|
|
2686
|
+
"version": "0.52.0",
|
|
2687
2687
|
"path": "edition/git-json.mjs",
|
|
2688
2688
|
"sha256": "sha256:d0d25cda0c19007becabc9a2827c3dcf759b295cd0b41596eb4480c9549a1f21"
|
|
2689
2689
|
},
|
|
2690
2690
|
{
|
|
2691
2691
|
"package": "@xemahq/xema",
|
|
2692
|
-
"version": "0.
|
|
2692
|
+
"version": "0.52.0",
|
|
2693
2693
|
"path": "edition/git-source-auth.mjs",
|
|
2694
2694
|
"sha256": "sha256:c1b32aa6f7d59798db58238d632cafeadbd4f07376396a31acdeb5f0ac56dcac"
|
|
2695
2695
|
},
|
|
2696
2696
|
{
|
|
2697
2697
|
"package": "@xemahq/xema",
|
|
2698
|
-
"version": "0.
|
|
2698
|
+
"version": "0.52.0",
|
|
2699
2699
|
"path": "edition/image-delivery-entitlement-descriptor.mjs",
|
|
2700
2700
|
"sha256": "sha256:4726b66116f01bf2523fafe2b7a356591eca8fb5ca6bd8b154dd4821873e921b"
|
|
2701
2701
|
},
|
|
2702
2702
|
{
|
|
2703
2703
|
"package": "@xemahq/xema",
|
|
2704
|
-
"version": "0.
|
|
2704
|
+
"version": "0.52.0",
|
|
2705
2705
|
"path": "edition/image-evidence-replay-state.mjs",
|
|
2706
2706
|
"sha256": "sha256:eba0cf1d38af0ab2f00c5099fa8bc2edc543136ce92f895544d4d284b3d6af0f"
|
|
2707
2707
|
},
|
|
2708
2708
|
{
|
|
2709
2709
|
"package": "@xemahq/xema",
|
|
2710
|
-
"version": "0.
|
|
2710
|
+
"version": "0.52.0",
|
|
2711
2711
|
"path": "edition/image-evidence.mjs",
|
|
2712
|
-
"sha256": "sha256:
|
|
2712
|
+
"sha256": "sha256:204e000df805296a46ba15334fcf2305eeb33bbb8b4322df94b9098d57597d90"
|
|
2713
2713
|
},
|
|
2714
2714
|
{
|
|
2715
2715
|
"package": "@xemahq/xema",
|
|
2716
|
-
"version": "0.
|
|
2716
|
+
"version": "0.52.0",
|
|
2717
2717
|
"path": "edition/kernel-capability-domain.mjs",
|
|
2718
2718
|
"sha256": "sha256:3ecf887dd8d399e91a8285f6f115f6e418fb59bbf3f004539fe65ec667219356"
|
|
2719
2719
|
},
|
|
2720
2720
|
{
|
|
2721
2721
|
"package": "@xemahq/xema",
|
|
2722
|
-
"version": "0.
|
|
2722
|
+
"version": "0.52.0",
|
|
2723
2723
|
"path": "edition/kernel-contract-authority.mjs",
|
|
2724
|
-
"sha256": "sha256:
|
|
2724
|
+
"sha256": "sha256:9de2645dca22274cad9fa68d0364bf57e4de704e9d49a8bbadde0e322ae317df"
|
|
2725
2725
|
},
|
|
2726
2726
|
{
|
|
2727
2727
|
"package": "@xemahq/xema",
|
|
2728
|
-
"version": "0.
|
|
2728
|
+
"version": "0.52.0",
|
|
2729
2729
|
"path": "edition/kernel-contract-source-path-set.mjs",
|
|
2730
2730
|
"sha256": "sha256:bc4756f217d80fd8f802932f47da71ab14e782873fa9fa977002a94e058d8a9e"
|
|
2731
2731
|
},
|
|
2732
2732
|
{
|
|
2733
2733
|
"package": "@xemahq/xema",
|
|
2734
|
-
"version": "0.
|
|
2734
|
+
"version": "0.52.0",
|
|
2735
2735
|
"path": "edition/kernel-package.mjs",
|
|
2736
|
-
"sha256": "sha256:
|
|
2736
|
+
"sha256": "sha256:e97a9491991d8332a4feed14ac48fe393e44d12c63bdfec89fac8b5b4ea2a574"
|
|
2737
2737
|
},
|
|
2738
2738
|
{
|
|
2739
2739
|
"package": "@xemahq/xema",
|
|
2740
|
-
"version": "0.
|
|
2740
|
+
"version": "0.52.0",
|
|
2741
2741
|
"path": "edition/lib.mjs",
|
|
2742
|
-
"sha256": "sha256:
|
|
2742
|
+
"sha256": "sha256:6bb87e53643c885c2da52c6b3e69fffe20adb38227af1323acd3e6b2b7efcd11"
|
|
2743
2743
|
},
|
|
2744
2744
|
{
|
|
2745
2745
|
"package": "@xemahq/xema",
|
|
2746
|
-
"version": "0.
|
|
2746
|
+
"version": "0.52.0",
|
|
2747
2747
|
"path": "edition/no-follow-file.mjs",
|
|
2748
2748
|
"sha256": "sha256:c17bdf5e441f3c079aa06d4b48bbed05cad087855b9ad2a5e6dc43d5ee2b17c3"
|
|
2749
2749
|
},
|
|
2750
2750
|
{
|
|
2751
2751
|
"package": "@xemahq/xema",
|
|
2752
|
-
"version": "0.
|
|
2752
|
+
"version": "0.52.0",
|
|
2753
2753
|
"path": "edition/operation-requirements.mjs",
|
|
2754
2754
|
"sha256": "sha256:82c0fadc5b10c6f60a1258ad685aeb33e58a53c14f83d4b6d468ac71a5e4e7b4"
|
|
2755
2755
|
},
|
|
2756
2756
|
{
|
|
2757
2757
|
"package": "@xemahq/xema",
|
|
2758
|
-
"version": "0.
|
|
2758
|
+
"version": "0.52.0",
|
|
2759
2759
|
"path": "edition/pin-source.mjs",
|
|
2760
2760
|
"sha256": "sha256:32fa918729a83587b4d3bca6e5fe381f5a525397ebc49d52729ec1f8cf216c37"
|
|
2761
2761
|
},
|
|
2762
2762
|
{
|
|
2763
2763
|
"package": "@xemahq/xema",
|
|
2764
|
-
"version": "0.
|
|
2764
|
+
"version": "0.52.0",
|
|
2765
2765
|
"path": "edition/sigstore-bundle-media-type.mjs",
|
|
2766
2766
|
"sha256": "sha256:e0aa5a3992f0385ddbbe69eb0307d642ac428ef516c8394816ac4fd52e0ac39c"
|
|
2767
2767
|
},
|
|
2768
2768
|
{
|
|
2769
2769
|
"package": "@xemahq/xema",
|
|
2770
|
-
"version": "0.
|
|
2770
|
+
"version": "0.52.0",
|
|
2771
2771
|
"path": "edition/source-authority.mjs",
|
|
2772
2772
|
"sha256": "sha256:9c351f60e8ea838f445f89c3709c60b7f13b021b78d6e40eaef91350a793f0ff"
|
|
2773
2773
|
},
|
|
2774
2774
|
{
|
|
2775
2775
|
"package": "@xemahq/xema",
|
|
2776
|
-
"version": "0.
|
|
2776
|
+
"version": "0.52.0",
|
|
2777
2777
|
"path": "edition/strict-json.mjs",
|
|
2778
2778
|
"sha256": "sha256:f95778396df7f38b086f55d2ec4f3b6644a8aeff2b32282a62829145fb544562"
|
|
2779
2779
|
},
|
|
2780
2780
|
{
|
|
2781
2781
|
"package": "@xemahq/xema",
|
|
2782
|
-
"version": "0.
|
|
2782
|
+
"version": "0.52.0",
|
|
2783
2783
|
"path": "edition/string-order.mjs",
|
|
2784
2784
|
"sha256": "sha256:b3210cd273e4b2e01fb8b1a91e28734cd211d4010c080d0ce95f5e5ff631cffb"
|
|
2785
2785
|
},
|
|
2786
2786
|
{
|
|
2787
2787
|
"package": "@xemahq/xema",
|
|
2788
|
-
"version": "0.
|
|
2788
|
+
"version": "0.52.0",
|
|
2789
2789
|
"path": "edition/third-party-admission.mjs",
|
|
2790
2790
|
"sha256": "sha256:7e32f631a8948e2b93a5cfa163390d52d2a8d9ade87a637c7fe1fc6351fe5974"
|
|
2791
2791
|
},
|
|
2792
2792
|
{
|
|
2793
2793
|
"package": "@xemahq/xema",
|
|
2794
|
-
"version": "0.
|
|
2794
|
+
"version": "0.52.0",
|
|
2795
2795
|
"path": "edition/third-party-certificate-extensions.mjs",
|
|
2796
2796
|
"sha256": "sha256:3293267b09452199f605001d8c14070d1c822b77390caee4088e17b059b7b05d"
|
|
2797
2797
|
},
|
|
2798
2798
|
{
|
|
2799
2799
|
"package": "@xemahq/xema",
|
|
2800
|
-
"version": "0.
|
|
2800
|
+
"version": "0.52.0",
|
|
2801
2801
|
"path": "edition/third-party-source-pins.mjs",
|
|
2802
2802
|
"sha256": "sha256:6f12feb9061bd4ea3e5aeab3f369c081ab58da335c0d281e21b250251e1c0dd9"
|
|
2803
2803
|
},
|
|
2804
2804
|
{
|
|
2805
2805
|
"package": "@xemahq/xema",
|
|
2806
|
-
"version": "0.
|
|
2806
|
+
"version": "0.52.0",
|
|
2807
2807
|
"path": "edition/trust-policy-arming.mjs",
|
|
2808
2808
|
"sha256": "sha256:6f6f192118407e71a744087caea988bcf3d33aca9803217bceb8134d7e2b9120"
|
|
2809
2809
|
},
|
|
2810
2810
|
{
|
|
2811
2811
|
"package": "@xemahq/xema",
|
|
2812
|
-
"version": "0.
|
|
2812
|
+
"version": "0.52.0",
|
|
2813
2813
|
"path": "edition/trust-policy-image-ownership.mjs",
|
|
2814
2814
|
"sha256": "sha256:be0c787c6a75124f0143fc0ce3b127a94e3bb7f6aa64e282c91dd84e566e550e"
|
|
2815
2815
|
},
|
|
2816
2816
|
{
|
|
2817
2817
|
"package": "@xemahq/xema",
|
|
2818
|
-
"version": "0.
|
|
2818
|
+
"version": "0.52.0",
|
|
2819
2819
|
"path": "edition/trusted-executable.mjs",
|
|
2820
2820
|
"sha256": "sha256:37d46cdbc999ddd55d4ea8aeed4850ddd1efde89ed7b532f5a2ddec87105d796"
|
|
2821
2821
|
},
|
|
2822
2822
|
{
|
|
2823
2823
|
"package": "@xemahq/xema",
|
|
2824
|
-
"version": "0.
|
|
2824
|
+
"version": "0.52.0",
|
|
2825
2825
|
"path": "edition/verifier-binding.mjs",
|
|
2826
2826
|
"sha256": "sha256:80732658617f5255258c538eeb2383331ec8553b44b58d552b567845a7b916aa"
|
|
2827
2827
|
},
|
|
2828
2828
|
{
|
|
2829
2829
|
"package": "@xemahq/xema",
|
|
2830
|
-
"version": "0.
|
|
2830
|
+
"version": "0.52.0",
|
|
2831
2831
|
"path": "edition/verifier-files.mjs",
|
|
2832
2832
|
"sha256": "sha256:cdd14a20a63f0f194a8abb55680a5a7e3ced1f09f8b210a90d349e655f6de0c0"
|
|
2833
2833
|
},
|
|
2834
2834
|
{
|
|
2835
2835
|
"package": "@xemahq/xema",
|
|
2836
|
-
"version": "0.
|
|
2836
|
+
"version": "0.52.0",
|
|
2837
2837
|
"path": "edition/verifier-provenance.mjs",
|
|
2838
2838
|
"sha256": "sha256:3e2fb8e07cf1f66b8ad6c7ac2555fe3af64ec7abeb07cecbaf1939a18c2b3663"
|
|
2839
2839
|
},
|
|
2840
2840
|
{
|
|
2841
2841
|
"package": "@xemahq/xema",
|
|
2842
|
-
"version": "0.
|
|
2842
|
+
"version": "0.52.0",
|
|
2843
2843
|
"path": "edition/verify-catalogue-evidence.mjs",
|
|
2844
2844
|
"sha256": "sha256:156d0ee39210658ec489609629c5b9cddd3ce5b3938d8980dcf8282ae4be60bb"
|
|
2845
2845
|
},
|
|
2846
2846
|
{
|
|
2847
2847
|
"package": "@xemahq/xema",
|
|
2848
|
-
"version": "0.
|
|
2848
|
+
"version": "0.52.0",
|
|
2849
2849
|
"path": "edition/verify-image-evidence.mjs",
|
|
2850
2850
|
"sha256": "sha256:958360f7889985c48abb048852c5bbba349cd7353ce4b532c4511b4902380fac"
|
|
2851
2851
|
},
|
|
2852
2852
|
{
|
|
2853
2853
|
"package": "@xemahq/xema",
|
|
2854
|
-
"version": "0.
|
|
2854
|
+
"version": "0.52.0",
|
|
2855
2855
|
"path": "edition/workspace-sections.mjs",
|
|
2856
2856
|
"sha256": "sha256:18c28e9fa2a6b7d8589c8434fc6ed9f1e93954d41339813e711ed0fbbcf5c61d"
|
|
2857
2857
|
},
|
|
2858
2858
|
{
|
|
2859
2859
|
"package": "@xemahq/xema",
|
|
2860
|
-
"version": "0.
|
|
2860
|
+
"version": "0.52.0",
|
|
2861
2861
|
"path": "scripts/build-evidence-verifier.mjs",
|
|
2862
2862
|
"sha256": "sha256:5a688d20c47dc88aff37aa0c6cc02daf2c370a5bc610fef8446ce7be222d4c0b"
|
|
2863
2863
|
},
|
|
@@ -31,6 +31,7 @@ export declare enum EditionChartSetOperation {
|
|
|
31
31
|
}
|
|
32
32
|
export declare enum EditionEvidenceKind {
|
|
33
33
|
AssembleInput = "assemble-input",
|
|
34
|
+
AssembleThirdPartyInput = "assemble-third-party-input",
|
|
34
35
|
Statement = "statement",
|
|
35
36
|
AssembleSet = "assemble-set",
|
|
36
37
|
CheckCommitted = "check-committed",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verb-map.d.ts","sourceRoot":"","sources":["../../../src/runtime/edition/verb-map.ts"],"names":[],"mappings":"AAKA,oBAAY,WAAW;IACrB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,cAAc,oBAAoB;IAClC,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,aAAa,mBAAmB;IAChC,GAAG,QAAQ;IACX,eAAe,qBAAqB;IACpC,eAAe,qBAAqB;IACpC,kBAAkB,yBAAyB;IAC3C,cAAc,oBAAoB;IAClC,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,aAAa,mBAAmB;IAChC,QAAQ,cAAc;IACtB,cAAc,oBAAoB;IAClC,MAAM,WAAW;IACjB,GAAG,QAAQ;IACX,KAAK,UAAU;IACf,OAAO,YAAY;CACpB;AAGD,oBAAY,wBAAwB;IAClC,OAAO,YAAY;IACnB,YAAY,kBAAkB;CAC/B;AAGD,oBAAY,mBAAmB;IAC7B,aAAa,mBAAmB;IAChC,SAAS,cAAc;IACvB,WAAW,iBAAiB;IAC5B,cAAc,oBAAoB;IAClC,WAAW,iBAAiB;IAC5B,GAAG,QAAQ;CACZ;AAGD,oBAAY,wBAAwB;IAClC,QAAQ,aAAa;IACrB,YAAY,iBAAiB;IAC7B,WAAW,gBAAgB;IAC3B,SAAS,cAAc;CACxB;AAGD,oBAAY,gBAAgB;IAC1B,KAAK,UAAU;IACf,eAAe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,EAAE,MAAM,CAAC,CAUxH,CAAC;AAGF,eAAO,MAAM,qBAAqB,WAAW,CAAC;AAE9C,eAAO,MAAM,mBAAmB,EAAE,QAAQ,CAAC,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAI1E,CAAC;AAEF,MAAM,WAAW,iBAAiB;IAEhC,QAAQ,CAAC,QAAQ,EAAE,oBAAoB,CAAC;IAExC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAEvB,QAAQ,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,CAAC;CAClC;AAiDD,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,iBAAiB,CAoBtG"}
|
|
@@ -38,6 +38,7 @@ var EditionChartSetOperation;
|
|
|
38
38
|
var EditionEvidenceKind;
|
|
39
39
|
(function (EditionEvidenceKind) {
|
|
40
40
|
EditionEvidenceKind["AssembleInput"] = "assemble-input";
|
|
41
|
+
EditionEvidenceKind["AssembleThirdPartyInput"] = "assemble-third-party-input";
|
|
41
42
|
EditionEvidenceKind["Statement"] = "statement";
|
|
42
43
|
EditionEvidenceKind["AssembleSet"] = "assemble-set";
|
|
43
44
|
EditionEvidenceKind["CheckCommitted"] = "check-committed";
|
|
@@ -100,6 +101,7 @@ exports.EDITION_EVIDENCE_STATEMENT_ENTRY = {
|
|
|
100
101
|
};
|
|
101
102
|
exports.EDITION_EVIDENCE_ENTRY = {
|
|
102
103
|
[EditionEvidenceKind.AssembleInput]: 'assemble-producer-input.mjs',
|
|
104
|
+
[EditionEvidenceKind.AssembleThirdPartyInput]: 'assemble-third-party-input.mjs',
|
|
103
105
|
[EditionEvidenceKind.AssembleSet]: exports.EDITION_EVIDENCE_STATEMENT_ENTRY[EditionEvidenceStatement.Completeness],
|
|
104
106
|
[EditionEvidenceKind.CheckCommitted]: 'check-committed-image-evidence.mjs',
|
|
105
107
|
[EditionEvidenceKind.PlanRefresh]: 'plan-image-evidence-refresh.mjs',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verb-map.js","sourceRoot":"","sources":["../../../src/runtime/edition/verb-map.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"verb-map.js","sourceRoot":"","sources":["../../../src/runtime/edition/verb-map.ts"],"names":[],"mappings":";;;AA+LA,4DAoBC;AA9MD,IAAY,WA0BX;AA1BD,WAAY,WAAW;IACrB,kCAAmB,CAAA;IACnB,4BAAa,CAAA;IACb,iDAAkC,CAAA;IAClC,kCAAmB,CAAA;IACnB,kCAAmB,CAAA;IACnB,oCAAqB,CAAA;IACrB,sCAAuB,CAAA;IACvB,8BAAe,CAAA;IACf,8BAAe,CAAA;IACf,+CAAgC,CAAA;IAChC,0BAAW,CAAA;IACX,mDAAoC,CAAA;IACpC,mDAAoC,CAAA;IACpC,0DAA2C,CAAA;IAC3C,iDAAkC,CAAA;IAClC,oCAAqB,CAAA;IACrB,4BAAa,CAAA;IACb,8BAAe,CAAA;IACf,+CAAgC,CAAA;IAChC,qCAAsB,CAAA;IACtB,iDAAkC,CAAA;IAClC,gCAAiB,CAAA;IACjB,0BAAW,CAAA;IACX,8BAAe,CAAA;IACf,kCAAmB,CAAA;AACrB,CAAC,EA1BW,WAAW,2BAAX,WAAW,QA0BtB;AAGD,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IAClC,+CAAmB,CAAA;IACnB,0DAA8B,CAAA;AAChC,CAAC,EAHW,wBAAwB,wCAAxB,wBAAwB,QAGnC;AAGD,IAAY,mBAQX;AARD,WAAY,mBAAmB;IAC7B,uDAAgC,CAAA;IAChC,6EAAsD,CAAA;IACtD,8CAAuB,CAAA;IACvB,mDAA4B,CAAA;IAC5B,yDAAkC,CAAA;IAClC,mDAA4B,CAAA;IAC5B,kCAAW,CAAA;AACb,CAAC,EARW,mBAAmB,mCAAnB,mBAAmB,QAQ9B;AAGD,IAAY,wBAKX;AALD,WAAY,wBAAwB;IAClC,iDAAqB,CAAA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,QAAQ,EAAE,oBAAoB,CAAC,OAAO,EAAE,KAAK,EAAE,2BAAmB,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;AAClG,CAAC"}
|
package/edition/README.md
CHANGED
|
@@ -89,6 +89,7 @@ xema edition chart-set <resolve|source-commit> ...
|
|
|
89
89
|
xema edition arming --channel <release|develop> --data-root <dir> --kernel <dir>
|
|
90
90
|
xema edition verify-evidence <id> --descriptor <abs path> [--json]
|
|
91
91
|
xema edition evidence <assemble-input|check-committed|plan-refresh|statement|assemble-set|oci> ...
|
|
92
|
+
xema edition evidence assemble-third-party-input --bundle <oci repository>@sha256:<hex> --contract-authority <file> --image <image repository>@sha256:<hex> --subject-id <component image name> --provenance <absolute exported SLSA v1 predicate> --registry-credentials <file> --output <path> [--ttl-seconds <n>] # a third-party publisher's producer input, no root flags (see Third-party sources)
|
|
92
93
|
```
|
|
93
94
|
|
|
94
95
|
Results are JSON on stdout and diagnostics on stderr. Exit 0 is success and 1 is a refusal. `xema edition <verb> --help` names the roots and flags each verb takes.
|
|
@@ -160,6 +161,8 @@ A develop edition does not take the kernel's develop head blindly: `xema edition
|
|
|
160
161
|
## Third-party sources
|
|
161
162
|
|
|
162
163
|
- **Zero-config.** A data root with no `third-party-source-pins.json`, an empty one or an unparsable one has NO third-party source: every `kind: oci` declared source and every third-party image subject is refused, naming the loader's reason. The pin file is the explicit grant; a trust-policy row alone grants nothing. When the file exists, its sha256 is part of the evidence trust pin, so it moves only together with `xema edition repin-evidence-trust`.
|
|
164
|
+
- **Publisher input.** The publisher's own GitHub-hosted workflow, on `refs/heads/main`, assembles the producer input of each image with `xema edition evidence assemble-third-party-input` (usage above), one run per image. It runs on public inputs only: this CLI and the `@xemahq/contracts` it ships (both from npm), the publisher's checkout at `GITHUB_WORKSPACE` (holding `GITHUB_SHA`), its own registry credential declaration (`--registry-credentials`, the `image-registry-credentials.json` format, naming environment variables, never a secret) and the `GITHUB_*` context. It takes no root flag and reads no data root. `--contract-authority` is the kernel contract authority object the vendor's evidence trust pin names; it must be the kernel this CLI ships, so the publisher installs the matching CLI version. The subject is the bundle's (`--bundle`, read by digest) `oci-image` service or worker component named `--subject-id`; `path` is the directory of the one `xema-biome.json` at `GITHUB_SHA` whose hash is the bundle's; `sourceTreeHash` is hashed over the checkout with no cross-repo inputs (publisher-attested); the image is read by digest (`--image`) and must carry its cosign SLSA v1 and SBOM attestations; the builder digests come from the exported predicate (`--provenance`, VCS revision `GITHUB_SHA`). The lifetime is `--ttl-seconds` or the first-party default (72h); the trust policy's `maxProducerTtlSeconds` ceiling is enforced by the vendor's third-party pin writer (`index runtime-image-source --trusted-write --third-party`) and by `verify-evidence`, and the signer rows and image ownership are checked by the pin writer. It refuses unless `RUNNER_ENVIRONMENT` is `github-hosted` and `GITHUB_REF` is `refs/heads/main`. The output is the exact input `xema edition evidence statement producer` accepts.
|
|
165
|
+
- **Publisher evidence (public-input mode).** The rest of the publisher's run uses the same verbs as first party with `--contract-authority <file>` in place of `--data-root`/`--kernel`: `xema edition evidence statement producer stage` (no OIDC), a keyless `cosign attest-blob --new-bundle-format` of each staged statement in an `id-token: write` job, `statement producer accept --cosign <abs path>` (no OIDC), then `oci attach-plan`, `oras attach` and `oci validate`. Passing both modes, or neither, is refused by name. The authority and schemas come from the file and the `@xemahq/contracts` this CLI bundles, through the one resolution `assemble-third-party-input` uses. Accept verifies every bundle's signature but holds cosign to no version: the vendor's admission re-verifies with its pinned cosign. The publisher installs the xema CLI whose bundled `@xemahq/contracts` matches the authority; an authority whose contracts digest is not the bundled one is refused, naming both digests.
|
|
163
166
|
- **Seal.** A third-party image subject is sealed BY DIGEST from its pin: it keeps the publisher's `imageRef`, its platforms are read at `<imageRef>@<manifestDigest>`, and its `contentHash` (the publisher's `sourceTreeHash`) is never used as a tag, a develop coordinate, a cache key or a build-ledger key. It is not a develop-coverage subject and is excluded from the first-party fleet-coordinate verdict. Its producer evidence in the edition's evidence set is the committed evidence the pin records, checked byte for byte against the pin's digests.
|
|
164
167
|
- **Revocation.** A sealed lock keeps its seal-time verdict; there is no expiry machinery. To revoke a source: remove its pin and its trust-policy rows, regenerate the runtime image source index, run `xema edition repin-evidence-trust`, and reseal every edition that includes the biome. An edition already delivered is not recalled.
|
|
165
168
|
- **What this does not prove.**
|