{
  "comment": "Test vectors for docs/public/PROTOCOL.md. Every value here is recomputed from the specification text by test/protocol-doc-unit.js and pinned against the engine by daemon/peezacore/protocoldoc_test.go.",
  "version": "peeza-e2e-v2",
  "wire": 2,
  "transfer": {
    "key": "0123456789abcdefghijklmnopqrstuvwxyzABCDEFG",
    "keyHex": "d35db7e39ebbf3d69b71d79f8218a39259a7a29aabb2dbafc31cb30010831051",
    "subkeys": {
      "content": "fd56a64a4093b99e5ec425d7ba13af9cc7a7572dc866bac19292c4416dc7845f",
      "manifest": "730c07adf6cf7e1f58b41bb8477e80348c24667cd7f7be1079eabe573c3b0527",
      "receipt": "e00ca01a2ae2d409131175a91434c2aa07eaa9723a5745bdebe7bdf7e06016e8",
      "delta": "b2b94aec98c41dc6cae53f9ce52ddc0739eb0ff44e064c4e4d2b7a42231c351a",
      "tree": "8eba0b899da8a63cde00c842d60b816b1c48c3aa2be9e868178c04651fdd7187",
      "adopt": "e03607cade4705487825892ab5c5035aaa018691d64c54c7d594858ac615a5b6"
    },
    "manifestPlaintext": "{\"n\":\"holiday photos.zip\",\"s\":6000968,\"t\":1789092766750,\"p\":true,\"d\":true,\"f\":1}",
    "sealedManifest": "GNgoteoie4R2WzT1GoZaS9A0K_tu6q_eJjfDXkehJuJy5cJRQ5rdYGRu-pYmjzwa4OO4wPe2g_Ff9xz8wg9S506dlCAKB188GCfib30q4QmhRnFsgqnQlGMOvg0s3D3v",
    "receipt": {
      "total": 6000968,
      "room": "1WMcraeO",
      "mac": "jOm_VZChG4YBf732hlJaRTdNn7m614lH7It3TsuGDUs"
    },
    "chunk": {
      "index": 2,
      "total": 200000,
      "plaintext": "peeza test chunk",
      "nonceHex": "000000000000000000000002",
      "aadHex": "7065657a612d6532652d76320000000000030d40",
      "frameHex": "0000000000000002fc31fbdf72482c593b92cd5a50c2898992d7076c047892f232c67c1c22977126"
    },
    "conversation": {
      "comment": "The nonce is fresh and random on the wire; this vector fixes one so the frame can be reproduced.",
      "purpose": "adopt",
      "domain": 6,
      "nonceHex": "a0a1a2a3a4a5a6a7a8a9aaab",
      "plaintext": "{\"t\":\"have?\",\"chunk\":64512,\"total\":6000968}",
      "aadHex": "7065657a612d6532652d763206",
      "frame": "oKGio6SlpqeoqaqrwUBzu3zdCi4l6cVFeYIZzwgbVW7AqFD51XT4Q9Y9uK22jf5-DoMmiMLie37QwspXxfnGTC4Kc3TyxQY"
    }
  },
  "nearby": {
    "comment": "Private keys are 32 identical bytes each: A identity 0x11, A ephemeral 0x22, B identity 0x33, B ephemeral 0x44.",
    "aIdentityPublic": "7b4e909bbe7ffe44c465a220037d608ee35897d31ef972f07f74892cb0f73f13",
    "aEphemeralPublic": "0faa684ed28867b97f4a6a2dee5df8ce974e76b7018e3f22a1c4cf2678570f20",
    "bIdentityPublic": "7b0d47d93427f8311160781c7c733fd89f88970aef490d8aa0ee19a4cb8a1b14",
    "bEphemeralPublic": "ff2ee45601ec1b67310c7790404585ae697331eee1c1f8cf2419731c1fff3e6b",
    "transcript": "e6b1a2e4f06d1e769400a2459be89328ba6096524a5b4baa2c7dd6c82c330ec8",
    "sessionKey": "dbbf27b17e4abc643def33f775d3db66e01c30df35b963fdf931f71c13dca43d",
    "proofA": "114df8a11475dbb483a227755faca35f66357e2e6e700f57a744c267f43f36d0",
    "proofB": "5d065f64a6fe019e791d6aba2ba1464db8ca34b9667c2229248cdac1d673ad4d",
    "contentSubkey": "2893ccbfb07b59a85c509f5399c3b693ee3496785831291acfbf040e6f688b23",
    "pake": {
      "comment": "The first-contact code is confirmed with K = SPAKE2(code, id_a, id_b); these fix K at 32 bytes of 0x55 over the transcript above.",
      "key": "5555555555555555555555555555555555555555555555555555555555555555",
      "transcript": "e6b1a2e4f06d1e769400a2459be89328ba6096524a5b4baa2c7dd6c82c330ec8",
      "confirmA": "a0f3251a6ec461a44b3da17a9ed258347494f90bbe7f12a321e20181e8057a46",
      "confirmB": "040b91ce477fcbf4cbf634845cf189117b841498477b6b94b55e83fe83145b15"
    }
  }
}
