# tipline/proof/present

https://toip.tools/spec/tipline/proof/present/0.1

The source answers a proof request with a fresh membership proof bound to the challenge.

- **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:17`](https://github.com/yourbuddyconner/toip-tools/blob/main/projects/tipline/src/protocol/messages.ts#L17) as `PROOF_PRESENT`
- **Handled in**: [`projects/tipline/src/agents/inbox.ts`](https://github.com/yourbuddyconner/toip-tools/blob/main/projects/tipline/src/agents/inbox.ts), [`projects/tipline/src/agents/source.ts`](https://github.com/yourbuddyconner/toip-tools/blob/main/projects/tipline/src/agents/source.ts)
- **Design**: [7.1 Message types](https://github.com/yourbuddyconner/toip-tools/blob/main/projects/tipline/docs/design.md#71-message-types) in `projects/tipline/docs/design.md`

## Payload

projects/tipline/src/protocol/messages.ts:113:

```ts
export interface ProofPresentPayload {
  tipId: string;
  challenge: string;
  membership: MembershipProof;
  padding?: string;
}
```

## Document envelope

Every Trust Task uses this envelope. Replace `payload` with the structure shown above.

Shape of a document of this type:

```json
{
  "id": "urn:uuid:…",
  "type": "https://toip.tools/spec/tipline/proof/present/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…"
  }
}
```

---

This is the Markdown version of https://toip.tools/spec/tipline/proof/present/0.1/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
