studio.wholebit.stones.keyring

The encryption setting of the notebook. 'encrypted' is true when notes are encrypted with a key from 10 words. rkey 'self'.

Repository @wholebit.studio did:plc:ac2w4xr5dnk6nz7thoo2lx2c namespace authority
Details · record, key literal:self
Kindrecord
Record keyliteral:self
Authoritystones.wholebit.studio
Commit rev3n2g6jxaozp2o
Indexed

Showing version bafyreihsu2cxrh572r6t52hauuqu77lbzaugjw4iwbn4r5dh3qapg2c6ee. Show the latest

cid bafyreihsu2cxrh572r6t52hauuqu77lbzaugjw4iwbn4r5dh3qapg2c6ee

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "argon2id": {
      "properties": {
        "mem": {
          "type": "integer"
        },
        "ops": {
          "type": "integer"
        },
        "salt": {
          "maxLength": 64,
          "type": "string"
        }
      },
      "required": [
        "salt",
        "ops",
        "mem"
      ],
      "type": "object"
    },
    "main": {
      "description": "The encryption setting of the notebook. 'encrypted' is true when notes are encrypted with a key from 10 words. rkey 'self'.",
      "key": "literal:self",
      "record": {
        "properties": {
          "encrypted": {
            "type": "boolean"
          },
          "kdf": {
            "ref": "#argon2id",
            "type": "ref"
          },
          "keyId": {
            "description": "Hash of the note key. Present when notes are encrypted.",
            "maxLength": 64,
            "type": "string"
          },
          "offKeyId": {
            "description": "keyId of the key that was in use when encryption was turned off.",
            "maxLength": 64,
            "type": "string"
          },
          "offProof": {
            "description": "MAC with that key, which proves that its owner turned encryption off.",
            "maxLength": 64,
            "type": "string"
          },
          "v": {
            "const": 2,
            "type": "integer"
          }
        },
        "required": [
          "v",
          "encrypted"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "studio.wholebit.stones.keyring",
  "lexicon": 1
}