@openvtc/trust-tasks 0.19.5 → 0.19.7

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 (75) hide show
  1. package/CHANGELOG.md +102 -0
  2. package/dist/_shared/components.d.ts +4 -4
  3. package/dist/_shared/components.d.ts.map +1 -1
  4. package/dist/index.d.ts +4 -0
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +4 -0
  7. package/dist/index.js.map +1 -1
  8. package/dist/keys/create/0.1/payload.d.ts +8 -8
  9. package/dist/keys/create/0.1/payload.d.ts.map +1 -1
  10. package/dist/keys/create/0.1/payload.js +8 -4
  11. package/dist/keys/create/0.1/payload.js.map +1 -1
  12. package/dist/keys/derive-and-sign/0.1/payload.d.ts +16 -16
  13. package/dist/keys/derive-and-sign/0.1/payload.d.ts.map +1 -1
  14. package/dist/keys/derive-and-sign/0.1/payload.js +16 -8
  15. package/dist/keys/derive-and-sign/0.1/payload.js.map +1 -1
  16. package/dist/keys/derive-and-sign-document/0.1/payload.d.ts +8 -8
  17. package/dist/keys/derive-and-sign-document/0.1/payload.d.ts.map +1 -1
  18. package/dist/keys/derive-and-sign-document/0.1/payload.js +8 -4
  19. package/dist/keys/derive-and-sign-document/0.1/payload.js.map +1 -1
  20. package/dist/keys/export-secret/0.1/payload.d.ts +8 -8
  21. package/dist/keys/export-secret/0.1/payload.d.ts.map +1 -1
  22. package/dist/keys/export-secret/0.1/payload.js +8 -4
  23. package/dist/keys/export-secret/0.1/payload.js.map +1 -1
  24. package/dist/keys/import/0.1/payload.d.ts +8 -8
  25. package/dist/keys/import/0.1/payload.d.ts.map +1 -1
  26. package/dist/keys/import/0.1/payload.js +8 -4
  27. package/dist/keys/import/0.1/payload.js.map +1 -1
  28. package/dist/keys/list/0.1/payload.d.ts +8 -8
  29. package/dist/keys/list/0.1/payload.d.ts.map +1 -1
  30. package/dist/keys/list/0.1/payload.js +8 -4
  31. package/dist/keys/list/0.1/payload.js.map +1 -1
  32. package/dist/keys/set-exportability/0.1/payload.d.ts +8 -8
  33. package/dist/keys/set-exportability/0.1/payload.d.ts.map +1 -1
  34. package/dist/keys/set-exportability/0.1/payload.js +8 -4
  35. package/dist/keys/set-exportability/0.1/payload.js.map +1 -1
  36. package/dist/keys/show/0.1/payload.d.ts +8 -8
  37. package/dist/keys/show/0.1/payload.d.ts.map +1 -1
  38. package/dist/keys/show/0.1/payload.js +8 -4
  39. package/dist/keys/show/0.1/payload.js.map +1 -1
  40. package/dist/keys/sign/0.1/payload.d.ts +8 -8
  41. package/dist/keys/sign/0.1/payload.d.ts.map +1 -1
  42. package/dist/keys/sign/0.1/payload.js +8 -4
  43. package/dist/keys/sign/0.1/payload.js.map +1 -1
  44. package/dist/vtc/registry/records/list/0.1/payload.d.ts +576 -0
  45. package/dist/vtc/registry/records/list/0.1/payload.d.ts.map +1 -0
  46. package/dist/vtc/registry/records/list/0.1/payload.js +312 -0
  47. package/dist/vtc/registry/records/list/0.1/payload.js.map +1 -0
  48. package/dist/vtc/registry/sync-jobs/discard/0.1/payload.d.ts +254 -0
  49. package/dist/vtc/registry/sync-jobs/discard/0.1/payload.d.ts.map +1 -0
  50. package/dist/vtc/registry/sync-jobs/discard/0.1/payload.js +145 -0
  51. package/dist/vtc/registry/sync-jobs/discard/0.1/payload.js.map +1 -0
  52. package/dist/vtc/registry/sync-jobs/list/0.1/payload.d.ts +584 -0
  53. package/dist/vtc/registry/sync-jobs/list/0.1/payload.d.ts.map +1 -0
  54. package/dist/vtc/registry/sync-jobs/list/0.1/payload.js +343 -0
  55. package/dist/vtc/registry/sync-jobs/list/0.1/payload.js.map +1 -0
  56. package/dist/vtc/registry/sync-jobs/retry/0.1/payload.d.ts +474 -0
  57. package/dist/vtc/registry/sync-jobs/retry/0.1/payload.d.ts.map +1 -0
  58. package/dist/vtc/registry/sync-jobs/retry/0.1/payload.js +269 -0
  59. package/dist/vtc/registry/sync-jobs/retry/0.1/payload.js.map +1 -0
  60. package/package.json +1 -1
  61. package/src/_shared/components.ts +4 -4
  62. package/src/index.ts +4 -0
  63. package/src/keys/create/0.1/payload.ts +8 -4
  64. package/src/keys/derive-and-sign/0.1/payload.ts +16 -8
  65. package/src/keys/derive-and-sign-document/0.1/payload.ts +8 -4
  66. package/src/keys/export-secret/0.1/payload.ts +8 -4
  67. package/src/keys/import/0.1/payload.ts +8 -4
  68. package/src/keys/list/0.1/payload.ts +8 -4
  69. package/src/keys/set-exportability/0.1/payload.ts +8 -4
  70. package/src/keys/show/0.1/payload.ts +8 -4
  71. package/src/keys/sign/0.1/payload.ts +8 -4
  72. package/src/vtc/registry/records/list/0.1/payload.ts +407 -0
  73. package/src/vtc/registry/sync-jobs/discard/0.1/payload.ts +184 -0
  74. package/src/vtc/registry/sync-jobs/list/0.1/payload.ts +433 -0
  75. package/src/vtc/registry/sync-jobs/retry/0.1/payload.ts +331 -0
