@openvtc/trust-tasks 0.19.1 → 0.19.3

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.
Files changed (40) hide show
  1. package/CHANGELOG.md +121 -0
  2. package/dist/_shared/components.d.ts +4 -0
  3. package/dist/_shared/components.d.ts.map +1 -1
  4. package/dist/index.d.ts +2 -0
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +2 -0
  7. package/dist/index.js.map +1 -1
  8. package/dist/keys/create/0.1/payload.d.ts +20 -0
  9. package/dist/keys/create/0.1/payload.d.ts.map +1 -1
  10. package/dist/keys/create/0.1/payload.js +10 -0
  11. package/dist/keys/create/0.1/payload.js.map +1 -1
  12. package/dist/keys/export-secret/0.1/payload.d.ts +309 -0
  13. package/dist/keys/export-secret/0.1/payload.d.ts.map +1 -0
  14. package/dist/keys/export-secret/0.1/payload.js +181 -0
  15. package/dist/keys/export-secret/0.1/payload.js.map +1 -0
  16. package/dist/keys/import/0.1/payload.d.ts +20 -0
  17. package/dist/keys/import/0.1/payload.d.ts.map +1 -1
  18. package/dist/keys/import/0.1/payload.js +10 -0
  19. package/dist/keys/import/0.1/payload.js.map +1 -1
  20. package/dist/keys/list/0.1/payload.d.ts +20 -0
  21. package/dist/keys/list/0.1/payload.d.ts.map +1 -1
  22. package/dist/keys/list/0.1/payload.js +10 -0
  23. package/dist/keys/list/0.1/payload.js.map +1 -1
  24. package/dist/keys/set-exportability/0.1/payload.d.ts +560 -0
  25. package/dist/keys/set-exportability/0.1/payload.d.ts.map +1 -0
  26. package/dist/keys/set-exportability/0.1/payload.js +330 -0
  27. package/dist/keys/set-exportability/0.1/payload.js.map +1 -0
  28. package/dist/keys/show/0.1/payload.d.ts +20 -0
  29. package/dist/keys/show/0.1/payload.d.ts.map +1 -1
  30. package/dist/keys/show/0.1/payload.js +10 -0
  31. package/dist/keys/show/0.1/payload.js.map +1 -1
  32. package/package.json +1 -1
  33. package/src/_shared/components.ts +4 -0
  34. package/src/index.ts +2 -0
  35. package/src/keys/create/0.1/payload.ts +10 -0
  36. package/src/keys/export-secret/0.1/payload.ts +227 -0
  37. package/src/keys/import/0.1/payload.ts +10 -0
  38. package/src/keys/list/0.1/payload.ts +10 -0
  39. package/src/keys/set-exportability/0.1/payload.ts +371 -0
  40. package/src/keys/show/0.1/payload.ts +10 -0
@@ -178,6 +178,11 @@ export declare const PAYLOAD_SCHEMA: {
178
178
  readonly maxLength: 256;
179
179
  readonly description: "Optional human-readable label. Operator-facing only; carries no authorization meaning.";
180
180
  };
181
+ readonly exportable: {
182
+ readonly type: "boolean";
183
+ readonly description: "Whether the private half may be released to a caller. `false` means the custodian refuses every export of this key and can only be asked to *use* it — signing, key agreement — so the material never leaves. **Absence means the key may be exported.** That is the permissive reading, and it is deliberate: it is what every record written before this member existed already meant, so a custodian adding the member cannot silently retract access to keys its callers already hold. A consumer MUST NOT infer the converse — absence is not a statement that export was considered and allowed. Marking a key non-exportable does not make it unrecoverable: a custodian's own whole-store backup is a different mechanism from an export to a caller, and this member does not speak to it.";
184
+ readonly $comment: "No JSON Schema `default` is declared here on purpose. A declared default is materialised by the generated bindings — the field becomes non-optional with a serde default — so an absent member reappears as an explicit `true` on re-serialisation, which breaks round-trip idempotence for every record written before this member existed. The permissive reading is stated in prose above, where a binding cannot act on it.";
185
+ };
181
186
  readonly contextId: {
182
187
  readonly type: "string";
183
188
  readonly description: "Scope the key belongs to. **Absence is not 'every scope'** — a key with no context is reachable only by a caller with unrestricted authority over the maintainer, which is the more restrictive reading, and a consumer that treats absence as a wildcard inverts the guarantee.";
@@ -289,6 +294,11 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
289
294
  readonly maxLength: 256;
290
295
  readonly description: "Optional human-readable label. Operator-facing only; carries no authorization meaning.";
291
296
  };
