@openvtc/trust-tasks 0.24.1 → 0.25.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.
Files changed (51) hide show
  1. package/CHANGELOG.md +95 -0
  2. package/dist/_shared/components.d.ts +55 -2
  3. package/dist/_shared/components.d.ts.map +1 -1
  4. package/dist/device/list/0.1/payload.d.ts +4 -4
  5. package/dist/device/list/0.1/payload.d.ts.map +1 -1
  6. package/dist/device/list/0.1/payload.js +4 -0
  7. package/dist/device/list/0.1/payload.js.map +1 -1
  8. package/dist/device/list/0.2/payload.d.ts +4 -4
  9. package/dist/device/list/0.2/payload.d.ts.map +1 -1
  10. package/dist/device/list/0.2/payload.js +4 -0
  11. package/dist/device/list/0.2/payload.js.map +1 -1
  12. package/dist/device/register/0.1/payload.d.ts +4 -4
  13. package/dist/device/register/0.1/payload.d.ts.map +1 -1
  14. package/dist/device/register/0.1/payload.js +4 -0
  15. package/dist/device/register/0.1/payload.js.map +1 -1
  16. package/dist/device/register/0.2/payload.d.ts +4 -4
  17. package/dist/device/register/0.2/payload.d.ts.map +1 -1
  18. package/dist/device/register/0.2/payload.js +4 -0
  19. package/dist/device/register/0.2/payload.js.map +1 -1
  20. package/dist/index.d.ts +2 -0
  21. package/dist/index.d.ts.map +1 -1
  22. package/dist/index.js +2 -0
  23. package/dist/index.js.map +1 -1
  24. package/dist/keys/sign-csr/0.1/payload.d.ts +729 -0
  25. package/dist/keys/sign-csr/0.1/payload.d.ts.map +1 -0
  26. package/dist/keys/sign-csr/0.1/payload.js +280 -0
  27. package/dist/keys/sign-csr/0.1/payload.js.map +1 -0
  28. package/dist/keys/sign-jws/0.1/payload.d.ts +352 -0
  29. package/dist/keys/sign-jws/0.1/payload.d.ts.map +1 -0
  30. package/dist/keys/sign-jws/0.1/payload.js +207 -0
  31. package/dist/keys/sign-jws/0.1/payload.js.map +1 -0
  32. package/dist/rooms/_shared/0.1/blobs.d.ts +1 -1
  33. package/dist/rooms/_shared/0.1/blobs.d.ts.map +1 -1
  34. package/dist/rooms/info/0.1/payload.d.ts +2 -2
  35. package/dist/rooms/info/0.1/payload.js +2 -2
  36. package/dist/rooms/info/0.1/payload.js.map +1 -1
  37. package/dist/rooms/usage/0.1/payload.d.ts +2 -2
  38. package/dist/rooms/usage/0.1/payload.js +2 -2
  39. package/dist/rooms/usage/0.1/payload.js.map +1 -1
  40. package/package.json +1 -1
  41. package/src/_shared/components.ts +57 -0
  42. package/src/device/list/0.1/payload.ts +4 -0
  43. package/src/device/list/0.2/payload.ts +4 -0
  44. package/src/device/register/0.1/payload.ts +4 -0
  45. package/src/device/register/0.2/payload.ts +4 -0
  46. package/src/index.ts +2 -0
  47. package/src/keys/sign-csr/0.1/payload.ts +646 -0
  48. package/src/keys/sign-jws/0.1/payload.ts +271 -0
  49. package/src/rooms/_shared/0.1/blobs.ts +1 -1
  50. package/src/rooms/info/0.1/payload.ts +2 -2
  51. package/src/rooms/usage/0.1/payload.ts +2 -2