@@ -0,0 +1,269 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/vtc/registry/sync-jobs/retry/0.1/payload.schema.json
4
+ */
5
+ /** Trust Task type URI. */
6
+ export const TYPE_URI = "https://trusttasks.org/spec/vtc/registry/sync-jobs/retry/0.1";
7
+ /** Trust Task response type URI (request type URI + "#response"). */
8
+ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/vtc/registry/sync-jobs/retry/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/vtc/registry/sync-jobs/retry/0.1",
21
+ "title": "VTC Registry Sync Jobs Retry — payload",
22
+ "description": "Requeue an abandoned trust-registry reconciliation job so the community's reconciler dispatches it again.",
23
+ "type": "object",
24
+ "additionalProperties": false,
25
+ "oneOf": [
26
+ {
27
+ "required": [
28
+ "jobId"
29
+ ],
30
+ "not": {
31
+ "required": [
32
+ "allFailed"
33
+ ]
34
+ }
35
+ },
36
+ {
37
+ "required": [
38
+ "allFailed"
39
+ ],
40
+ "not": {
41
+ "required": [
42
+ "jobId"
43
+ ]
44
+ }
45
+ }
46
+ ],
47
+ "properties": {
48
+ "jobId": {
49
+ "type": "string",
50
+ "minLength": 1,
51
+ "description": "The single job to requeue, from `vtc/registry/sync-jobs/list`."
52
+ },
53
+ "allFailed": {
54
+ "type": "boolean",
55
+ "const": true,
56
+ "description": "Requeue every job in the terminal `failed` state. Spelled as its own member rather than an absent `jobId` so that a client bug which drops the identifier cannot silently become a bulk operation."
57
+ },
58
+ "ext": {
59
+ "$ref": "#/$defs/Ext"
60
+ }
61
+ },
62
+ "$defs": {
63
+ "Requeued": {
64
+ "type": "object",
65
+ "additionalProperties": false,
66
+ "required": [
67
+ "jobId"
68
+ ],
69
+ "properties": {
70
+ "jobId": {
71
+ "type": "string",
72
+ "minLength": 1
73
+ },
74
+ "memberDid": {
75
+ "type": "string",
76
+ "minLength": 1,
77
+ "description": "The member whose record the requeued job carries."
78
+ },
79
+ "ext": {
80
+ "$ref": "#/$defs/Ext"
81
+ }
82
+ }
83
+ },
84
+ "Skipped": {
85
+ "type": "object",
86
+ "additionalProperties": false,
87
+ "required": [
88
+ "jobId",
89
+ "reason"
90
+ ],
91
+ "properties": {
92
+ "jobId": {
93
+ "type": "string",
94
+ "minLength": 1
95
+ },
96
+ "reason": {
97
+ "type": "string",
98
+ "enum": [
99
+ "notFailed",
100
+ "notFound"
101
+ ],
102
+ "description": "`notFailed` — the reconciler still owns the job, so requeueing it would dispatch the same mutation twice. `notFound` — no such job; it may already have been retried, discarded, or swept."
103
+ },
104
+ "ext": {
105
+ "$ref": "#/$defs/Ext"
106
+ }
107
+ }
108
+ },
109
+ "Response": {
110
+ "$anchor": "response",
111
+ "title": "VTC Registry Sync Jobs Retry — response payload",
112
+ "type": "object",
113
+ "additionalProperties": false,
114
+ "required": [
115
+ "requeued",
116
+ "skipped"
117
+ ],
118
+ "properties": {
119
+ "requeued": {
120
+ "type": "array",
121
+ "items": {
122
+ "$ref": "#/$defs/Requeued"
123
+ },
124
+ "description": "Jobs now scheduled for dispatch. Empty is a valid answer and is not an error."
125
+ },
126
+ "skipped": {
127
+ "type": "array",
128
+ "items": {
129
+ "$ref": "#/$defs/Skipped"
130
+ },
131
+ "description": "Jobs the maintainer declined to requeue, each with why. Reported rather than failing the task, so a bulk retry is not defeated by one ineligible row."
132
+ },
133
+ "ext": {
134
+ "$ref": "#/$defs/Ext"
135
+ }
136
+ }
137
+ },
138
+ "Ext": {
139
+ "title": "Ext",
140
+ "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.",
141
+ "type": "object",
142
+ "minProperties": 1,
143
+ "additionalProperties": true,
144
+ "propertyNames": {
145
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
146
+ }
147
+ }
148
+ }
149
+ };
150
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
151
+ export const RESPONSE_PAYLOAD_SCHEMA = {
152
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
153
+ "$ref": "#/$defs/Response",
154
+ "$defs": {
155
+ "Requeued": {
156
+ "type": "object",
157
+ "additionalProperties": false,
158
+ "required": [
159
+ "jobId"
160
+ ],
161
+ "properties": {
162
+ "jobId": {
163
+ "type": "string",
164
+ "minLength": 1
165
+ },
166
+ "memberDid": {
167
+ "type": "string",
168
+ "minLength": 1,
169
+ "description": "The member whose record the requeued job carries."
170
+ },
171
+ "ext": {
172
+ "$ref": "#/$defs/Ext"
173
+ }
174
+ }
175
+ },
176
+ "Skipped": {
177
+ "type": "object",
178
+ "additionalProperties": false,
179
+ "required": [
180
+ "jobId",
181
+ "reason"
182
+ ],
183
+ "properties": {
184
+ "jobId": {
185
+ "type": "string",
186
+ "minLength": 1
187
+ },
188
+ "reason": {
189
+ "type": "string",
190
+ "enum": [
191
+ "notFailed",
192
+ "notFound"
193
+ ],
194
+ "description": "`notFailed` — the reconciler still owns the job, so requeueing it would dispatch the same mutation twice. `notFound` — no such job; it may already have been retried, discarded, or swept."
195
+ },
196
+ "ext": {
197
+ "$ref": "#/$defs/Ext"
198
+ }
199
+ }
200
+ },
201
+ "Response": {
202
+ "$anchor": "response",
203
+ "title": "VTC Registry Sync Jobs Retry — response payload",
204
+ "type": "object",
205
+ "additionalProperties": false,
206
+ "required": [
207
+ "requeued",
208
+ "skipped"
209
+ ],
210
+ "properties": {
211
+ "requeued": {
212
+ "type": "array",
213
+ "items": {
214
+ "$ref": "#/$defs/Requeued"
215
+ },
216
+ "description": "Jobs now scheduled for dispatch. Empty is a valid answer and is not an error."
217
+ },
218
+ "skipped": {
219
+ "type": "array",
220
+ "items": {
221
+ "$ref": "#/$defs/Skipped"
222
+ },
223
+ "description": "Jobs the maintainer declined to requeue, each with why. Reported rather than failing the task, so a bulk retry is not defeated by one ineligible row."
224
+ },
225
+ "ext": {
226
+ "$ref": "#/$defs/Ext"
227
+ }
228
+ }
229
+ },
230
+ "Ext": {
231
+ "title": "Ext",
232
+ "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.",
233
+ "type": "object",
234
+ "minProperties": 1,
235
+ "additionalProperties": true,
236
+ "propertyNames": {
237
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
238
+ }
239
+ }
240
+ }
241
+ };
242
+ /**
243
+ * SPEC.md §7.2 policy for the request variant, from this specification's
244
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
245
+ * per-specification and cannot be derived from the document alone, and
246
+ * item 2 needs the schema this carries.
247
+ */
248
+ export const SPEC = {
249
+ typeUri: TYPE_URI,
250
+ isBearer: false,
251
+ isProofRequired: true,
252
+ isRecipientRequired: true,
253
+ isIssuedAtRequired: true,
254
+ payloadSchema: PAYLOAD_SCHEMA,
255
+ };
256
+ /**
257
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
258
+ * tracks the *issuer* party's requirement because a response swaps the
259
+ * parties (§7.3 item 5).
260
+ */
261
+ export const RESPONSE_SPEC = {
262
+ typeUri: RESPONSE_TYPE_URI,
263
+ isBearer: false,
264
+ isProofRequired: true,
265
+ isRecipientRequired: true,
266
+ isIssuedAtRequired: true,
267
+ payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
268
+ };
269
+ //# sourceMappingURL=payload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../../src/vtc/registry/sync-jobs/retry/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAqDH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,8DAAuE,CAAC;AAKhG,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,uEAAgF,CAAC;AAKlH;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,8DAA8D;IACrE,OAAO,EAAE,wCAAwC;IACjD,aAAa,EAAE,2GAA2G;IAC1H,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,OAAO,EAAE;QACP;YACE,UAAU,EAAE;gBACV,OAAO;aACR;YACD,KAAK,EAAE;gBACL,UAAU,EAAE;oBACV,WAAW;iBACZ;aACF;SACF;QACD;YACE,UAAU,EAAE;gBACV,WAAW;aACZ;YACD,KAAK,EAAE;gBACL,UAAU,EAAE;oBACV,OAAO;iBACR;aACF;SACF;KACF;IACD,YAAY,EAAE;QACZ,OAAO,EAAE;YACP,MAAM,EAA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B,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openvtc/trust-tasks",
3
- "version": "0.19.5",
3
+ "version": "0.19.7",
4
4
  "description": "Generated TypeScript bindings for the Trust Tasks framework registry.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -210,9 +210,9 @@ export type KeyOrigin = "derived" | "imported" | "internal";