297
+ readonly exportable: {
298
+ readonly type: "boolean";
299
+ readonly description: "Whether the private half may be released to a caller. `false` means the custodian refuses every export of this key and can only be asked to *use* it — signing, key agreement — so the material never leaves. **Absence means the key may be exported.** That is the permissive reading, and it is deliberate: it is what every record written before this member existed already meant, so a custodian adding the member cannot silently retract access to keys its callers already hold. A consumer MUST NOT infer the converse — absence is not a statement that export was considered and allowed. Marking a key non-exportable does not make it unrecoverable: a custodian's own whole-store backup is a different mechanism from an export to a caller, and this member does not speak to it.";
300
+ readonly $comment: "No JSON Schema `default` is declared here on purpose. A declared default is materialised by the generated bindings — the field becomes non-optional with a serde default — so an absent member reappears as an explicit `true` on re-serialisation, which breaks round-trip idempotence for every record written before this member existed. The permissive reading is stated in prose above, where a binding cannot act on it.";
301
+ };
292
302
  readonly contextId: {
293
303
  readonly type: "string";
294
304
  readonly description: "Scope the key belongs to. **Absence is not 'every scope'** — a key with no context is reachable only by a caller with unrestricted authority over the maintainer, which is the more restrictive reading, and a consumer that treats absence as a wildcard inverts the guarantee.";
@@ -451,6 +461,11 @@ export declare const SPEC: {
451
461
  readonly maxLength: 256;
452
462
  readonly description: "Optional human-readable label. Operator-facing only; carries no authorization meaning.";
453
463
  };
464
+ readonly exportable: {
465
+ readonly type: "boolean";
466
+ readonly description: "Whether the private half may be released to a caller. `false` means the custodian refuses every export of this key and can only be asked to *use* it — signing, key agreement — so the material never leaves. **Absence means the key may be exported.** That is the permissive reading, and it is deliberate: it is what every record written before this member existed already meant, so a custodian adding the member cannot silently retract access to keys its callers already hold. A consumer MUST NOT infer the converse — absence is not a statement that export was considered and allowed. Marking a key non-exportable does not make it unrecoverable: a custodian's own whole-store backup is a different mechanism from an export to a caller, and this member does not speak to it.";
467
+ readonly $comment: "No JSON Schema `default` is declared here on purpose. A declared default is materialised by the generated bindings — the field becomes non-optional with a serde default — so an absent member reappears as an explicit `true` on re-serialisation, which breaks round-trip idempotence for every record written before this member existed. The permissive reading is stated in prose above, where a binding cannot act on it.";
468
+ };
454
469
  readonly contextId: {
455
470
  readonly type: "string";
456
471
  readonly description: "Scope the key belongs to. **Absence is not 'every scope'** — a key with no context is reachable only by a caller with unrestricted authority over the maintainer, which is the more restrictive reading, and a consumer that treats absence as a wildcard inverts the guarantee.";
@@ -573,6 +588,11 @@ export declare const RESPONSE_SPEC: {
573
588
  readonly maxLength: 256;
574
589
  readonly description: "Optional human-readable label. Operator-facing only; carries no authorization meaning.";
575
590
  };
591
+ readonly exportable: {
592
+ readonly type: "boolean";
593
+ readonly description: "Whether the private half may be released to a caller. `false` means the custodian refuses every export of this key and can only be asked to *use* it — signing, key agreement — so the material never leaves. **Absence means the key may be exported.** That is the permissive reading, and it is deliberate: it is what every record written before this member existed already meant, so a custodian adding the member cannot silently retract access to keys its callers already hold. A consumer MUST NOT infer the converse — absence is not a statement that export was considered and allowed. Marking a key non-exportable does not make it unrecoverable: a custodian's own whole-store backup is a different mechanism from an export to a caller, and this member does not speak to it.";
594
+ readonly $comment: "No JSON Schema `default` is declared here on purpose. A declared default is materialised by the generated bindings — the field becomes non-optional with a serde default — so an absent member reappears as an explicit `true` on re-serialisation, which breaks round-trip idempotence for every record written before this member existed. The permissive reading is stated in prose above, where a binding cannot act on it.";
595
+ };
576
596
  readonly contextId: {
577
597
  readonly type: "string";
578
598
  readonly description: "Scope the key belongs to. **Absence is not 'every scope'** — a key with no context is reachable only by a caller with unrestricted authority over the maintainer, which is the more restrictive reading, and a consumer that treats absence as a wildcard inverts the guarantee.";
@@ -1 +1 @@
1
- {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../src/keys/create/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAGpG,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;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AC;AAExC,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,EAAG,sDAA+D,CAAC;AAEjG,4EAA4E;AAC5E,MAAM,MAAM,QAAQ,GAAG,yBAAyB,CAAC;AAEjD;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+KjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqI1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
@@ -135,6 +135,11 @@ export const PAYLOAD_SCHEMA = {
135
135
  "maxLength": 256,
136
136
  "description": "Optional human-readable label. Operator-facing only; carries no authorization meaning."
137
137
  },
138
+ "exportable": {
139
+ "type": "boolean",
140
+ "description": "Whether the private half may be released to a caller. `false` means the custodian refuses every export of this key and can only be asked to *use* it — signing, key agreement — so the material never leaves. **Absence means the key may be exported.** That is the permissive reading, and it is deliberate: it is what every record written before this member existed already meant, so a custodian adding the member cannot silently retract access to keys its callers already hold. A consumer MUST NOT infer the converse — absence is not a statement that export was considered and allowed. Marking a key non-exportable does not make it unrecoverable: a custodian's own whole-store backup is a different mechanism from an export to a caller, and this member does not speak to it.",
141
+ "$comment": "No JSON Schema `default` is declared here on purpose. A declared default is materialised by the generated bindings — the field becomes non-optional with a serde default — so an absent member reappears as an explicit `true` on re-serialisation, which breaks round-trip idempotence for every record written before this member existed. The permissive reading is stated in prose above, where a binding cannot act on it."
142
+ },
138
143
  "contextId": {
139
144
  "type": "string",
140
145
  "description": "Scope the key belongs to. **Absence is not 'every scope'** — a key with no context is reachable only by a caller with unrestricted authority over the maintainer, which is the more restrictive reading, and a consumer that treats absence as a wildcard inverts the guarantee."
@@ -265,6 +270,11 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
265
270
  "maxLength": 256,
266
271
  "description": "Optional human-readable label. Operator-facing only; carries no authorization meaning."
267
272
  },
273
+ "exportable": {
274
+ "type": "boolean",
275
+ "description": "Whether the private half may be released to a caller. `false` means the custodian refuses every export of this key and can only be asked to *use* it — signing, key agreement — so the material never leaves. **Absence means the key may be exported.** That is the permissive reading, and it is deliberate: it is what every record written before this member existed already meant, so a custodian adding the member cannot silently retract access to keys its callers already hold. A consumer MUST NOT infer the converse — absence is not a statement that export was considered and allowed. Marking a key non-exportable does not make it unrecoverable: a custodian's own whole-store backup is a different mechanism from an export to a caller, and this member does not speak to it.",
276
+ "$comment": "No JSON Schema `default` is declared here on purpose. A declared default is materialised by the generated bindings — the field becomes non-optional with a serde default — so an absent member reappears as an explicit `true` on re-serialisation, which breaks round-trip idempotence for every record written before this member existed. The permissive reading is stated in prose above, where a binding cannot act on it."
277
+ },
268
278
  "contextId": {
269
279
  "type": "string",
270
280
  "description": "Scope the key belongs to. **Absence is not 'every scope'** — a key with no context is reachable only by a caller with unrestricted authority over the maintainer, which is the more restrictive reading, and a consumer that treats absence as a wildcard inverts the guarantee."
@@ -1 +1 @@
1
- {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../src/keys/create/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAuDH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,6CAAsD,CAAC;AAK/E,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,sDAA+D,CAAC;AAKjG;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,6CAA6C;IACpD,OAAO,EAAE,uBAAuB;IAChC,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,SAAS;KACV;IACD,YAAY,EAAE;QACZ,SAAS,EAAE;YACT,MAAM,EAAE,iBAAiB;YACzB,aAAa,EAAE,wBAAwB;SACxC;QACD,gBAAgB,EAAE;YAChB,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,iXAAiX;SACjY;QACD,OAAO,EAAE;YACP,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,aAAa,EAAE,sgBAAsgB;SACthB;QACD,UAAU,EAAE;YACV,MAAM,EAAE,SAAS;YACjB,aAAa,EAAE,ssCAAssC;SACttC;QACD,UAAU,EAAE;YACV,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,scAAsc;SACtd;QACD,OAAO,EAAE;YACP,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,GAAG;YAChB,aAAa,EAAE,yDAAyD;SACzE;QACD,WAAW,EAAE;YACX,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,iHAAiH;SACjI;QACD,KAAK,EAAE;YACL,MAAM,EAAE,aAAa;YACrB,aAAa,EAAE,yDAAyD;SACzE;KACF;IACD,OAAO,EAAE;QACP,UAAU,EAAE;YACV,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,gCAAgC;YACz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AAI;IACxB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
1
+ {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../src/keys/create/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAuDH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,6CAAsD,CAAC;AAK/E,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,sDAA+D,CAAC;AAKjG;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,6CAA6C;IACpD,OAAO,EAAE,uBAAuB;IAChC,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,SAAS;KACV;IACD,YAAY,EAAE;QACZ,SAAS,EAAE;YACT,MAAM,EAAE,iBAAiB;YACzB,aAAa,EAAE,wBAAwB;SACxC;QACD,gBAAgB,EAAE;YAChB,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,iXAAiX;SACjY;QACD,OAAO,EAAE;YACP,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,aAAa,EAAE,sgBAAsgB;SACthB;QACD,UAAU,EAAE;YACV,MAAM,EAAE,SAAS;YACjB,aAAa,EAAE,ssCAAssC;SACttC;QACD,UAAU,EAAE;YACV,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,scAAsc;SACtd;QACD,OAAO,EAAE;YACP,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,GAAG;YAChB,aAAa,EAAE,yDAAyD;SACzE;QACD,WAAW,EAAE;YACX,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,iHAAiH;SACjI;QACD,KAAK,EAAE;YACL,MAAM,EAAE,aAAa;YACrB,aAAa,EAAE,yDAAyD;SACzE;KACF;IACD,OAAO,EAAE;QACP,UAAU,EAAE;YACV,SAAS,EAAE,UAAU;YACrB,OAAO,E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zB,kBAAkB,EAAE,IAAI;IACxB,aAAa,EAAE,cAAc;CACrB,CAAC;AAEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,OAAO,EAAE,iBAAiB;IAC1B,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,IAAI;IACxB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
@@ -0,0 +1,309 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/keys/export-secret/0.1/payload.schema.json
4
+ */
5
+ import type { Ext, KeyType } from "../../../_shared/components.js";
6
+ /**
7
+ * Names one key whose private half is being asked for. The outer document members (id, type, issuer, recipient, issuedAt, expiresAt, proof) are owned by the framework — SPEC §6.3.
8
+ */
9
+ export interface KeysExportSecretPayload {
10
+ /**
11
+ * The key to release. Custodian-scoped, as everywhere in `keys/*`. One key per request: there is deliberately no list form, so that each release is one decision the custodian can refuse, record and rate-limit on its own terms.
12
+ */
13
+ keyId: string;
14
+ ext?: Ext;
15
+ }
16
+ /**
17
+ * The key material. Failures use trust-task-error, not this shape. Carried in a Trust Task document whose type is https://trusttasks.org/spec/keys/export-secret/0.1#response.
18
+ */
19
+ export interface KeysExportSecretResponsePayload {
20
+ /**
21
+ * The key released, echoed so a consumer can confirm it received the one it named rather than matching on request order.
22
+ */
23
+ keyId: string;
24
+ keyType: KeyType;
25
+ /**
26
+ * The public half, multibase-encoded. Returned alongside the private half so a consumer can check the pair agrees before installing it, rather than deriving the public half and hoping.
27
+ */
28
+ publicKeyMultibase: string;
29
+ /**
30
+ * The private half, multibase-encoded (Base58BTC) over its multicodec-prefixed bytes. The prefix identifies the key material; a consumer decodes by prefix rather than trusting `keyType` alone.
31
+ */
32
+ privateKeyMultibase: string;
33
+ }
34
+ /** Shared definitions this specification references, re-exported under the names it used to declare them with. */
35
+ export type { Ext, KeyType };
36
+ /** Trust Task type URI. */
37
+ export declare const TYPE_URI: "https://trusttasks.org/spec/keys/export-secret/0.1";
38
+ /** Stable alias for this specification's request payload shape. */
39
+ export type Payload = KeysExportSecretPayload;
40
+ /** Trust Task response type URI (request type URI + "#response"). */
41
+ export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/keys/export-secret/0.1#response";
42
+ /** Stable alias for this specification's success-response payload shape. */
43
+ export type Response = KeysExportSecretResponsePayload;
44
+ /**
45
+ * This specification's payload schema, as a value.
46
+ *
47
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
48
+ * rather than only as a `.json` file because TypeScript types are erased
49
+ * at runtime: without a schema a consumer has nothing to validate, and
50
+ * every REQUIRED payload member is optional in practice. Cross-file
51
+ * `$ref`s are already inlined, so it needs no resolver.
52
+ */
53
+ export declare const PAYLOAD_SCHEMA: {
54
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
55
+ readonly $id: "https://trusttasks.org/spec/keys/export-secret/0.1";
56
+ readonly title: "Keys Export Secret — payload";
57
+ readonly description: "Names one key whose private half is being asked for. The outer document members (id, type, issuer, recipient, issuedAt, expiresAt, proof) are owned by the framework — SPEC §6.3.";
58
+ readonly type: "object";
59
+ readonly additionalProperties: false;
60
+ readonly required: readonly ["keyId"];
61
+ readonly properties: {
62
+ readonly keyId: {
63
+ readonly type: "string";
64
+ readonly minLength: 1;
65
+ readonly description: "The key to release. Custodian-scoped, as everywhere in `keys/*`. One key per request: there is deliberately no list form, so that each release is one decision the custodian can refuse, record and rate-limit on its own terms.";
66
+ };
67
+ readonly ext: {
68
+ readonly $ref: "#/$defs/Ext";
69
+ };
70
+ };
71
+ readonly $defs: {
72
+ readonly Response: {
73
+ readonly $anchor: "response";
74
+ readonly title: "Keys Export Secret — response payload";
75
+ readonly type: "object";
76
+ readonly additionalProperties: false;
77
+ readonly required: readonly ["keyId", "keyType", "publicKeyMultibase", "privateKeyMultibase"];
78
+ readonly description: "The key material. Failures use trust-task-error, not this shape. Carried in a Trust Task document whose type is https://trusttasks.org/spec/keys/export-secret/0.1#response.";
79
+ readonly properties: {
80
+ readonly keyId: {
81
+ readonly type: "string";
82
+ readonly minLength: 1;
83
+ readonly description: "The key released, echoed so a consumer can confirm it received the one it named rather than matching on request order.";
84
+ };
85
+ readonly keyType: {
86
+ readonly $ref: "#/$defs/KeyType";
87
+ };
88
+ readonly publicKeyMultibase: {
89
+ readonly type: "string";
90
+ readonly minLength: 1;
91
+ readonly description: "The public half, multibase-encoded. Returned alongside the private half so a consumer can check the pair agrees before installing it, rather than deriving the public half and hoping.";
92
+ };
93
+ readonly privateKeyMultibase: {
94
+ readonly type: "string";
95
+ readonly minLength: 1;
96
+ readonly description: "The private half, multibase-encoded (Base58BTC) over its multicodec-prefixed bytes. The prefix identifies the key material; a consumer decodes by prefix rather than trusting `keyType` alone.";
97
+ };
98
+ };
99
+ };
100
+ readonly KeyType: {
101
+ readonly title: "KeyType";
102
+ readonly type: "string";
103
+ readonly enum: readonly ["ed25519", "x25519", "p256"];
104
+ readonly description: "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256).";
105
+ };
106
+ readonly Ext: {
107
+ readonly title: "Ext";
108
+ readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
109
+ readonly type: "object";
110
+ readonly minProperties: 1;
111
+ readonly additionalProperties: true;
112
+ readonly propertyNames: {
113
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
114
+ };
115
+ };
116
+ };
117
+ };
118
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
119
+ export declare const RESPONSE_PAYLOAD_SCHEMA: {
120
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
121
+ readonly $ref: "#/$defs/Response";
122
+ readonly $defs: {
123
+ readonly Response: {
124
+ readonly $anchor: "response";
125
+ readonly title: "Keys Export Secret — response payload";
126
+ readonly type: "object";
127
+ readonly additionalProperties: false;
128
+ readonly required: readonly ["keyId", "keyType", "publicKeyMultibase", "privateKeyMultibase"];
129
+ readonly description: "The key material. Failures use trust-task-error, not this shape. Carried in a Trust Task document whose type is https://trusttasks.org/spec/keys/export-secret/0.1#response.";
130
+ readonly properties: {
131
+ readonly keyId: {
132
+ readonly type: "string";
133
+ readonly minLength: 1;
134
+ readonly description: "The key released, echoed so a consumer can confirm it received the one it named rather than matching on request order.";
135
+ };
136
+ readonly keyType: {
137
+ readonly $ref: "#/$defs/KeyType";
138
+ };
139
+ readonly publicKeyMultibase: {
140
+ readonly type: "string";
141
+ readonly minLength: 1;
142
+ readonly description: "The public half, multibase-encoded. Returned alongside the private half so a consumer can check the pair agrees before installing it, rather than deriving the public half and hoping.";
143
+ };
144
+ readonly privateKeyMultibase: {
145
+ readonly type: "string";
146
+ readonly minLength: 1;
147
+ readonly description: "The private half, multibase-encoded (Base58BTC) over its multicodec-prefixed bytes. The prefix identifies the key material; a consumer decodes by prefix rather than trusting `keyType` alone.";
148
+ };
149
+ };
150
+ };
151
+ readonly KeyType: {
152
+ readonly title: "KeyType";
153
+ readonly type: "string";
154
+ readonly enum: readonly ["ed25519", "x25519", "p256"];
155
+ readonly description: "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256).";
156
+ };
157
+ readonly Ext: {
158
+ readonly title: "Ext";
159
+ readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
160
+ readonly type: "object";
161
+ readonly minProperties: 1;
162
+ readonly additionalProperties: true;
163
+ readonly propertyNames: {
164
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
165
+ };
166
+ };
167
+ };
168
+ };
169
+ /**
170
+ * SPEC.md §7.2 policy for the request variant, from this specification's
171
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
172
+ * per-specification and cannot be derived from the document alone, and
173
+ * item 2 needs the schema this carries.
174
+ */
175
+ export declare const SPEC: {
176
+ readonly typeUri: "https://trusttasks.org/spec/keys/export-secret/0.1";
177
+ readonly isBearer: false;
178
+ readonly isProofRequired: true;
179
+ readonly isRecipientRequired: true;
180
+ readonly isIssuedAtRequired: true;
181
+ readonly payloadSchema: {
182
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
183
+ readonly $id: "https://trusttasks.org/spec/keys/export-secret/0.1";
184
+ readonly title: "Keys Export Secret — payload";
185
+ readonly description: "Names one key whose private half is being asked for. The outer document members (id, type, issuer, recipient, issuedAt, expiresAt, proof) are owned by the framework — SPEC §6.3.";
186
+ readonly type: "object";
187
+ readonly additionalProperties: false;
188
+ readonly required: readonly ["keyId"];
189
+ readonly properties: {
190
+ readonly keyId: {
191
+ readonly type: "string";
192
+ readonly minLength: 1;
193
+ readonly description: "The key to release. Custodian-scoped, as everywhere in `keys/*`. One key per request: there is deliberately no list form, so that each release is one decision the custodian can refuse, record and rate-limit on its own terms.";
194
+ };
195
+ readonly ext: {
196
+ readonly $ref: "#/$defs/Ext";
197
+ };
198
+ };
199
+ readonly $defs: {
200
+ readonly Response: {
201
+ readonly $anchor: "response";
202
+ readonly title: "Keys Export Secret — response payload";
203
+ readonly type: "object";
204
+ readonly additionalProperties: false;
205
+ readonly required: readonly ["keyId", "keyType", "publicKeyMultibase", "privateKeyMultibase"];
206
+ readonly description: "The key material. Failures use trust-task-error, not this shape. Carried in a Trust Task document whose type is https://trusttasks.org/spec/keys/export-secret/0.1#response.";
207
+ readonly properties: {
208
+ readonly keyId: {
209
+ readonly type: "string";
210
+ readonly minLength: 1;
211
+ readonly description: "The key released, echoed so a consumer can confirm it received the one it named rather than matching on request order.";
212
+ };
213
+ readonly keyType: {
214
+ readonly $ref: "#/$defs/KeyType";
215
+ };
216
+ readonly publicKeyMultibase: {
217
+ readonly type: "string";
218
+ readonly minLength: 1;
219
+ readonly description: "The public half, multibase-encoded. Returned alongside the private half so a consumer can check the pair agrees before installing it, rather than deriving the public half and hoping.";
220
+ };
221
+ readonly privateKeyMultibase: {
222
+ readonly type: "string";
223
+ readonly minLength: 1;
224
+ readonly description: "The private half, multibase-encoded (Base58BTC) over its multicodec-prefixed bytes. The prefix identifies the key material; a consumer decodes by prefix rather than trusting `keyType` alone.";
225
+ };
226
+ };
227
+ };
228
+ readonly KeyType: {
229
+ readonly title: "KeyType";
230
+ readonly type: "string";
231
+ readonly enum: readonly ["ed25519", "x25519", "p256"];
232
+ readonly description: "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256).";
233
+ };
234
+ readonly Ext: {
235
+ readonly title: "Ext";
236
+ readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
237
+ readonly type: "object";
238
+ readonly minProperties: 1;
239
+ readonly additionalProperties: true;
240
+ readonly propertyNames: {
241
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
242
+ };
243
+ };
244
+ };
245
+ };
246
+ };
247
+ /**
248
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
249
+ * tracks the *issuer* party's requirement because a response swaps the
250
+ * parties (§7.3 item 5).
251
+ */
252
+ export declare const RESPONSE_SPEC: {
253
+ readonly typeUri: "https://trusttasks.org/spec/keys/export-secret/0.1#response";
254
+ readonly isBearer: false;
255
+ readonly isProofRequired: true;
256
+ readonly isRecipientRequired: true;
257
+ readonly isIssuedAtRequired: true;
258
+ readonly payloadSchema: {
259
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
260
+ readonly $ref: "#/$defs/Response";
261
+ readonly $defs: {
262
+ readonly Response: {
263
+ readonly $anchor: "response";
264
+ readonly title: "Keys Export Secret — response payload";
265
+ readonly type: "object";
266
+ readonly additionalProperties: false;
267
+ readonly required: readonly ["keyId", "keyType", "publicKeyMultibase", "privateKeyMultibase"];
268
+ readonly description: "The key material. Failures use trust-task-error, not this shape. Carried in a Trust Task document whose type is https://trusttasks.org/spec/keys/export-secret/0.1#response.";
269
+ readonly properties: {
270
+ readonly keyId: {
271
+ readonly type: "string";
272
+ readonly minLength: 1;
273
+ readonly description: "The key released, echoed so a consumer can confirm it received the one it named rather than matching on request order.";
274
+ };
275
+ readonly keyType: {
276
+ readonly $ref: "#/$defs/KeyType";
277
+ };
278
+ readonly publicKeyMultibase: {
279
+ readonly type: "string";
280
+ readonly minLength: 1;
281
+ readonly description: "The public half, multibase-encoded. Returned alongside the private half so a consumer can check the pair agrees before installing it, rather than deriving the public half and hoping.";
282
+ };
283
+ readonly privateKeyMultibase: {
284
+ readonly type: "string";
285
+ readonly minLength: 1;
286
+ readonly description: "The private half, multibase-encoded (Base58BTC) over its multicodec-prefixed bytes. The prefix identifies the key material; a consumer decodes by prefix rather than trusting `keyType` alone.";
287
+ };
288
+ };
289
+ };
290
+ readonly KeyType: {
291
+ readonly title: "KeyType";
292
+ readonly type: "string";
293
+ readonly enum: readonly ["ed25519", "x25519", "p256"];
294
+ readonly description: "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256).";
295
+ };
296
+ readonly Ext: {
297
+ readonly title: "Ext";
298
+ readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
299
+ readonly type: "object";
300
+ readonly minProperties: 1;
301
+ readonly additionalProperties: true;
302
+ readonly propertyNames: {
303
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
304
+ };
305
+ };
306
+ };
307
+ };
308
+ };
309
+ //# sourceMappingURL=payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../src/keys/export-secret/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO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Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/keys/export-secret/0.1/payload.schema.json
4
+ */
5
+ /** Trust Task type URI. */
6
+ export const TYPE_URI = "https://trusttasks.org/spec/keys/export-secret/0.1";
7
+ /** Trust Task response type URI (request type URI + "#response"). */
8
+ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/keys/export-secret/0.1#response";
9
+ /**
10
+ * This specification's payload schema, as a value.
11
+ *
12
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
13
+ * rather than only as a `.json` file because TypeScript types are erased
14
+ * at runtime: without a schema a consumer has nothing to validate, and
15
+ * every REQUIRED payload member is optional in practice. Cross-file
16
+ * `$ref`s are already inlined, so it needs no resolver.
17
+ */
18
+ export const PAYLOAD_SCHEMA = {
19
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
20
+ "$id": "https://trusttasks.org/spec/keys/export-secret/0.1",
21
+ "title": "Keys Export Secret — payload",
22
+ "description": "Names one key whose private half is being asked for. The outer document members (id, type, issuer, recipient, issuedAt, expiresAt, proof) are owned by the framework — SPEC §6.3.",
23
+ "type": "object",
24
+ "additionalProperties": false,
25
+ "required": [
26
+ "keyId"
27
+ ],
28
+ "properties": {
29
+ "keyId": {
30
+ "type": "string",
31
+ "minLength": 1,
32
+ "description": "The key to release. Custodian-scoped, as everywhere in `keys/*`. One key per request: there is deliberately no list form, so that each release is one decision the custodian can refuse, record and rate-limit on its own terms."
33
+ },
34
+ "ext": {
35
+ "$ref": "#/$defs/Ext"
36
+ }
37
+ },
38
+ "$defs": {
39
+ "Response": {
40
+ "$anchor": "response",
41
+ "title": "Keys Export Secret — response payload",
42
+ "type": "object",
43
+ "additionalProperties": false,
44
+ "required": [
45
+ "keyId",
46
+ "keyType",
47
+ "publicKeyMultibase",
48
+ "privateKeyMultibase"
49
+ ],
50
+ "description": "The key material. Failures use trust-task-error, not this shape. Carried in a Trust Task document whose type is https://trusttasks.org/spec/keys/export-secret/0.1#response.",
51
+ "properties": {
52
+ "keyId": {
53
+ "type": "string",
54
+ "minLength": 1,
55
+ "description": "The key released, echoed so a consumer can confirm it received the one it named rather than matching on request order."
56
+ },
57
+ "keyType": {
58
+ "$ref": "#/$defs/KeyType"
59
+ },
60
+ "publicKeyMultibase": {
61
+ "type": "string",
62
+ "minLength": 1,
63
+ "description": "The public half, multibase-encoded. Returned alongside the private half so a consumer can check the pair agrees before installing it, rather than deriving the public half and hoping."
64
+ },
65
+ "privateKeyMultibase": {
66
+ "type": "string",
67
+ "minLength": 1,
68
+ "description": "The private half, multibase-encoded (Base58BTC) over its multicodec-prefixed bytes. The prefix identifies the key material; a consumer decodes by prefix rather than trusting `keyType` alone."
69
+ }
70
+ }
71
+ },
72
+ "KeyType": {
73
+ "title": "KeyType",
74
+ "type": "string",
75
+ "enum": [
76
+ "ed25519",
77
+ "x25519",
78
+ "p256"
79
+ ],
80
+ "description": "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256)."
81
+ },
82
+ "Ext": {
83
+ "title": "Ext",
84
+ "description": "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.",
85
+ "type": "object",
86
+ "minProperties": 1,
87
+ "additionalProperties": true,
88
+ "propertyNames": {
89
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
90
+ }
91
+ }
92
+ }
93
+ };
94
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
95
+ export const RESPONSE_PAYLOAD_SCHEMA = {
96
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
97
+ "$ref": "#/$defs/Response",
98
+ "$defs": {
99
+ "Response": {
100
+ "$anchor": "response",
101
+ "title": "Keys Export Secret — response payload",
102
+ "type": "object",
103
+ "additionalProperties": false,
104
+ "required": [
105
+ "keyId",
106
+ "keyType",
107
+ "publicKeyMultibase",
108
+ "privateKeyMultibase"
109
+ ],
110
+ "description": "The key material. Failures use trust-task-error, not this shape. Carried in a Trust Task document whose type is https://trusttasks.org/spec/keys/export-secret/0.1#response.",
111
+ "properties": {
112
+ "keyId": {
113
+ "type": "string",
114
+ "minLength": 1,
115
+ "description": "The key released, echoed so a consumer can confirm it received the one it named rather than matching on request order."
116
+ },
117
+ "keyType": {
118
+ "$ref": "#/$defs/KeyType"
119
+ },
120
+ "publicKeyMultibase": {
121
+ "type": "string",
122
+ "minLength": 1,
123
+ "description": "The public half, multibase-encoded. Returned alongside the private half so a consumer can check the pair agrees before installing it, rather than deriving the public half and hoping."
124
+ },
125
+ "privateKeyMultibase": {
126
+ "type": "string",
127
+ "minLength": 1,
128
+ "description": "The private half, multibase-encoded (Base58BTC) over its multicodec-prefixed bytes. The prefix identifies the key material; a consumer decodes by prefix rather than trusting `keyType` alone."
129
+ }
130
+ }
131
+ },
132
+ "KeyType": {
133
+ "title": "KeyType",
134
+ "type": "string",
135
+ "enum": [
136
+ "ed25519",
137
+ "x25519",
138
+ "p256"
139
+ ],
140
+ "description": "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256)."
141
+ },
142
+ "Ext": {
143
+ "title": "Ext",
144
+ "description": "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.",
145
+ "type": "object",
146
+ "minProperties": 1,
147
+ "additionalProperties": true,
148
+ "propertyNames": {
149
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
150
+ }
151
+ }
152
+ }
153
+ };
154
+ /**
155
+ * SPEC.md §7.2 policy for the request variant, from this specification's
156
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
157
+ * per-specification and cannot be derived from the document alone, and
158
+ * item 2 needs the schema this carries.
159
+ */
160
+ export const SPEC = {
161
+ typeUri: TYPE_URI,
162
+ isBearer: false,
163
+ isProofRequired: true,
164
+ isRecipientRequired: true,
165
+ isIssuedAtRequired: true,
166
+ payloadSchema: PAYLOAD_SCHEMA,
167
+ };
168
+ /**
169
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
170
+ * tracks the *issuer* party's requirement because a response swaps the
171
+ * parties (§7.3 item 5).
172
+ */
173
+ export const RESPONSE_SPEC = {
174
+ typeUri: RESPONSE_TYPE_URI,
175
+ isBearer: false,
176
+ isProofRequired: true,
177
+ isRecipientRequired: true,
178
+ isIssuedAtRequired: true,
179
+ payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
180
+ };
181
+ //# sourceMappingURL=payload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../src/keys/export-secret/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAqCH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,oDAA6D,CAAC;AAKtF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,6DAAsE,CAAC;AAKxG;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,oDAAoD;IAC3D,OAAO,EAAE,8BAA8B;IACvC,aAAa,EAAE,mLAAmL;IAClM,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,OAAO;KACR;IACD,YAAY,EAAE;QACZ,OAAO,EAAE;YACP,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,aAAa,EAAE,kOAAkO;SAClP;QACD,KAAK,EAAE;YACL,MAAM,EAAE,aAAa;SACtB;KACF;IACD,OAAO,EAAE;QACP,UAAU,EAAE;YACV,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,uCAAuC;YAChD,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,OAAO;gBACP,SAAS;gBACT,oBA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