Acknowledge Token
This is used by a profile owner to acknowledge a token posted to them.
The acknowledge token must contain a subject (sub) field which points to the actionId of the acknowledged action token.
Content-Addressing
This token is content-addressed using SHA-256:
- The entire JWT token (header + payload + signature) is hashed
- Action ID format:
a1~{base64_hash} - See Content-Addressing & Merkle Trees for details
Database Key
The database key for an acknowledge token is [iss, t, sub]
Purpose: This key ensures that a user can only have one active acknowledgment for a given action. The key components are:
iss: Issuer identity (who is acknowledging)t: Token type (“ACK”)sub: Subject (the action being acknowledged)
Example:
- Owner acknowledges a post → Stored with key
[owner.cloudillo.net, "ACK", a1~post123] - Owner updates the acknowledgment → New token with same key, previous one is marked deleted
- Only ONE acknowledgment per action from the same user
Example
User @owner.cloudillo.net acknowledges an action posted to it’s feed:
| Field | Value |
|---|---|
| iss | owner.cloudillo.net |
| iat | 2024-04-13T00:01:10.000Z |
| k | 20240101 |
| t | ACK |
| sub | GvcUNhIJSqwAxmbn-oxUKFnXMp-663Qes-KcFNLC5aw |