210
210
  */
211
211
  export type KeyStatus = "active" | "revoked";
212
212
  /**
213
- * Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256).
213
+ * Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256), and `mldsa44` and `mldsa65` sign with the post-quantum ML-DSA scheme of US NIST FIPS 204. The set is expected to grow as algorithms are standardised, and growing it is a MINOR change under SPEC.md §5.2: `keyType` selects no schema branch, so adding a value relaxes a constraint rather than narrowing one, and the generated libraries mark this enumeration non-exhaustive so that a consumer absorbs a new value rather than failing to compile. Two ML-DSA parameter sets are carried because two specifications require different ones — W3C Quantum-Resistant Cryptosuites defines Data Integrity suites only for ML-DSA-44, while Trust Spanning Protocol Rev 3 §8.1 mandates ML-DSA-65 — so the parameter set is chosen by whatever consumes the key and the two are not redundant. A consumer that does not implement a value it receives MUST refuse the document rather than substitute one it does support.
214
214
  */
215
- export type KeyType = "ed25519" | "x25519" | "p256";
215
+ export type KeyType = "ed25519" | "x25519" | "p256" | "mldsa44" | "mldsa65";
216
216
  /**
217
217
  * The interaction kind: a 1:1 direct message, a multi-party group, or a broadcast channel.
218
218
  */
@@ -459,9 +459,9 @@ export type Sensitivity = "normal" | "high";
459
459
  */
