# social.smallbury.actor.keyring

> Published by [lexicon.pds.smallbury.social](https://lexicon.garden/identity/did:plc:wnagcp6h73nxmvmwid2xxukx)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:wnagcp6h73nxmvmwid2xxukx/social.smallbury.actor.keyring)
- [Documentation](https://lexicon.garden/lexicon/did:plc:wnagcp6h73nxmvmwid2xxukx/social.smallbury.actor.keyring/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:wnagcp6h73nxmvmwid2xxukx/social.smallbury.actor.keyring/examples)

## Definitions

### `social.smallbury.actor.keyring`

**Type**: `record`

Encrypted snapshot of the actor's local pairwise trust secrets for multi-device sync. Ciphertext is encrypted to encryptionPublicKey on social.smallbury.actor.profile; only the identity private key on a authorized device can decrypt it.

**Key**: `literal:self`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `version` | `integer` | Yes | Monotonic counter incremented on each write; used for optimistic merge ordering. |
| `createdAt` | `string` (datetime) | No |  |
| `updatedAt` | `string` (datetime) | Yes |  |
| `ciphertext` | `bytes` | Yes | Encrypted keyring payload (pairwise secrets map) for the profile encryption public key. |

## Raw Schema

```json
{
  "id": "social.smallbury.actor.keyring",
  "defs": {
    "main": {
      "key": "literal:self",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "version",
          "updatedAt",
          "ciphertext"
        ],
        "properties": {
          "version": {
            "type": "integer",
            "minimum": 1,
            "description": "Monotonic counter incremented on each write; used for optimistic merge ordering."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "updatedAt": {
            "type": "string",
            "format": "datetime"
          },
          "ciphertext": {
            "type": "bytes",
            "maxLength": 65536,
            "description": "Encrypted keyring payload (pairwise secrets map) for the profile encryption public key."
          }
        }
      },
      "description": "Encrypted snapshot of the actor's local pairwise trust secrets for multi-device sync. Ciphertext is encrypted to encryptionPublicKey on social.smallbury.actor.profile; only the identity private key on a authorized device can decrypt it."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
