social-kit / test / vectors / mailbox.json
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
  "_doc": "Mailbox-facing deterministic derivations: identity-inbox room ids (pair.ts inboxRoomId) and the compiled-in endpoint fallbacks (consts.ts). The HTTP client itself is network-behavior, not vectored.",
  "deterministic": {
    "inbox_room_ids": [
      {
        "id_pub": "A6EHv_POEL4dcN0Y50vAmWfk1jCbpQ1fHdyGZBJVMbg",
        "room_id": "_aU1x0pTruVtFbvvSEudE-huvwY0cjZklOftlqcbHGQ"
      },
      {
        "id_pub": "Kay64UG8yvCyLhqU000LxzYeUm0L_hLIl5S8kyKWbdc",
        "room_id": "euVZIv_9RKyYbHrhH9Gaz96v-GIgiH0KDp4MEVvxoPg"
      }
    ],
    "endpoints": {
      "descriptor_url": "https://signal.ardegazu.ro/.well-known/ap2p",
      "mailbox_url_fallback": "https://signal.ardegazu.ro/mailbox/v1",
      "mailbox_creds_url_fallback": "https://signal.ardegazu.ro/mailbox-credentials",
      "max_message_kb_fallback": 64
    },
    "notes": [
      "inboxRoomId(idPub) = hkdfId(fromB64url(idPub), SOCIAL_SALT, 'inbox|mailbox|v1') — ikm is the RAW decoded pub bytes",
      "inbox envelope wrap ctx is envCtx(toIdPub) = 'to|v1|<idPub>' (recipient-bound, transport-agnostic)",
      "HTTP shape (doc only, not vectored): POST/GET <base>/rooms/<encodeURIComponent(roomId)>/messages, bearer from <creds>?room=<id>&ttl=86400"
    ]
  }
}

static mirror of HEAD · about · clone: git clone https://git.ardegazu.ro/social-kit.git