460
460
  export type ServiceKind = "didcomm" | "rest" | "tsp" | "webauthn";
461
461
  /**
462
- * `EdDSA` pairs with an `ed25519` key; `ES256` pairs with a `p256` key. An `x25519` key performs key agreement and can sign nothing, so no algorithm here is valid for one. The enumeration is closed: an unrecognised algorithm is refused rather than silently substituted with a supported one.
462
+ * `EdDSA` pairs with an `ed25519` key; `ES256` pairs with a `p256` key; `ML-DSA-44` and `ML-DSA-65` pair with `mldsa44` and `mldsa65` keys respectively. An `x25519` key performs key agreement and can sign nothing, so no algorithm here is valid for one. These are JOSE algorithm identifiers, externally owned, so they are carried verbatim and never re-cased (SPEC.md §4.10 rule 5); the ML-DSA names are those RFC 9964 registers in the JOSE Web Signature and Encryption Algorithms registry, which is why their hyphenated casing differs from the `keyType` values beside them — those are specification-defined. The set is expected to grow as algorithms are registered. The enumeration remains closed: an unrecognised algorithm is refused rather than silently substituted with a supported one.
463
463
  */
464
- export type SignAlgorithm = "EdDSA" | "ES256";
464
+ export type SignAlgorithm = "EdDSA" | "ES256" | "ML-DSA-44" | "ML-DSA-65";
465
465
  /**
466
466
  * A single binding target for a vault entry. Tagged union over the discriminator `kind`. A VaultEntry's `targets` array MAY mix any number of these.
467
467
  */
package/src/index.ts CHANGED
@@ -492,6 +492,10 @@ export * as VtcMembersVmc_v0_1 from "./vtc/members/vmc/0.1/payload.js";
492
492
  export * as VtcPoliciesTest_v0_1 from "./vtc/policies/test/0.1/payload.js";
493
493
  export * as VtcRecognitionCheck_v0_1 from "./vtc/recognition/check/0.1/payload.js";
494
494
  export * as VtcRegistryDiagnostics_v0_1 from "./vtc/registry/diagnostics/0.1/payload.js";
495
+ export * as VtcRegistryRecordsList_v0_1 from "./vtc/registry/records/list/0.1/payload.js";
496
+ export * as VtcRegistrySyncJobsDiscard_v0_1 from "./vtc/registry/sync-jobs/discard/0.1/payload.js";
497
+ export * as VtcRegistrySyncJobsList_v0_1 from "./vtc/registry/sync-jobs/list/0.1/payload.js";
498
+ export * as VtcRegistrySyncJobsRetry_v0_1 from "./vtc/registry/sync-jobs/retry/0.1/payload.js";
495
499
  export * as VtcRelationshipsGraph_v0_1 from "./vtc/relationships/graph/0.1/payload.js";
496
500
  export * as VtcRelationshipsGraph_v0_2 from "./vtc/relationships/graph/0.2/payload.js";
497
501
  export * as VtcRelationshipsList_v0_1 from "./vtc/relationships/list/0.1/payload.js";
@@ -247,9 +247,11 @@ export const PAYLOAD_SCHEMA = {
247
247
  "enum": [
248
248
  "ed25519",
249
249
  "x25519",
250
- "p256"
250
+ "p256",
251
+ "mldsa44",
252
+ "mldsa65"
251
253
  ],
252
- "description": "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256)."
254
+ "description": "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256), and `mldsa44` and `mldsa65` sign with the post-quantum ML-DSA scheme of US NIST FIPS 204. The set is expected to grow as algorithms are standardised, and growing it is a MINOR change under SPEC.md §5.2: `keyType` selects no schema branch, so adding a value relaxes a constraint rather than narrowing one, and the generated libraries mark this enumeration non-exhaustive so that a consumer absorbs a new value rather than failing to compile. Two ML-DSA parameter sets are carried because two specifications require different ones — W3C Quantum-Resistant Cryptosuites defines Data Integrity suites only for ML-DSA-44, while Trust Spanning Protocol Rev 3 §8.1 mandates ML-DSA-65 — so the parameter set is chosen by whatever consumes the key and the two are not redundant. A consumer that does not implement a value it receives MUST refuse the document rather than substitute one it does support."
253
255
  }
254
256
  }
255
257
  } as const;
@@ -383,9 +385,11 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
383
385
  "enum": [
384
386
  "ed25519",
385
387
  "x25519",
386
- "p256"
388
+ "p256",
389
+ "mldsa44",
390
+ "mldsa65"
387
391
  ],
388
- "description": "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256)."
392
+ "description": "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256), and `mldsa44` and `mldsa65` sign with the post-quantum ML-DSA scheme of US NIST FIPS 204. The set is expected to grow as algorithms are standardised, and growing it is a MINOR change under SPEC.md §5.2: `keyType` selects no schema branch, so adding a value relaxes a constraint rather than narrowing one, and the generated libraries mark this enumeration non-exhaustive so that a consumer absorbs a new value rather than failing to compile. Two ML-DSA parameter sets are carried because two specifications require different ones — W3C Quantum-Resistant Cryptosuites defines Data Integrity suites only for ML-DSA-44, while Trust Spanning Protocol Rev 3 §8.1 mandates ML-DSA-65 — so the parameter set is chosen by whatever consumes the key and the two are not redundant. A consumer that does not implement a value it receives MUST refuse the document rather than substitute one it does support."
389
393
  }
390
394
  }
391
395
  } as const;
