tipline/tip/chunk
https://toip.tools/spec/tipline/tip/chunk/0.1
One piece of one attachment, sent after the submit. Dummy chunks pad the count, so the number of messages doesn't reveal the files' sizes.
- Sent
- source's tip DID drop box
- Kind
- One-way. No response is expected; any answer is a separate message.
- Envelope
- Signed by the issuer, addressed to one recipient, timestamped, and encrypted in a TSP Direct message. The signature and recipient binding prevent its use as a bearer token.
- Defined in
projects/tipline/src/protocol/messages.ts:12asCHUNK- Handled in
projects/tipline/src/agents/inbox.ts,projects/tipline/src/agents/source.ts- Design
- 7.1 Message types in
projects/tipline/docs/design.md
Payload
export interface ChunkPayload {
tipId: string;
/** An attachment id, or "pad" for a dummy chunk. */
attachment: string;
index: number;
count: number;
data: string;
padding?: string;
}
Document envelope
Every Trust Task uses this envelope. Replace payload with the structure shown above.
{
"id": "urn:uuid:…",
"type": "https://toip.tools/spec/tipline/tip/chunk/0.1",
"issuer": "did:key:… (the sender)",
"recipient": "did:key:… (the receiver)",
"issuedAt": "2026-11-06T18:00:00.000Z",
"payload": { … },
"proof": {
"type": "DataIntegrityProof",
"cryptosuite": "eddsa-jcs-2022",
"verificationMethod": "did:key:…#…",
"proofPurpose": "assertionMethod",
"proofValue": "z…"
}
}