@intentrax/sdk 1.1.0 → 1.1.1
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/README.md +4 -2
- package/cli/intentrax.mjs +5 -4
- package/package.json +1 -1
- package/trust/production-key-set.json +26 -0
package/README.md
CHANGED
|
@@ -140,8 +140,10 @@ pass the production key set Intentrax publishes with `--trusted-keys <file>`.
|
|
|
140
140
|
(`canonical_payload_json`) and the signature quorum;
|
|
141
141
|
3. checks that the signed payload carries the record's own AEP, so the AEP cannot
|
|
142
142
|
be rewritten after signing even if every outer hash is recomputed;
|
|
143
|
-
4. checks each signer against published key sets: the bundled
|
|
144
|
-
(`trust/
|
|
143
|
+
4. checks each signer against published key sets: the bundled production set
|
|
144
|
+
(`trust/production-key-set.json`, trust-bearing), the bundled sandbox set
|
|
145
|
+
(`trust/sandbox-key-set.json`, not trust-bearing), and any `--trusted-keys` files.
|
|
146
|
+
A revocation in any loaded set wins.
|
|
145
147
|
|
|
146
148
|
| Status | Exit | Meaning |
|
|
147
149
|
|---|---|---|
|
package/cli/intentrax.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import { dirname, isAbsolute, join, relative, resolve } from "node:path";
|
|
|
5
5
|
import { pathToFileURL } from "node:url";
|
|
6
6
|
import { buildAgentGatewayAdmissionEnvelope } from "../index.js";
|
|
7
7
|
|
|
8
|
-
const VERSION = "1.1.
|
|
8
|
+
const VERSION = "1.1.1";
|
|
9
9
|
const ADMISSION_SCHEMA_VERSION = "intentrax.runtime.agent_admission_request/1.0";
|
|
10
10
|
const INIT_SCHEMA_VERSION = "intentrax.onboarding.agent_adapter_init/1.0";
|
|
11
11
|
const ACTION_RECEIPT_SCHEMA_VERSION = "intentrax.onboarding.agent_adapter_action_receipt/1.0";
|
|
@@ -24,7 +24,8 @@ const SIGNATURE_PAYLOAD_VERSION = "intentrax.trust.signature_payload/1.0";
|
|
|
24
24
|
const SIGNATURE_PAYLOAD_FIELDS = Object.freeze(["payload_version", "canonical_aep_json", "aep_hash"]);
|
|
25
25
|
const PUBLISHED_KEY_SET_SCHEMA_VERSION = "intentrax.trust.published_key_set/1.0";
|
|
26
26
|
const BUILT_IN_KEY_SET_URLS = Object.freeze([
|
|
27
|
-
// Published production signer keys (trust-bearing),
|
|
27
|
+
// Published production signer keys (trust-bearing), exported from the production
|
|
28
|
+
// keyring with engine/cmd/sovereign-public-key-set.
|
|
28
29
|
new URL("../trust/production-key-set.json", import.meta.url),
|
|
29
30
|
// Published sandbox keys (not trust-bearing).
|
|
30
31
|
new URL("../trust/sandbox-key-set.json", import.meta.url),
|
|
@@ -1393,8 +1394,8 @@ function validateSignerRoster(bundle, signatureBundle, quorum, payload) {
|
|
|
1393
1394
|
}
|
|
1394
1395
|
|
|
1395
1396
|
// A published key set pins who may sign: production keys (trust_bearing) or
|
|
1396
|
-
// sandbox keys (not trust-bearing). The SDK ships
|
|
1397
|
-
//
|
|
1397
|
+
// sandbox keys (not trust-bearing). The SDK ships both published sets; extra sets
|
|
1398
|
+
// (or revocations) can be supplied with --trusted-keys.
|
|
1398
1399
|
function loadPublishedKeySets(trustedKeyPaths) {
|
|
1399
1400
|
const sets = [];
|
|
1400
1401
|
for (const url of BUILT_IN_KEY_SET_URLS) {
|
package/package.json
CHANGED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"issuer": "Intentrax",
|
|
3
|
+
"key_set_id": "intentrax-production-beta",
|
|
4
|
+
"keys": [
|
|
5
|
+
{
|
|
6
|
+
"algorithm": "ED25519",
|
|
7
|
+
"environment": "production",
|
|
8
|
+
"key_id": "runtime-sovereign-proof-key-a",
|
|
9
|
+
"key_version": "v1",
|
|
10
|
+
"public_key_material": "cca8a59628ffe97d9b27a1946385c3b44493be7145498f6019c65aeaef3ab82c",
|
|
11
|
+
"status": "ACTIVE",
|
|
12
|
+
"trust_bearing": true
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"algorithm": "ED25519",
|
|
16
|
+
"environment": "production",
|
|
17
|
+
"key_id": "runtime-sovereign-proof-key-b",
|
|
18
|
+
"key_version": "v1",
|
|
19
|
+
"public_key_material": "b9c4170f3dbf862af8cff05e96b41ca377660f32c714de837b98bff02c3303b1",
|
|
20
|
+
"status": "ACTIVE",
|
|
21
|
+
"trust_bearing": true
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"published_at": "2026-11-12T13:55:49Z",
|
|
25
|
+
"schema_version": "intentrax.trust.published_key_set/1.0"
|
|
26
|
+
}
|