@@ -151,9 +151,11 @@ export const PAYLOAD_SCHEMA = {
151
151
  "type": "string",
152
152
  "enum": [
153
153
  "EdDSA",
154
- "ES256"
154
+ "ES256",
155
+ "ML-DSA-44",
156
+ "ML-DSA-65"
155
157
  ],
156
- "description": "`EdDSA` pairs with an `ed25519` key; `ES256` pairs with a `p256` key. An `x25519` key performs key agreement and can sign nothing, so no algorithm here is valid for one. The enumeration is closed: an unrecognised algorithm is refused rather than silently substituted with a supported one."
158
+ "description": "`EdDSA` pairs with an `ed25519` key; `ES256` pairs with a `p256` key; `ML-DSA-44` and `ML-DSA-65` pair with `mldsa44` and `mldsa65` keys respectively. An `x25519` key performs key agreement and can sign nothing, so no algorithm here is valid for one. These are JOSE algorithm identifiers, externally owned, so they are carried verbatim and never re-cased (SPEC.md §4.10 rule 5); the ML-DSA names are those RFC 9964 registers in the JOSE Web Signature and Encryption Algorithms registry, which is why their hyphenated casing differs from the `keyType` values beside them — those are specification-defined. The set is expected to grow as algorithms are registered. The enumeration remains closed: an unrecognised algorithm is refused rather than silently substituted with a supported one."
157
159
  },
158
160
  "KeyType": {
159
161
  "title": "KeyType",
@@ -161,9 +163,11 @@ export const PAYLOAD_SCHEMA = {
161
163
  "enum": [
162
164
  "ed25519",
163
165
  "x25519",
164
- "p256"
166
+ "p256",
167
+ "mldsa44",
168
+ "mldsa65"
165
169
  ],
166
- "description": "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256)."
170
+ "description": "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256), and `mldsa44` and `mldsa65` sign with the post-quantum ML-DSA scheme of US NIST FIPS 204. The set is expected to grow as algorithms are standardised, and growing it is a MINOR change under SPEC.md §5.2: `keyType` selects no schema branch, so adding a value relaxes a constraint rather than narrowing one, and the generated libraries mark this enumeration non-exhaustive so that a consumer absorbs a new value rather than failing to compile. Two ML-DSA parameter sets are carried because two specifications require different ones — W3C Quantum-Resistant Cryptosuites defines Data Integrity suites only for ML-DSA-44, while Trust Spanning Protocol Rev 3 §8.1 mandates ML-DSA-65 — so the parameter set is chosen by whatever consumes the key and the two are not redundant. A consumer that does not implement a value it receives MUST refuse the document rather than substitute one it does support."
167
171
  }
168
172
  }
169
173
  } as const;
@@ -216,9 +220,11 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
216
220
  "type": "string",
217
221
  "enum": [
218
222
  "EdDSA",
219
- "ES256"
223
+ "ES256",
224
+ "ML-DSA-44",
225
+ "ML-DSA-65"
220
226
  ],
221
- "description": "`EdDSA` pairs with an `ed25519` key; `ES256` pairs with a `p256` key. An `x25519` key performs key agreement and can sign nothing, so no algorithm here is valid for one. The enumeration is closed: an unrecognised algorithm is refused rather than silently substituted with a supported one."
227
+ "description": "`EdDSA` pairs with an `ed25519` key; `ES256` pairs with a `p256` key; `ML-DSA-44` and `ML-DSA-65` pair with `mldsa44` and `mldsa65` keys respectively. An `x25519` key performs key agreement and can sign nothing, so no algorithm here is valid for one. These are JOSE algorithm identifiers, externally owned, so they are carried verbatim and never re-cased (SPEC.md §4.10 rule 5); the ML-DSA names are those RFC 9964 registers in the JOSE Web Signature and Encryption Algorithms registry, which is why their hyphenated casing differs from the `keyType` values beside them — those are specification-defined. The set is expected to grow as algorithms are registered. The enumeration remains closed: an unrecognised algorithm is refused rather than silently substituted with a supported one."
222
228
  },
223
229
  "KeyType": {
224
230
  "title": "KeyType",
@@ -226,9 +232,11 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
226
232
  "enum": [
227
233
  "ed25519",
228
234
  "x25519",
229
- "p256"
235
+ "p256",
236
+ "mldsa44",
237
+ "mldsa65"
230
238
  ],
231
- "description": "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256)."
239
+ "description": "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256), and `mldsa44` and `mldsa65` sign with the post-quantum ML-DSA scheme of US NIST FIPS 204. The set is expected to grow as algorithms are standardised, and growing it is a MINOR change under SPEC.md §5.2: `keyType` selects no schema branch, so adding a value relaxes a constraint rather than narrowing one, and the generated libraries mark this enumeration non-exhaustive so that a consumer absorbs a new value rather than failing to compile. Two ML-DSA parameter sets are carried because two specifications require different ones — W3C Quantum-Resistant Cryptosuites defines Data Integrity suites only for ML-DSA-44, while Trust Spanning Protocol Rev 3 §8.1 mandates ML-DSA-65 — so the parameter set is chosen by whatever consumes the key and the two are not redundant. A consumer that does not implement a value it receives MUST refuse the document rather than substitute one it does support."
232
240
  }
233
241
  }
234
242
  } as const;
