@openvtc/trust-tasks 0.26.8 → 0.26.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +48 -0
- package/dist/external/credentials/issue/0.3/payload.d.ts +1523 -0
- package/dist/external/credentials/issue/0.3/payload.d.ts.map +1 -0
- package/dist/external/credentials/issue/0.3/payload.js +847 -0
- package/dist/external/credentials/issue/0.3/payload.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/external/credentials/issue/0.3/payload.ts +999 -0
- package/src/index.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,54 @@ The package versions over **its own API** — what a consumer compiles against
|
|
|
11
11
|
not over `SPEC.md`. Below 1.0 a breaking change bumps the leading non-zero
|
|
12
12
|
component.
|
|
13
13
|
|
|
14
|
+
## 0.26.9 — 2026-10-15
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Specifications
|
|
18
|
+
|
|
19
|
+
- **external**: Credentials/issue 0.3 — at most 64 presigned requests per batch, responseTooLarge when the sealed answer would exceed its bound (#781)
|
|
20
|
+
|
|
21
|
+
0.2 let a presign batch hold 128 operations and bounded the response's
|
|
22
|
+
sealedCredential at 262144 characters, on the estimate that 128 presigned
|
|
23
|
+
requests are about 128 KiB of cleartext and a third more once armored.
|
|
24
|
+
That estimate does not hold: a sealed-transfer bundle's overhead depends
|
|
25
|
+
on how its cleartext is encoded inside the seal and can be several times
|
|
26
|
+
the cleartext, and objectKey and uploadId may each be 1024 characters, so
|
|
27
|
+
a long key or upload id lengthens every URL in the set. A batch of 128
|
|
28
|
+
could produce an answer the schema forbids, and 0.2 said nothing about
|
|
29
|
+
what a custodian does then.
|
|
30
|
+
|
|
31
|
+
external/credentials/issue 0.3 (draft; a narrowed constraint, so a new
|
|
32
|
+
MINOR per SPEC §5.2):
|
|
33
|
+
- PresignBatch.requests maxItems 128 -> 64; every prose 128 for this task
|
|
34
|
+
updated (summary, Direct uploads, Definitions, examples, Security).
|
|
35
|
+
- New error external/credentials/issue:responseTooLarge: a custodian whose
|
|
36
|
+
sealed answer to a valid batch would exceed the sealedCredential bound
|
|
37
|
+
refuses it — never truncates the set, never answers over the bound —
|
|
38
|
+
with optional details.maxOperations; the caller SHOULD split and ask
|
|
39
|
+
again. It is a new conformance item 7, after the batch, ceiling and TTL
|
|
40
|
+
checks and before the rate check; a refused batch does not count
|
|
41
|
+
against the binding's rate. The custodian learns the size by presigning
|
|
42
|
+
and sealing (no provider contact), so noKeyAgreement precedes it, and a
|
|
43
|
+
set built and refused is discarded unreturned and unlogged.
|
|
44
|
+
- The maxDocumentBytes rationale is corrected; sealedCredential stays at
|
|
45
|
+
262144 and maxDocumentBytes at 65536 / 294912, which still hold a bundle
|
|
46
|
+
at its bound plus the echoed batch, envelope and proof.
|
|
47
|
+
|
|
48
|
+
Why cap rather than raise the bound: presigned requests are bearer
|
|
49
|
+
authority until they expire (five minutes at most for direct-upload
|
|
50
|
+
targets), so presigning more than can be used before expiry only widens
|
|
51
|
+
exposure; 64 parts of S3's 5 MiB minimum is 320 MiB per batch, and larger
|
|
52
|
+
uploads use larger parts or ask again; a larger answer must cross
|
|
53
|
+
mediators, DIDComm envelopes whose nesting multiplies base64 expansion,
|
|
54
|
+
and memory-constrained custodians and hosts.
|
|
55
|
+
|
|
56
|
+
Invalid examples: a 65-operation batch (request) and a response echoing
|
|
57
|
+
65 operations. external/_shared/0.1 already names PresignedRequestSet for
|
|
58
|
+
"0.2 and later" and keeps its own 128 bound for 0.2, so it is unchanged.
|
|
59
|
+
rooms/blobs/upload/begin/0.2's 128 part targets per answer stays true: a
|
|
60
|
+
host fills such an answer with two issuances. Bindings regenerated.
|
|
61
|
+
|
|
14
62
|
## 0.26.8 — 2026-10-15
|
|
15
63
|
|
|
16
64
|
|