@openvtc/trust-tasks 0.19.6 → 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 (50) hide show
  1. package/CHANGELOG.md +55 -0
  2. package/dist/_shared/components.d.ts +4 -4
  3. package/dist/_shared/components.d.ts.map +1 -1
  4. package/dist/keys/create/0.1/payload.d.ts +8 -8
  5. package/dist/keys/create/0.1/payload.d.ts.map +1 -1
  6. package/dist/keys/create/0.1/payload.js +8 -4
  7. package/dist/keys/create/0.1/payload.js.map +1 -1
  8. package/dist/keys/derive-and-sign/0.1/payload.d.ts +16 -16
  9. package/dist/keys/derive-and-sign/0.1/payload.d.ts.map +1 -1
  10. package/dist/keys/derive-and-sign/0.1/payload.js +16 -8
  11. package/dist/keys/derive-and-sign/0.1/payload.js.map +1 -1
  12. package/dist/keys/derive-and-sign-document/0.1/payload.d.ts +8 -8
  13. package/dist/keys/derive-and-sign-document/0.1/payload.d.ts.map +1 -1
  14. package/dist/keys/derive-and-sign-document/0.1/payload.js +8 -4
  15. package/dist/keys/derive-and-sign-document/0.1/payload.js.map +1 -1
  16. package/dist/keys/export-secret/0.1/payload.d.ts +8 -8
  17. package/dist/keys/export-secret/0.1/payload.d.ts.map +1 -1
  18. package/dist/keys/export-secret/0.1/payload.js +8 -4
  19. package/dist/keys/export-secret/0.1/payload.js.map +1 -1
  20. package/dist/keys/import/0.1/payload.d.ts +8 -8
  21. package/dist/keys/import/0.1/payload.d.ts.map +1 -1
  22. package/dist/keys/import/0.1/payload.js +8 -4
  23. package/dist/keys/import/0.1/payload.js.map +1 -1
  24. package/dist/keys/list/0.1/payload.d.ts +8 -8
  25. package/dist/keys/list/0.1/payload.d.ts.map +1 -1
  26. package/dist/keys/list/0.1/payload.js +8 -4
  27. package/dist/keys/list/0.1/payload.js.map +1 -1
  28. package/dist/keys/set-exportability/0.1/payload.d.ts +8 -8
  29. package/dist/keys/set-exportability/0.1/payload.d.ts.map +1 -1
  30. package/dist/keys/set-exportability/0.1/payload.js +8 -4
  31. package/dist/keys/set-exportability/0.1/payload.js.map +1 -1
  32. package/dist/keys/show/0.1/payload.d.ts +8 -8
  33. package/dist/keys/show/0.1/payload.d.ts.map +1 -1
  34. package/dist/keys/show/0.1/payload.js +8 -4
  35. package/dist/keys/show/0.1/payload.js.map +1 -1
  36. package/dist/keys/sign/0.1/payload.d.ts +8 -8
  37. package/dist/keys/sign/0.1/payload.d.ts.map +1 -1
  38. package/dist/keys/sign/0.1/payload.js +8 -4
  39. package/dist/keys/sign/0.1/payload.js.map +1 -1
  40. package/package.json +1 -1
  41. package/src/_shared/components.ts +4 -4
  42. package/src/keys/create/0.1/payload.ts +8 -4
  43. package/src/keys/derive-and-sign/0.1/payload.ts +16 -8
  44. package/src/keys/derive-and-sign-document/0.1/payload.ts +8 -4
  45. package/src/keys/export-secret/0.1/payload.ts +8 -4
  46. package/src/keys/import/0.1/payload.ts +8 -4
  47. package/src/keys/list/0.1/payload.ts +8 -4
  48. package/src/keys/set-exportability/0.1/payload.ts +8 -4
  49. package/src/keys/show/0.1/payload.ts +8 -4
  50. package/src/keys/sign/0.1/payload.ts +8 -4
@@ -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;