@@ -147,9 +147,11 @@ export const PAYLOAD_SCHEMA = {
147
147
  "enum": [
148
148
  "ed25519",
149
149
  "x25519",
150
- "p256"
150
+ "p256",
151
+ "mldsa44",
152
+ "mldsa65"
151
153
  ],
152
- "description": "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256)."
154
+ "description": "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256), and `mldsa44` and `mldsa65` sign with the post-quantum ML-DSA scheme of US NIST FIPS 204. The set is expected to grow as algorithms are standardised, and growing it is a MINOR change under SPEC.md §5.2: `keyType` selects no schema branch, so adding a value relaxes a constraint rather than narrowing one, and the generated libraries mark this enumeration non-exhaustive so that a consumer absorbs a new value rather than failing to compile. Two ML-DSA parameter sets are carried because two specifications require different ones — W3C Quantum-Resistant Cryptosuites defines Data Integrity suites only for ML-DSA-44, while Trust Spanning Protocol Rev 3 §8.1 mandates ML-DSA-65 — so the parameter set is chosen by whatever consumes the key and the two are not redundant. A consumer that does not implement a value it receives MUST refuse the document rather than substitute one it does support."
153
155
  }
154
156
  }
155
157
  } as const;
@@ -199,9 +201,11 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
199
201
  "enum": [
200
202
  "ed25519",
201
203
  "x25519",
202
- "p256"
204
+ "p256",
205
+ "mldsa44",
206
+ "mldsa65"
203
207
  ],
204
- "description": "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256)."
208
+ "description": "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256), and `mldsa44` and `mldsa65` sign with the post-quantum ML-DSA scheme of US NIST FIPS 204. The set is expected to grow as algorithms are standardised, and growing it is a MINOR change under SPEC.md §5.2: `keyType` selects no schema branch, so adding a value relaxes a constraint rather than narrowing one, and the generated libraries mark this enumeration non-exhaustive so that a consumer absorbs a new value rather than failing to compile. Two ML-DSA parameter sets are carried because two specifications require different ones — W3C Quantum-Resistant Cryptosuites defines Data Integrity suites only for ML-DSA-44, while Trust Spanning Protocol Rev 3 §8.1 mandates ML-DSA-65 — so the parameter set is chosen by whatever consumes the key and the two are not redundant. A consumer that does not implement a value it receives MUST refuse the document rather than substitute one it does support."
205
209
  }
206
210
  }
207
211
  } as const;
@@ -119,9 +119,11 @@ export const PAYLOAD_SCHEMA = {
119
119
  "enum": [
120
120
  "ed25519",
121
121
  "x25519",
122
- "p256"
122
+ "p256",
123
+ "mldsa44",
124
+ "mldsa65"
123
125
  ],
124
- "description": "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256)."
126
+ "description": "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256), and `mldsa44` and `mldsa65` sign with the post-quantum ML-DSA scheme of US NIST FIPS 204. The set is expected to grow as algorithms are standardised, and growing it is a MINOR change under SPEC.md §5.2: `keyType` selects no schema branch, so adding a value relaxes a constraint rather than narrowing one, and the generated libraries mark this enumeration non-exhaustive so that a consumer absorbs a new value rather than failing to compile. Two ML-DSA parameter sets are carried because two specifications require different ones — W3C Quantum-Resistant Cryptosuites defines Data Integrity suites only for ML-DSA-44, while Trust Spanning Protocol Rev 3 §8.1 mandates ML-DSA-65 — so the parameter set is chosen by whatever consumes the key and the two are not redundant. A consumer that does not implement a value it receives MUST refuse the document rather than substitute one it does support."
125
127
  },
126
128
  "Ext": {
127
129
  "title": "Ext",
@@ -180,9 +182,11 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
180
182
  "enum": [
181
183
  "ed25519",
182
184
  "x25519",
183
- "p256"
185
+ "p256",
186
+ "mldsa44",
187
+ "mldsa65"
184
188
  ],
185
- "description": "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256)."
189
+ "description": "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256), and `mldsa44` and `mldsa65` sign with the post-quantum ML-DSA scheme of US NIST FIPS 204. The set is expected to grow as algorithms are standardised, and growing it is a MINOR change under SPEC.md §5.2: `keyType` selects no schema branch, so adding a value relaxes a constraint rather than narrowing one, and the generated libraries mark this enumeration non-exhaustive so that a consumer absorbs a new value rather than failing to compile. Two ML-DSA parameter sets are carried because two specifications require different ones — W3C Quantum-Resistant Cryptosuites defines Data Integrity suites only for ML-DSA-44, while Trust Spanning Protocol Rev 3 §8.1 mandates ML-DSA-65 — so the parameter set is chosen by whatever consumes the key and the two are not redundant. A consumer that does not implement a value it receives MUST refuse the document rather than substitute one it does support."
186
190
  },
187
191
  "Ext": {
188
192
  "title": "Ext",
@@ -260,9 +260,11 @@ export const PAYLOAD_SCHEMA = {
260
260
  "enum": [
261
261
  "ed25519",
262
262
  "x25519",
263
- "p256"
263
+ "p256",
264
+ "mldsa44",
265
+ "mldsa65"
264
266
  ],
265
- "description": "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256)."
267
+ "description": "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256), and `mldsa44` and `mldsa65` sign with the post-quantum ML-DSA scheme of US NIST FIPS 204. The set is expected to grow as algorithms are standardised, and growing it is a MINOR change under SPEC.md §5.2: `keyType` selects no schema branch, so adding a value relaxes a constraint rather than narrowing one, and the generated libraries mark this enumeration non-exhaustive so that a consumer absorbs a new value rather than failing to compile. Two ML-DSA parameter sets are carried because two specifications require different ones — W3C Quantum-Resistant Cryptosuites defines Data Integrity suites only for ML-DSA-44, while Trust Spanning Protocol Rev 3 §8.1 mandates ML-DSA-65 — so the parameter set is chosen by whatever consumes the key and the two are not redundant. A consumer that does not implement a value it receives MUST refuse the document rather than substitute one it does support."
266
268
  }
267
269
  }
268
270
  } as const;
