lib

Core libraries for Radroots
git clone https://radroots.dev/git/lib.git
Log | Files | Refs | README

private_opening.v1.json (2143B)


      1 {
      2   "schema": "radroots.nostr.private_opening.v1",
      3   "contract_version": 1,
      4   "state": "existing_nip17_protocol_opening",
      5   "feature": "nip17",
      6   "outer_kind": 1059,
      7   "seal_kind": 13,
      8   "supported_rumor_kinds": [14, 15],
      9   "signed_max_utf8_bytes": 65536,
     10   "rumor_max_utf8_bytes": 24576,
     11   "json_max_depth": 16,
     12   "event_tag_budgets": "Reuse the owning EventWireLimits defaults, with the complete signed-event bound applied independently.",
     13   "order": [
     14     "Bound the typed outer and verify its exact ID/signature before any signer callback.",
     15     "Bind exactly one canonical p recipient to the current signer identity; preserve unrelated bounded outer tags and optional relay hints.",
     16     "Check NIP-44 v2 framing, decrypt, and recheck the selected identity.",
     17     "Bound the complete raw seal and require exact duplicate-safe seven-field signed-event admission, kind13, empty tags, ID and signature.",
     18     "Check seal ciphertext v2 framing, decrypt, and recheck identity again.",
     19     "Bound the complete raw rumor and parse a closed object with a required canonical ID and raw u16 kind before upstream conversion.",
     20     "Recompute the rumor ID and bind seal author and rumor author. Authentic unknown kinds return unsupported before chat-tag interpretation; known message kinds additionally bind the peer/self recipient before decoding."
     21   ],
     22   "rumor_required_fields": ["id", "pubkey", "created_at", "kind", "tags", "content"],
     23   "private_temporary_retention": "Decrypted frames are zeroizing; the temporary parsed rumor clears owned content and tags on drop. Existing returned message/file DTOs remain ordinary owned application data. No whole-process zeroization guarantee is made.",
     24   "limits": [
     25     "Protocol-only existing message/file adapter; no commerce authoring, durable storage, consent, inventory or history authority.",
     26     "Typed upstream outer input cannot recover malformed original raw fields already lost before this API; raw outer ingress closure remains separately required.",
     27     "Actual same-library encrypted regression and existing conformance do not replace full independent nested commerce qualification."
     28   ]
     29 }