@@ -0,0 +1,352 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/keys/sign-jws/0.1/payload.schema.json
4
+ */
5
+ import type { Ext } from "../../../_shared/components.js";
6
+ /**
7
+ * A request for a compact JWS (RFC 7515) made with a key the custodian holds. The producer supplies the protected header members it wants and the payload; the custodian sets `alg` from the key, serialises both itself, and signs the JWS signing input with no framing of its own. The outer document members (id, type, issuer, recipient, issuedAt, expiresAt, proof) are owned by the framework — SPEC §6.3.
8
+ */
9
+ export type KeysSignJWSPayload = {
10
+ /**
11
+ * Identifier of the key to sign with, as `keys/show` describes it. The key MUST be `active` and of a type with a JOSE signature algorithm.
12
+ */
13
+ keyId: string;
14
+ /**
15
+ * Protected header members the producer wants in the JWS — `typ`, `kid`, `x5c`, `cty`, or a profile's own (swiyu's `profile_version`). Member names and values are JOSE's and the profile's, carried verbatim. The custodian adds `alg` itself and refuses `alg`, `crit`, `b64`, `jwk`, `jku` and `x5u` (see the specification's Conformance section). Absent means a header of `alg` alone.
16
+ */
17
+ header?: {};
18
+ /**
19
+ * The JWS payload, as a JSON object — for an OpenID4VP request object or any other JWT, its claims set. The custodian serialises it (RFC 8785) and base64url-encodes the result. Exactly one of `payload` and `payloadBase64Url` is present.
20
+ */
21
+ payload?: {};
22
+ /**
23
+ * The JWS payload as bytes, for a payload that is not a JSON object, base64url-encoded without padding. The custodian uses this string as the payload segment unchanged, after checking it is the canonical encoding of the bytes it decodes to. Exactly one of `payload` and `payloadBase64Url` is present.
24
+ */
25
+ payloadBase64Url?: string;
26
+ /**
27
+ * Ecosystem-defined extension members per SPEC.md §4.5.1.
28
+ */
29
+ ext?: Ext;
30
+ } & {
31
+ [k: string]: unknown | undefined;
32
+ };
33
+ /**
34
+ * The success response to a keys/sign-jws request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/keys/sign-jws/0.1#response. Failures use trust-task-error, not this shape.
35
+ */
36
+ export interface KeysSignJWSResponsePayload {
37
+ /**
38
+ * The key that produced the signature. Echoed so a response separated from its request is still attributable.
39
+ */
40
+ keyId: string;
41
+ /**
42
+ * The JOSE algorithm the custodian chose from the key's type and wrote into the header: `EdDSA` for `ed25519`, `ES256` for `p256`, `ES256K` for a secp256k1 key, `ML-DSA-44` and `ML-DSA-65` for `mldsa44` and `mldsa65`. Externally owned, carried verbatim.
43
+ */
44
+ alg: "EdDSA" | "ES256" | "ES256K" | "ML-DSA-44" | "ML-DSA-65";
45
+ /**
46
+ * The JWS in compact serialisation: BASE64URL(header) '.' BASE64URL(payload) '.' BASE64URL(signature), unpadded. For ECDSA the signature is the fixed-width `r || s` of RFC 7518 §3.4, not DER.
47
+ */
48
+ jws: string;
49
+ ext?: Ext;
50
+ }
51
+ /** Shared definitions this specification references, re-exported under the names it used to declare them with. */
52
+ export type { Ext };
53
+ /** Trust Task type URI. */
54
+ export declare const TYPE_URI: "https://trusttasks.org/spec/keys/sign-jws/0.1";
55
+ /** Stable alias for this specification's request payload shape. */
56
+ export type Payload = KeysSignJWSPayload;
57
+ /** Trust Task response type URI (request type URI + "#response"). */
58
+ export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/keys/sign-jws/0.1#response";
59
+ /** Stable alias for this specification's success-response payload shape. */
60
+ export type Response = KeysSignJWSResponsePayload;
61
+ /**
62
+ * This specification's payload schema, as a value.
63
+ *
64
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
65
+ * rather than only as a `.json` file because TypeScript types are erased
66
+ * at runtime: without a schema a consumer has nothing to validate, and
67
+ * every REQUIRED payload member is optional in practice. Cross-file
68
+ * `$ref`s are already inlined, so it needs no resolver.
69
+ */
70
+ export declare const PAYLOAD_SCHEMA: {
71
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
72
+ readonly $id: "https://trusttasks.org/spec/keys/sign-jws/0.1";
73
+ readonly title: "Keys — Sign JWS — payload";
74
+ readonly description: "A request for a compact JWS (RFC 7515) made with a key the custodian holds. The producer supplies the protected header members it wants and the payload; the custodian sets `alg` from the key, serialises both itself, and signs the JWS signing input with no framing of its own. The outer document members (id, type, issuer, recipient, issuedAt, expiresAt, proof) are owned by the framework — SPEC §6.3.";
75
+ readonly type: "object";
76
+ readonly additionalProperties: false;
77
+ readonly required: readonly ["keyId"];
78
+ readonly oneOf: readonly [{
79
+ readonly required: readonly ["payload"];
80
+ readonly not: {
81
+ readonly required: readonly ["payloadBase64Url"];
82
+ };
83
+ }, {
84
+ readonly required: readonly ["payloadBase64Url"];
85
+ readonly not: {
86
+ readonly required: readonly ["payload"];
87
+ };
88
+ }];
89
+ readonly properties: {
90
+ readonly keyId: {
91
+ readonly type: "string";
92
+ readonly minLength: 1;
93
+ readonly description: "Identifier of the key to sign with, as `keys/show` describes it. The key MUST be `active` and of a type with a JOSE signature algorithm.";
94
+ };
95
+ readonly header: {
96
+ readonly type: "object";
97
+ readonly maxProperties: 32;
98
+ readonly description: "Protected header members the producer wants in the JWS — `typ`, `kid`, `x5c`, `cty`, or a profile's own (swiyu's `profile_version`). Member names and values are JOSE's and the profile's, carried verbatim. The custodian adds `alg` itself and refuses `alg`, `crit`, `b64`, `jwk`, `jku` and `x5u` (see the specification's Conformance section). Absent means a header of `alg` alone.";
99
+ };
100
+ readonly payload: {
101
+ readonly type: "object";
102
+ readonly description: "The JWS payload, as a JSON object — for an OpenID4VP request object or any other JWT, its claims set. The custodian serialises it (RFC 8785) and base64url-encodes the result. Exactly one of `payload` and `payloadBase64Url` is present.";
103
+ };
104
+ readonly payloadBase64Url: {
105
+ readonly type: "string";
106
+ readonly minLength: 2;
107
+ readonly pattern: "^[A-Za-z0-9_-]+$";
108
+ readonly description: "The JWS payload as bytes, for a payload that is not a JSON object, base64url-encoded without padding. The custodian uses this string as the payload segment unchanged, after checking it is the canonical encoding of the bytes it decodes to. Exactly one of `payload` and `payloadBase64Url` is present.";
109
+ };
110
+ readonly ext: {
111
+ readonly $ref: "#/$defs/Ext";
112
+ readonly description: "Ecosystem-defined extension members per SPEC.md §4.5.1.";
113
+ };
114
+ };
115
+ readonly $defs: {
116
+ readonly Response: {
117
+ readonly $anchor: "response";
118
+ readonly title: "Keys — Sign JWS — response payload";
119
+ readonly description: "The success response to a keys/sign-jws request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/keys/sign-jws/0.1#response. Failures use trust-task-error, not this shape.";
120
+ readonly type: "object";
121
+ readonly additionalProperties: false;
122
+ readonly required: readonly ["keyId", "alg", "jws"];
123
+ readonly properties: {
124
+ readonly keyId: {
125
+ readonly type: "string";
126
+ readonly description: "The key that produced the signature. Echoed so a response separated from its request is still attributable.";
127
+ };
128
+ readonly alg: {
129
+ readonly type: "string";
130
+ readonly enum: readonly ["EdDSA", "ES256", "ES256K", "ML-DSA-44", "ML-DSA-65"];
131
+ readonly description: "The JOSE algorithm the custodian chose from the key's type and wrote into the header: `EdDSA` for `ed25519`, `ES256` for `p256`, `ES256K` for a secp256k1 key, `ML-DSA-44` and `ML-DSA-65` for `mldsa44` and `mldsa65`. Externally owned, carried verbatim.";
132
+ };
133
+ readonly jws: {
134
+ readonly type: "string";
135
+ readonly pattern: "^[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]+$";
136
+ readonly description: "The JWS in compact serialisation: BASE64URL(header) '.' BASE64URL(payload) '.' BASE64URL(signature), unpadded. For ECDSA the signature is the fixed-width `r || s` of RFC 7518 §3.4, not DER.";
137
+ };
138
+ readonly ext: {
139
+ readonly $ref: "#/$defs/Ext";
140
+ };
141
+ };
142
+ };
143
+ readonly Ext: {
144
+ readonly title: "Ext";
145
+ 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.";
146
+ readonly type: "object";
147
+ readonly minProperties: 1;
148
+ readonly additionalProperties: true;
149
+ readonly propertyNames: {
150
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
151
+ };
152
+ };
153
+ };
154
+ };
155
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
156
+ export declare const RESPONSE_PAYLOAD_SCHEMA: {
157
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
158
+ readonly $ref: "#/$defs/Response";
159
+ readonly $defs: {
160
+ readonly Response: {
161
+ readonly $anchor: "response";
162
+ readonly title: "Keys — Sign JWS — response payload";
163
+ readonly description: "The success response to a keys/sign-jws request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/keys/sign-jws/0.1#response. Failures use trust-task-error, not this shape.";
164
+ readonly type: "object";
165
+ readonly additionalProperties: false;
166
+ readonly required: readonly ["keyId", "alg", "jws"];
167
+ readonly properties: {
168
+ readonly keyId: {
169
+ readonly type: "string";
170
+ readonly description: "The key that produced the signature. Echoed so a response separated from its request is still attributable.";
171
+ };
172
+ readonly alg: {
173
+ readonly type: "string";
174
+ readonly enum: readonly ["EdDSA", "ES256", "ES256K", "ML-DSA-44", "ML-DSA-65"];
175
+ readonly description: "The JOSE algorithm the custodian chose from the key's type and wrote into the header: `EdDSA` for `ed25519`, `ES256` for `p256`, `ES256K` for a secp256k1 key, `ML-DSA-44` and `ML-DSA-65` for `mldsa44` and `mldsa65`. Externally owned, carried verbatim.";
176
+ };
177
+ readonly jws: {
178
+ readonly type: "string";
179
+ readonly pattern: "^[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]+$";
180
+ readonly description: "The JWS in compact serialisation: BASE64URL(header) '.' BASE64URL(payload) '.' BASE64URL(signature), unpadded. For ECDSA the signature is the fixed-width `r || s` of RFC 7518 §3.4, not DER.";
181
+ };
182
+ readonly ext: {
183
+ readonly $ref: "#/$defs/Ext";
184
+ };
185
+ };
186
+ };
187
+ readonly Ext: {
188
+ readonly title: "Ext";
189
+ 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.";
190
+ readonly type: "object";
191
+ readonly minProperties: 1;
192
+ readonly additionalProperties: true;
193
+ readonly propertyNames: {
194
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
195
+ };
196
+ };
197
+ };
198
+ };
199
+ /**
200
+ * SPEC.md §7.2 policy for the request variant, from this specification's
201
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
202
+ * per-specification and cannot be derived from the document alone, and
203
+ * item 2 needs the schema this carries.
204
+ */
205
+ export declare const SPEC: {
206
+ readonly typeUri: "https://trusttasks.org/spec/keys/sign-jws/0.1";
207
+ readonly isBearer: false;
208
+ readonly isProofRequired: true;
209
+ readonly isRecipientRequired: true;
210
+ readonly isIssuedAtRequired: true;
211
+ readonly payloadSchema: {
212
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
213
+ readonly $id: "https://trusttasks.org/spec/keys/sign-jws/0.1";
214
+ readonly title: "Keys — Sign JWS — payload";
215
+ readonly description: "A request for a compact JWS (RFC 7515) made with a key the custodian holds. The producer supplies the protected header members it wants and the payload; the custodian sets `alg` from the key, serialises both itself, and signs the JWS signing input with no framing of its own. The outer document members (id, type, issuer, recipient, issuedAt, expiresAt, proof) are owned by the framework — SPEC §6.3.";
216
+ readonly type: "object";
217
+ readonly additionalProperties: false;
218
+ readonly required: readonly ["keyId"];
219
+ readonly oneOf: readonly [{
220
+ readonly required: readonly ["payload"];
221
+ readonly not: {
222
+ readonly required: readonly ["payloadBase64Url"];
223
+ };
224
+ }, {
225
+ readonly required: readonly ["payloadBase64Url"];
226
+ readonly not: {
227
+ readonly required: readonly ["payload"];
228
+ };
229
+ }];
230
+ readonly properties: {
231
+ readonly keyId: {
232
+ readonly type: "string";
233
+ readonly minLength: 1;
234
+ readonly description: "Identifier of the key to sign with, as `keys/show` describes it. The key MUST be `active` and of a type with a JOSE signature algorithm.";
235
+ };
236
+ readonly header: {
237
+ readonly type: "object";
238
+ readonly maxProperties: 32;
239
+ readonly description: "Protected header members the producer wants in the JWS — `typ`, `kid`, `x5c`, `cty`, or a profile's own (swiyu's `profile_version`). Member names and values are JOSE's and the profile's, carried verbatim. The custodian adds `alg` itself and refuses `alg`, `crit`, `b64`, `jwk`, `jku` and `x5u` (see the specification's Conformance section). Absent means a header of `alg` alone.";
240
+ };
241
+ readonly payload: {
242
+ readonly type: "object";
243
+ readonly description: "The JWS payload, as a JSON object — for an OpenID4VP request object or any other JWT, its claims set. The custodian serialises it (RFC 8785) and base64url-encodes the result. Exactly one of `payload` and `payloadBase64Url` is present.";
244
+ };
245
+ readonly payloadBase64Url: {
246
+ readonly type: "string";
247
+ readonly minLength: 2;
248
+ readonly pattern: "^[A-Za-z0-9_-]+$";
249
+ readonly description: "The JWS payload as bytes, for a payload that is not a JSON object, base64url-encoded without padding. The custodian uses this string as the payload segment unchanged, after checking it is the canonical encoding of the bytes it decodes to. Exactly one of `payload` and `payloadBase64Url` is present.";
250
+ };
251
+ readonly ext: {
252
+ readonly $ref: "#/$defs/Ext";
253
+ readonly description: "Ecosystem-defined extension members per SPEC.md §4.5.1.";
254
+ };
255
+ };
256
+ readonly $defs: {
257
+ readonly Response: {
258
+ readonly $anchor: "response";
259
+ readonly title: "Keys — Sign JWS — response payload";
260
+ readonly description: "The success response to a keys/sign-jws request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/keys/sign-jws/0.1#response. Failures use trust-task-error, not this shape.";
261
+ readonly type: "object";
262
+ readonly additionalProperties: false;
263
+ readonly required: readonly ["keyId", "alg", "jws"];
264
+ readonly properties: {
265
+ readonly keyId: {
266
+ readonly type: "string";
267
+ readonly description: "The key that produced the signature. Echoed so a response separated from its request is still attributable.";
268
+ };
269
+ readonly alg: {
270
+ readonly type: "string";
271
+ readonly enum: readonly ["EdDSA", "ES256", "ES256K", "ML-DSA-44", "ML-DSA-65"];
272
+ readonly description: "The JOSE algorithm the custodian chose from the key's type and wrote into the header: `EdDSA` for `ed25519`, `ES256` for `p256`, `ES256K` for a secp256k1 key, `ML-DSA-44` and `ML-DSA-65` for `mldsa44` and `mldsa65`. Externally owned, carried verbatim.";
273
+ };
274
+ readonly jws: {
275
+ readonly type: "string";
276
+ readonly pattern: "^[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]+$";
277
+ readonly description: "The JWS in compact serialisation: BASE64URL(header) '.' BASE64URL(payload) '.' BASE64URL(signature), unpadded. For ECDSA the signature is the fixed-width `r || s` of RFC 7518 §3.4, not DER.";
278
+ };
279
+ readonly ext: {
280
+ readonly $ref: "#/$defs/Ext";
281
+ };
282
+ };
283
+ };
284
+ readonly Ext: {
285
+ readonly title: "Ext";
286
+ 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.";
287
+ readonly type: "object";
288
+ readonly minProperties: 1;
289
+ readonly additionalProperties: true;
290
+ readonly propertyNames: {
291
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
292
+ };
293
+ };
294
+ };
295
+ };
296
+ };
297
+ /**
298
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
299
+ * tracks the *issuer* party's requirement because a response swaps the
300
+ * parties (§7.3 item 5).
301
+ */
302
+ export declare const RESPONSE_SPEC: {
303
+ readonly typeUri: "https://trusttasks.org/spec/keys/sign-jws/0.1#response";
304
+ readonly isBearer: false;
305
+ readonly isProofRequired: false;
306
+ readonly isRecipientRequired: true;
307
+ readonly isIssuedAtRequired: true;
308
+ readonly payloadSchema: {
309
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
310
+ readonly $ref: "#/$defs/Response";
311
+ readonly $defs: {
312
+ readonly Response: {
313
+ readonly $anchor: "response";
314
+ readonly title: "Keys — Sign JWS — response payload";
315
+ readonly description: "The success response to a keys/sign-jws request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/keys/sign-jws/0.1#response. Failures use trust-task-error, not this shape.";
316
+ readonly type: "object";
317
+ readonly additionalProperties: false;
318
+ readonly required: readonly ["keyId", "alg", "jws"];
319
+ readonly properties: {
320
+ readonly keyId: {
321
+ readonly type: "string";
322
+ readonly description: "The key that produced the signature. Echoed so a response separated from its request is still attributable.";
323
+ };
324
+ readonly alg: {
325
+ readonly type: "string";
326
+ readonly enum: readonly ["EdDSA", "ES256", "ES256K", "ML-DSA-44", "ML-DSA-65"];
327
+ readonly description: "The JOSE algorithm the custodian chose from the key's type and wrote into the header: `EdDSA` for `ed25519`, `ES256` for `p256`, `ES256K` for a secp256k1 key, `ML-DSA-44` and `ML-DSA-65` for `mldsa44` and `mldsa65`. Externally owned, carried verbatim.";
328
+ };
329
+ readonly jws: {
330
+ readonly type: "string";
331
+ readonly pattern: "^[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]+$";
332
+ readonly description: "The JWS in compact serialisation: BASE64URL(header) '.' BASE64URL(payload) '.' BASE64URL(signature), unpadded. For ECDSA the signature is the fixed-width `r || s` of RFC 7518 §3.4, not DER.";
333
+ };
334
+ readonly ext: {
335
+ readonly $ref: "#/$defs/Ext";
336
+ };
337
+ };
338
+ };
339
+ readonly Ext: {
340
+ readonly title: "Ext";
341
+ 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.";
342
+ readonly type: "object";
343
+ readonly minProperties: 1;
344
+ readonly additionalProperties: true;
345
+ readonly propertyNames: {
346
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
347
+ };
348
+ };
349
+ };
350
+ };
351
+ };
352
+ //# sourceMappingURL=payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../src/keys/sign-jws/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAG1D;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,CAAC;IACZ;;OAEG;IACH,OAAO,CAAC,EAAE,EAAE,CAAC;IACb;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,GAAG,CAAC,EAAE,GAAG,CAAC;CACX,GAAG;IACF,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,EAAE,OAAO,GAAG,OAAO,GAAG,QAAQ,GAAG,WAAW,GAAG,WAAW,CAAC;IAC9D;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AAED,kHAAkH;AAClH,YAAY,EAAE,GAAG,EAAE,CAAC;AAEpB,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,+CAAwD,CAAC;AAEjF,mEAAmE;AACnE,MAAM,MAAM,OAAO,GAAG,kBAAkB,CAAC;AAEzC,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,EAAG,wDAAiE,CAAC;AAEnG,4EAA4E;AAC5E,MAAM,MAAM,QAAQ,GAAG,0BAA0B,CAAC;AAElD;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2GjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoD1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
@@ -0,0 +1,207 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/keys/sign-jws/0.1/payload.schema.json
4
+ */
5
+ /** Trust Task type URI. */
6
+ export const TYPE_URI = "https://trusttasks.org/spec/keys/sign-jws/0.1";
7
+ /** Trust Task response type URI (request type URI + "#response"). */
8
+ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/keys/sign-jws/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/sign-jws/0.1",
21
+ "title": "Keys — Sign JWS — payload",
22
+ "description": "A request for a compact JWS (RFC 7515) made with a key the custodian holds. The producer supplies the protected header members it wants and the payload; the custodian sets `alg` from the key, serialises both itself, and signs the JWS signing input with no framing of its own. 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
+ "oneOf": [
29
+ {
30
+ "required": [
31
+ "payload"
32
+ ],
33
+ "not": {
34
+ "required": [
35
+ "payloadBase64Url"
36
+ ]
37
+ }
38
+ },
39
+ {
40
+ "required": [
41
+ "payloadBase64Url"
42
+ ],
43
+ "not": {
44
+ "required": [
45
+ "payload"
46
+ ]
47
+ }
48
+ }
49
+ ],
50
+ "properties": {
51
+ "keyId": {
52
+ "type": "string",
53
+ "minLength": 1,
54
+ "description": "Identifier of the key to sign with, as `keys/show` describes it. The key MUST be `active` and of a type with a JOSE signature algorithm."
55
+ },
56
+ "header": {
57
+ "type": "object",
58
+ "maxProperties": 32,
59
+ "description": "Protected header members the producer wants in the JWS — `typ`, `kid`, `x5c`, `cty`, or a profile's own (swiyu's `profile_version`). Member names and values are JOSE's and the profile's, carried verbatim. The custodian adds `alg` itself and refuses `alg`, `crit`, `b64`, `jwk`, `jku` and `x5u` (see the specification's Conformance section). Absent means a header of `alg` alone."
60
+ },
61
+ "payload": {
62
+ "type": "object",
63
+ "description": "The JWS payload, as a JSON object — for an OpenID4VP request object or any other JWT, its claims set. The custodian serialises it (RFC 8785) and base64url-encodes the result. Exactly one of `payload` and `payloadBase64Url` is present."
64
+ },
65
+ "payloadBase64Url": {
66
+ "type": "string",
67
+ "minLength": 2,
68
+ "pattern": "^[A-Za-z0-9_-]+$",
69
+ "description": "The JWS payload as bytes, for a payload that is not a JSON object, base64url-encoded without padding. The custodian uses this string as the payload segment unchanged, after checking it is the canonical encoding of the bytes it decodes to. Exactly one of `payload` and `payloadBase64Url` is present."
70
+ },
71
+ "ext": {
72
+ "$ref": "#/$defs/Ext",
73
+ "description": "Ecosystem-defined extension members per SPEC.md §4.5.1."
74
+ }
75
+ },
76
+ "$defs": {
77
+ "Response": {
78
+ "$anchor": "response",
79
+ "title": "Keys — Sign JWS — response payload",
80
+ "description": "The success response to a keys/sign-jws request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/keys/sign-jws/0.1#response. Failures use trust-task-error, not this shape.",
81
+ "type": "object",
82
+ "additionalProperties": false,
83
+ "required": [
84
+ "keyId",
85
+ "alg",
86
+ "jws"
87
+ ],
88
+ "properties": {
89
+ "keyId": {
90
+ "type": "string",
91
+ "description": "The key that produced the signature. Echoed so a response separated from its request is still attributable."
92
+ },
93
+ "alg": {
94
+ "type": "string",
95
+ "enum": [
96
+ "EdDSA",
97
+ "ES256",
98
+ "ES256K",
99
+ "ML-DSA-44",
100
+ "ML-DSA-65"
101
+ ],
102
+ "description": "The JOSE algorithm the custodian chose from the key's type and wrote into the header: `EdDSA` for `ed25519`, `ES256` for `p256`, `ES256K` for a secp256k1 key, `ML-DSA-44` and `ML-DSA-65` for `mldsa44` and `mldsa65`. Externally owned, carried verbatim."
103
+ },
104
+ "jws": {
105
+ "type": "string",
106
+ "pattern": "^[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]+$",
107
+ "description": "The JWS in compact serialisation: BASE64URL(header) '.' BASE64URL(payload) '.' BASE64URL(signature), unpadded. For ECDSA the signature is the fixed-width `r || s` of RFC 7518 §3.4, not DER."
108
+ },
109
+ "ext": {
110
+ "$ref": "#/$defs/Ext"
111
+ }
112
+ }
113
+ },
114
+ "Ext": {
115
+ "title": "Ext",
116
+ "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.",
117
+ "type": "object",
118
+ "minProperties": 1,
119
+ "additionalProperties": true,
120
+ "propertyNames": {
121
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
122
+ }
123
+ }
124
+ }
125
+ };
126
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
127
+ export const RESPONSE_PAYLOAD_SCHEMA = {
128
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
129
+ "$ref": "#/$defs/Response",
130
+ "$defs": {
131
+ "Response": {
132
+ "$anchor": "response",
133
+ "title": "Keys — Sign JWS — response payload",
134
+ "description": "The success response to a keys/sign-jws request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/keys/sign-jws/0.1#response. Failures use trust-task-error, not this shape.",
135
+ "type": "object",
136
+ "additionalProperties": false,
137
+ "required": [
138
+ "keyId",
139
+ "alg",
140
+ "jws"
141
+ ],
142
+ "properties": {
143
+ "keyId": {
144
+ "type": "string",
145
+ "description": "The key that produced the signature. Echoed so a response separated from its request is still attributable."
146
+ },
147
+ "alg": {
148
+ "type": "string",
149
+ "enum": [
150
+ "EdDSA",
151
+ "ES256",
152
+ "ES256K",
153
+ "ML-DSA-44",
154
+ "ML-DSA-65"
155
+ ],
156
+ "description": "The JOSE algorithm the custodian chose from the key's type and wrote into the header: `EdDSA` for `ed25519`, `ES256` for `p256`, `ES256K` for a secp256k1 key, `ML-DSA-44` and `ML-DSA-65` for `mldsa44` and `mldsa65`. Externally owned, carried verbatim."
157
+ },
158
+ "jws": {
159
+ "type": "string",
160
+ "pattern": "^[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]+$",
161
+ "description": "The JWS in compact serialisation: BASE64URL(header) '.' BASE64URL(payload) '.' BASE64URL(signature), unpadded. For ECDSA the signature is the fixed-width `r || s` of RFC 7518 §3.4, not DER."
162
+ },
163
+ "ext": {
164
+ "$ref": "#/$defs/Ext"
165
+ }
166
+ }
167
+ },
168
+ "Ext": {
169
+ "title": "Ext",
170
+ "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.",
171
+ "type": "object",
172
+ "minProperties": 1,
173
+ "additionalProperties": true,
174
+ "propertyNames": {
175
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
176
+ }
177
+ }
178
+ }
179
+ };
180
+ /**
181
+ * SPEC.md §7.2 policy for the request variant, from this specification's
182
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
183
+ * per-specification and cannot be derived from the document alone, and
184
+ * item 2 needs the schema this carries.
185
+ */
186
+ export const SPEC = {
187
+ typeUri: TYPE_URI,
188
+ isBearer: false,
189
+ isProofRequired: true,
190
+ isRecipientRequired: true,
191
+ isIssuedAtRequired: true,
192
+ payloadSchema: PAYLOAD_SCHEMA,
193
+ };
194
+ /**
195
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
196
+ * tracks the *issuer* party's requirement because a response swaps the
197
+ * parties (§7.3 item 5).
198
+ */
199
+ export const RESPONSE_SPEC = {
200
+ typeUri: RESPONSE_TYPE_URI,
201
+ isBearer: false,
202
+ isProofRequired: false,
203
+ isRecipientRequired: true,
204
+ isIssuedAtRequired: true,
205
+ payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
206
+ };
207
+ //# sourceMappingURL=payload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../src/keys/sign-jws/0.1/payload.ts"],"names":[],"mappings":"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"}
@@ -12,5 +12,5 @@ export interface RoomsSharedFileAndBlobTypes {
12
12
  * The definitions this shared schema publishes, hoisted to one declaration each.
13
13
  * See "../../../_shared/components.js".
14
14
  */
15
- export type { BlobManifest, BlobRef, RoomLimits, ScopeLimits, TransferId, Usage } from "../../../_shared/components.js";
15
+ export type { BlobManifest, BlobRef, FileManifest, RoomLimits, ScopeLimits, TransferId, Usage } from "../../../_shared/components.js";
16
16
  //# sourceMappingURL=blobs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"blobs.d.ts","sourceRoot":"","sources":["../../../../src/rooms/_shared/0.1/blobs.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AAED;;;GAGG;AACH,YAAY,EAAE,YAAY,EAAE,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,gCAAgC,CAAC"}
1
+ {"version":3,"file":"blobs.d.ts","sourceRoot":"","sources":["../../../../src/rooms/_shared/0.1/blobs.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AAED;;;GAGG;AACH,YAAY,EAAE,YAAY,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,gCAAgC,CAAC"}
@@ -483,7 +483,7 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
483
483
  export declare const SPEC: {
484
484
  readonly typeUri: "https://trusttasks.org/spec/rooms/info/0.1";
485
485
  readonly isBearer: false;
486
- readonly isProofRequired: false;
486
+ readonly isProofRequired: true;
487
487
  readonly isRecipientRequired: true;
488
488
  readonly isIssuedAtRequired: false;
489
489
  readonly payloadSchema: {
@@ -702,7 +702,7 @@ export declare const SPEC: {
702
702
  export declare const RESPONSE_SPEC: {
703
703
  readonly typeUri: "https://trusttasks.org/spec/rooms/info/0.1#response";
704
704
  readonly isBearer: false;
705
- readonly isProofRequired: false;
705
+ readonly isProofRequired: true;
706
706
  readonly isRecipientRequired: true;
707
707
  readonly isIssuedAtRequired: false;
708
708
  readonly payloadSchema: {
@@ -477,7 +477,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
477
477
  export const SPEC = {
478
478
  typeUri: TYPE_URI,
479
479
  isBearer: false,
480
- isProofRequired: false,
480
+ isProofRequired: true,
481
481
  isRecipientRequired: true,
482
482
  isIssuedAtRequired: false,
483
483
  payloadSchema: PAYLOAD_SCHEMA,
@@ -490,7 +490,7 @@ export const SPEC = {
490
490
  export const RESPONSE_SPEC = {
491
491
  typeUri: RESPONSE_TYPE_URI,
492
492
  isBearer: false,
493
- isProofRequired: false,
493
+ isProofRequired: true,
494
494
  isRecipientRequired: true,
495
495
  isIssuedAtRequired: false,
496
496
  payloadSchema: RESPONSE_PAYLOAD_SCHEMA,