@@ -396,9 +398,11 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
396
398
  "enum": [
397
399
  "ed25519",
398
400
  "x25519",
399
- "p256"
401
+ "p256",
402
+ "mldsa44",
403
+ "mldsa65"
400
404
  ],
401
- "description": "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256)."
405
+ "description": "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256), and `mldsa44` and `mldsa65` sign with the post-quantum ML-DSA scheme of US NIST FIPS 204. The set is expected to grow as algorithms are standardised, and growing it is a MINOR change under SPEC.md §5.2: `keyType` selects no schema branch, so adding a value relaxes a constraint rather than narrowing one, and the generated libraries mark this enumeration non-exhaustive so that a consumer absorbs a new value rather than failing to compile. Two ML-DSA parameter sets are carried because two specifications require different ones — W3C Quantum-Resistant Cryptosuites defines Data Integrity suites only for ML-DSA-44, while Trust Spanning Protocol Rev 3 §8.1 mandates ML-DSA-65 — so the parameter set is chosen by whatever consumes the key and the two are not redundant. A consumer that does not implement a value it receives MUST refuse the document rather than substitute one it does support."
402
406
  }
403
407
  }
404
408
  } as const;
@@ -251,9 +251,11 @@ export const PAYLOAD_SCHEMA = {
251
251
  "enum": [
252
252
  "ed25519",
253
253
  "x25519",
254
- "p256"
254
+ "p256",
255
+ "mldsa44",
256
+ "mldsa65"
255
257
  ],
256
- "description": "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256)."
258
+ "description": "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256), and `mldsa44` and `mldsa65` sign with the post-quantum ML-DSA scheme of US NIST FIPS 204. The set is expected to grow as algorithms are standardised, and growing it is a MINOR change under SPEC.md §5.2: `keyType` selects no schema branch, so adding a value relaxes a constraint rather than narrowing one, and the generated libraries mark this enumeration non-exhaustive so that a consumer absorbs a new value rather than failing to compile. Two ML-DSA parameter sets are carried because two specifications require different ones — W3C Quantum-Resistant Cryptosuites defines Data Integrity suites only for ML-DSA-44, while Trust Spanning Protocol Rev 3 §8.1 mandates ML-DSA-65 — so the parameter set is chosen by whatever consumes the key and the two are not redundant. A consumer that does not implement a value it receives MUST refuse the document rather than substitute one it does support."
257
259
  }
258
260
  }
259
261
  } as const;
@@ -408,9 +410,11 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
408
410
  "enum": [
409
411
  "ed25519",
410
412
  "x25519",
411
- "p256"
413
+ "p256",
414
+ "mldsa44",
415
+ "mldsa65"
412
416
  ],
413
- "description": "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256)."
417
+ "description": "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256), and `mldsa44` and `mldsa65` sign with the post-quantum ML-DSA scheme of US NIST FIPS 204. The set is expected to grow as algorithms are standardised, and growing it is a MINOR change under SPEC.md §5.2: `keyType` selects no schema branch, so adding a value relaxes a constraint rather than narrowing one, and the generated libraries mark this enumeration non-exhaustive so that a consumer absorbs a new value rather than failing to compile. Two ML-DSA parameter sets are carried because two specifications require different ones — W3C Quantum-Resistant Cryptosuites defines Data Integrity suites only for ML-DSA-44, while Trust Spanning Protocol Rev 3 §8.1 mandates ML-DSA-65 — so the parameter set is chosen by whatever consumes the key and the two are not redundant. A consumer that does not implement a value it receives MUST refuse the document rather than substitute one it does support."
414
418
  }
415
419
  }
416
420
  } as const;
@@ -191,9 +191,11 @@ export const PAYLOAD_SCHEMA = {
191
191
  "enum": [
192
192
  "ed25519",
193
193
  "x25519",
194
- "p256"
194
+ "p256",
195
+ "mldsa44",
196
+ "mldsa65"
195
197
  ],
196
- "description": "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256)."
198
+ "description": "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256), and `mldsa44` and `mldsa65` sign with the post-quantum ML-DSA scheme of US NIST FIPS 204. The set is expected to grow as algorithms are standardised, and growing it is a MINOR change under SPEC.md §5.2: `keyType` selects no schema branch, so adding a value relaxes a constraint rather than narrowing one, and the generated libraries mark this enumeration non-exhaustive so that a consumer absorbs a new value rather than failing to compile. Two ML-DSA parameter sets are carried because two specifications require different ones — W3C Quantum-Resistant Cryptosuites defines Data Integrity suites only for ML-DSA-44, while Trust Spanning Protocol Rev 3 §8.1 mandates ML-DSA-65 — so the parameter set is chosen by whatever consumes the key and the two are not redundant. A consumer that does not implement a value it receives MUST refuse the document rather than substitute one it does support."
197
199
  },
198
200
  "Ext": {
199
201
  "title": "Ext",
@@ -324,9 +326,11 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
324
326
  "enum": [
325
327
  "ed25519",
326
328
  "x25519",
327
- "p256"
329
+ "p256",
330
+ "mldsa44",
331
+ "mldsa65"
328
332
  ],
329
- "description": "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256)."
333
+ "description": "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256), and `mldsa44` and `mldsa65` sign with the post-quantum ML-DSA scheme of US NIST FIPS 204. The set is expected to grow as algorithms are standardised, and growing it is a MINOR change under SPEC.md §5.2: `keyType` selects no schema branch, so adding a value relaxes a constraint rather than narrowing one, and the generated libraries mark this enumeration non-exhaustive so that a consumer absorbs a new value rather than failing to compile. Two ML-DSA parameter sets are carried because two specifications require different ones — W3C Quantum-Resistant Cryptosuites defines Data Integrity suites only for ML-DSA-44, while Trust Spanning Protocol Rev 3 §8.1 mandates ML-DSA-65 — so the parameter set is chosen by whatever consumes the key and the two are not redundant. A consumer that does not implement a value it receives MUST refuse the document rather than substitute one it does support."
330
334
  },
331
335
  "Ext": {
332
336
  "title": "Ext",
@@ -203,9 +203,11 @@ export const PAYLOAD_SCHEMA = {
203
203
  "enum": [
204
204
  "ed25519",
205
205
  "x25519",
206
- "p256"
206
+ "p256",
207
+ "mldsa44",
208
+ "mldsa65"
207
209
  ],
208
- "description": "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256)."
210
+ "description": "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256), and `mldsa44` and `mldsa65` sign with the post-quantum ML-DSA scheme of US NIST FIPS 204. The set is expected to grow as algorithms are standardised, and growing it is a MINOR change under SPEC.md §5.2: `keyType` selects no schema branch, so adding a value relaxes a constraint rather than narrowing one, and the generated libraries mark this enumeration non-exhaustive so that a consumer absorbs a new value rather than failing to compile. Two ML-DSA parameter sets are carried because two specifications require different ones — W3C Quantum-Resistant Cryptosuites defines Data Integrity suites only for ML-DSA-44, while Trust Spanning Protocol Rev 3 §8.1 mandates ML-DSA-65 — so the parameter set is chosen by whatever consumes the key and the two are not redundant. A consumer that does not implement a value it receives MUST refuse the document rather than substitute one it does support."
209
211
  }
210
212
  }
211
213
  } as const;
@@ -346,9 +348,11 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
346
348
  "enum": [
347
349
  "ed25519",
348
350
  "x25519",
349
- "p256"
351
+ "p256",
352
+ "mldsa44",
353
+ "mldsa65"
350
354
  ],
351
- "description": "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256)."
355
+ "description": "Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256), and `mldsa44` and `mldsa65` sign with the post-quantum ML-DSA scheme of US NIST FIPS 204. The set is expected to grow as algorithms are standardised, and growing it is a MINOR change under SPEC.md §5.2: `keyType` selects no schema branch, so adding a value relaxes a constraint rather than narrowing one, and the generated libraries mark this enumeration non-exhaustive so that a consumer absorbs a new value rather than failing to compile. Two ML-DSA parameter sets are carried because two specifications require different ones — W3C Quantum-Resistant Cryptosuites defines Data Integrity suites only for ML-DSA-44, while Trust Spanning Protocol Rev 3 §8.1 mandates ML-DSA-65 — so the parameter set is chosen by whatever consumes the key and the two are not redundant. A consumer that does not implement a value it receives MUST refuse the document rather than substitute one it does support."
352
356
  }
353
357
  }
354
358
  } as const;
@@ -138,9 +138,11 @@ export const PAYLOAD_SCHEMA = {
138
138
  "type": "string",
139
139
  "enum": [
140
140
  "EdDSA",
141
- "ES256"
141
+ "ES256",
142
+ "ML-DSA-44",
143
+ "ML-DSA-65"
142
144
  ],
143
- "description": "`EdDSA` pairs with an `ed25519` key; `ES256` pairs with a `p256` key. An `x25519` key performs key agreement and can sign nothing, so no algorithm here is valid for one. The enumeration is closed: an unrecognised algorithm is refused rather than silently substituted with a supported one."
145
+ "description": "`EdDSA` pairs with an `ed25519` key; `ES256` pairs with a `p256` key; `ML-DSA-44` and `ML-DSA-65` pair with `mldsa44` and `mldsa65` keys respectively. An `x25519` key performs key agreement and can sign nothing, so no algorithm here is valid for one. These are JOSE algorithm identifiers, externally owned, so they are carried verbatim and never re-cased (SPEC.md §4.10 rule 5); the ML-DSA names are those RFC 9964 registers in the JOSE Web Signature and Encryption Algorithms registry, which is why their hyphenated casing differs from the `keyType` values beside them — those are specification-defined. The set is expected to grow as algorithms are registered. The enumeration remains closed: an unrecognised algorithm is refused rather than silently substituted with a supported one."
144
146
  }
145
147
  }
146
148
  } as const;
@@ -193,9 +195,11 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
193
195
  "type": "string",
194
196
  "enum": [
195
197
  "EdDSA",
196
- "ES256"
198
+ "ES256",
199
+ "ML-DSA-44",
200
+ "ML-DSA-65"
197
201
  ],
198
- "description": "`EdDSA` pairs with an `ed25519` key; `ES256` pairs with a `p256` key. An `x25519` key performs key agreement and can sign nothing, so no algorithm here is valid for one. The enumeration is closed: an unrecognised algorithm is refused rather than silently substituted with a supported one."
202
+ "description": "`EdDSA` pairs with an `ed25519` key; `ES256` pairs with a `p256` key; `ML-DSA-44` and `ML-DSA-65` pair with `mldsa44` and `mldsa65` keys respectively. An `x25519` key performs key agreement and can sign nothing, so no algorithm here is valid for one. These are JOSE algorithm identifiers, externally owned, so they are carried verbatim and never re-cased (SPEC.md §4.10 rule 5); the ML-DSA names are those RFC 9964 registers in the JOSE Web Signature and Encryption Algorithms registry, which is why their hyphenated casing differs from the `keyType` values beside them — those are specification-defined. The set is expected to grow as algorithms are registered. The enumeration remains closed: an unrecognised algorithm is refused rather than silently substituted with a supported one."
199
203
  }
200
204
  }
201
205
  } as const;