mdip-agent-kit 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/AGENTS.md +4 -3
  2. package/CHANGELOG.md +93 -0
  3. package/README.md +155 -29
  4. package/bin/mdip-agent.js +55 -16
  5. package/examples/agent-handshake.js +6 -4
  6. package/examples/purchase-authorization.js +5 -2
  7. package/llms.txt +4 -1
  8. package/package.json +4 -2
  9. package/src/index.js +209 -53
  10. package/test/api-security.mjs +130 -0
  11. package/test/e2e.sh +68 -0
  12. package/test/vectors-negative.sh +240 -0
  13. package/vectors/README.md +44 -4
  14. package/vectors/decrypt-openssl.sh +11 -2
  15. package/vectors/expiry-cases.txt +64 -20
  16. package/vectors/ext-wycheproof/SHA256SUMS +8 -0
  17. package/vectors/ext-wycheproof/pub.pem +4 -0
  18. package/vectors/ext-wycheproof/source.json +29 -0
  19. package/vectors/ext-wycheproof/tc103.msg +1 -0
  20. package/vectors/ext-wycheproof/tc103.sig.der +0 -0
  21. package/vectors/ext-wycheproof/tc145.msg +1 -0
  22. package/vectors/ext-wycheproof/tc145.sig.der +0 -0
  23. package/vectors/ext-wycheproof/tc7.msg +1 -0
  24. package/vectors/ext-wycheproof/tc7.sig.der +0 -0
  25. package/vectors/generate.js +9 -4
  26. package/vectors/kav-1/SHA256SUMS +7 -3
  27. package/vectors/kav-1/payload.json +3 -3
  28. package/vectors/kav-1/signed.json +6 -6
  29. package/vectors/kav-1/test-key.json +7 -7
  30. package/vectors/make-mdip-fixture-2.js +13 -11
  31. package/vectors/make-mdip-fixture.js +12 -7
  32. package/vectors/mdip-challenge-1/SHA256SUMS +15 -5
  33. package/vectors/mdip-challenge-1/challenge.op.json +11 -11
  34. package/vectors/mdip-challenge-1/challenge.signed-op.bin +1 -0
  35. package/vectors/mdip-challenge-1/dids.json +3 -3
  36. package/vectors/mdip-challenge-1/responder-agent.op.json +7 -7
  37. package/vectors/mdip-challenge-1/responder-agent.signed-op.bin +1 -0
  38. package/vectors/mdip-challenge-1/response.op.json +15 -15
  39. package/vectors/mdip-challenge-1/response.signed-op.bin +1 -0
  40. package/vectors/mdip-challenge-1/verifier-agent.op.json +7 -7
  41. package/vectors/mdip-challenge-1/verifier-agent.signed-op.bin +1 -0
  42. package/vectors/mdip-challenge-1/verify-response.json +3 -3
  43. package/vectors/mdip-challenge-2/SHA256SUMS +17 -11
  44. package/vectors/mdip-challenge-2/challenge.op.json +11 -11
  45. package/vectors/mdip-challenge-2/dids.json +3 -3
  46. package/vectors/mdip-challenge-2/responder-agent.op.json +7 -7
  47. package/vectors/mdip-challenge-2/response.op.json +15 -15
  48. package/vectors/mdip-challenge-2/test-verifier.json +9 -9
  49. package/vectors/mdip-challenge-2/verifier-agent.op.json +7 -7
  50. package/vectors/mdip-challenge-2/verify-response.json +6 -6
  51. package/vectors/verify-openssl.sh +280 -46
  52. package/vectors/verify-with-kit.js +207 -10
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "WARNING": "PUBLIC TEST KEY - private part is published on purpose; never use it",
3
3
  "label": "mdip-agent-kit kav-1 PUBLIC TEST KEY - never use for anything real",
4
- "privateKeyHex": "c1433ed3bcadb796140c3bdbe694698f70ba1cf1f57f4e4e5ab789c22a2e3732",
5
- "publicJwk": {
6
- "kty": "EC",
4
+ "privateJwk": {
7
5
  "crv": "secp256k1",
6
+ "d": "wUM-07ytt5YUDDvb5pRpj3C6HPH1f05OWreJwiouNzI",
7
+ "kty": "EC",
8
8
  "x": "oHkFvCmbWtTbv23XnA3GxISuOAevKWhEqIc6gTrGz3s",
9
9
  "y": "f03etbi1OB3A5-7hizstgooDg8O51i7J3bpDY7iDZ8M"
10
10
  },
11
- "privateJwk": {
12
- "kty": "EC",
11
+ "privateKeyHex": "c1433ed3bcadb796140c3bdbe694698f70ba1cf1f57f4e4e5ab789c22a2e3732",
12
+ "publicJwk": {
13
13
  "crv": "secp256k1",
14
+ "kty": "EC",
14
15
  "x": "oHkFvCmbWtTbv23XnA3GxISuOAevKWhEqIc6gTrGz3s",
15
- "y": "f03etbi1OB3A5-7hizstgooDg8O51i7J3bpDY7iDZ8M",
16
- "d": "wUM-07ytt5YUDDvb5pRpj3C6HPH1f05OWreJwiouNzI"
16
+ "y": "f03etbi1OB3A5-7hizstgooDg8O51i7J3bpDY7iDZ8M"
17
17
  }
18
18
  }
@@ -21,6 +21,10 @@ fs.mkdirSync(out, { recursive: true });
21
21
  const cipher = new CipherNode();
22
22
  const tmp = fs.mkdtempSync(path.join(os.tmpdir(), 'kav2-fixture-'));
23
23
  const w = (f, data) => fs.writeFileSync(path.join(out, f), data);
24
+ // convenience JSON copies are written with keys in JCS order (2-space indent) so the pure-bash checker can
25
+ // compare them to the signed bytes: strip indentation, '": ' -> '":' and newlines == JCS
26
+ const sortKeys = v => Array.isArray(v) ? v.map(sortKeys) : v && typeof v === 'object' ? Object.fromEntries(Object.keys(v).sort().map(k => [k, sortKeys(v[k])])) : v;
27
+ const pretty = o => JSON.stringify(sortKeys(o), null, 2) + '\n';
24
28
  const der = hex => {
25
29
  const int = b => { let i = 0; while (i < b.length - 1 && b[i] === 0) i++; b = b.subarray(i); if (b[0] & 0x80) b = Buffer.concat([Buffer.from([0]), b]); return Buffer.concat([Buffer.from([0x02, b.length]), b]); };
26
30
  const body = Buffer.concat([int(Buffer.from(hex.slice(0, 64), 'hex')), int(Buffer.from(hex.slice(64), 'hex'))]);
@@ -49,13 +53,12 @@ try {
49
53
  w(`${k}.pub.pem`, crypto.createPublicKey({ key: { ...ops[k].publicJwk }, format: 'jwk' }).export({ type: 'spki', format: 'pem' }));
50
54
  const priv = crypto.createPrivateKey({ key: { ...vkp.privateJwk }, format: 'jwk' });
51
55
  w('verifier-agent.PUBLIC-TEST-KEY.priv.pem', priv.export({ type: 'pkcs8', format: 'pem' }));
52
- w('test-verifier.json', JSON.stringify({
56
+ w('test-verifier.json', pretty({
53
57
  WARNING: 'PUBLIC TEST VERIFIER - wallet mnemonic and private key are published on purpose; never use them',
54
58
  label: LABEL, mnemonicEntropy: 'first 16 bytes of sha256(label)', mnemonic,
55
59
  derivationPath: "m/44'/0'/0'/0/0", did: verifier.did, publicJwk: vkp.publicJwk, privateJwk: vkp.privateJwk,
56
- }, null, 2) + '\n');
60
+ }));
57
61
 
58
- const sums = [];
59
62
  for (const [k, op] of Object.entries(ops)) {
60
63
  const copy = JSON.parse(JSON.stringify(op)); delete copy.signature;
61
64
  const msg = cipher.canonicalizeJSON(copy);
@@ -63,12 +66,11 @@ try {
63
66
  if (hash !== op.signature.hash) throw new Error(`${k}: hash mismatch`);
64
67
  const signerKey = op.mdip.type === 'agent' ? op.publicJwk : ops[op.controller === verifier.did ? 'verifier-agent' : 'responder-agent'].publicJwk;
65
68
  if (!cipher.verifySig(hash, op.signature.value, signerKey)) throw new Error(`${k}: sig fails`);
66
- const full = cipher.canonicalizeJSON(op); // DID suffix = CIDv1(dag-json, sha256(JCS(signed op)))
67
- w(`${k}.op.json`, JSON.stringify(op, null, 2) + '\n');
69
+ const full = cipher.canonicalizeJSON(op); // DID suffix = CIDv1(json 0x0200, sha256(JCS(signed op)))
70
+ w(`${k}.op.json`, pretty(op));
68
71
  w(`${k}.message.bin`, msg);
69
72
  w(`${k}.sig.der`, der(op.signature.value));
70
73
  w(`${k}.signed-op.bin`, full);
71
- sums.push(`${k}.message.bin`, `${k}.sig.der`, `${k}.signed-op.bin`);
72
74
  }
73
75
  // The response ciphertext the verifier received, and the plaintext it decrypts to (exact bytes).
74
76
  const ct = ops.response.data.encrypted.cipher_receiver;
@@ -76,11 +78,11 @@ try {
76
78
  const plaintext = cipher.decryptMessage(ops['responder-agent'].publicJwk, vkp.privateJwk, ct);
77
79
  w('response.plaintext.json', plaintext);
78
80
  if (JSON.parse(plaintext).response.challenge !== challengeDid) throw new Error('binding mismatch');
79
- sums.push('response.cipher_receiver.bin', 'response.plaintext.json');
80
- w('dids.json', JSON.stringify(names, null, 2) + '\n');
81
- w('verify-response.json', JSON.stringify(result, null, 2) + '\n');
82
- sums.push('verifier-agent.pub.pem', 'responder-agent.pub.pem', 'verifier-agent.PUBLIC-TEST-KEY.priv.pem', 'dids.json');
83
- w('SHA256SUMS', sums.map(f => crypto.createHash('sha256').update(fs.readFileSync(path.join(out, f))).digest('hex') + ' ' + f).join('\n') + '\n');
81
+ w('dids.json', pretty(names));
82
+ w('verify-response.json', pretty(result));
83
+ // every file in the dir, byte-sorted (verify-openssl.sh rejects unlisted files)
84
+ w('SHA256SUMS', fs.readdirSync(out).filter(f => f !== 'SHA256SUMS').sort()
85
+ .map(f => crypto.createHash('sha256').update(fs.readFileSync(path.join(out, f))).digest('hex') + ' ' + f).join('\n') + '\n');
84
86
  console.log(JSON.stringify({ out, names, match: result.match, plaintext }, null, 2));
85
87
  } finally {
86
88
  fs.rmSync(tmp, { recursive: true, force: true });
@@ -2,7 +2,8 @@
2
2
  // Captures a REAL MDIP challenge -> response round trip as a fixture (vectors/mdip-challenge-1/).
3
3
  // Creates two clearly-named throwaway identities in temp homes (no secrets are written to the repo),
4
4
  // runs createChallenge / createResponse / verifyResponse through this kit, then exports the signed
5
- // create operations from the gatekeeper and writes stock-tool encodings of each signature.
5
+ // create operations from the gatekeeper and writes stock-tool encodings of each signature, plus each
6
+ // op's full JCS bytes (<name>.signed-op.bin) so every DID can be recomputed offline.
6
7
  // Usage: MDIP_GATEKEEPER_URL=http://localhost:4224 node vectors/make-mdip-fixture.js
7
8
  // NOTE: like `npm test`, this publishes throwaway DIDs to the configured registry.
8
9
  import fs from 'node:fs';
@@ -19,6 +20,10 @@ fs.mkdirSync(out, { recursive: true });
19
20
  const cipher = new CipherNode();
20
21
  const tmp = fs.mkdtempSync(path.join(os.tmpdir(), 'kav-fixture-'));
21
22
  const w = (f, data) => fs.writeFileSync(path.join(out, f), data);
23
+ // convenience JSON copies are written with keys in JCS order (2-space indent) so the pure-bash checker can
24
+ // compare them to the signed bytes: strip indentation, '": ' -> '":' and newlines == JCS
25
+ const sortKeys = v => Array.isArray(v) ? v.map(sortKeys) : v && typeof v === 'object' ? Object.fromEntries(Object.keys(v).sort().map(k => [k, sortKeys(v[k])])) : v;
26
+ const pretty = o => JSON.stringify(sortKeys(o), null, 2) + '\n';
22
27
  const der = hex => {
23
28
  const int = b => { let i = 0; while (i < b.length - 1 && b[i] === 0) i++; b = b.subarray(i); if (b[0] & 0x80) b = Buffer.concat([Buffer.from([0]), b]); return Buffer.concat([Buffer.from([0x02, b.length]), b]); };
24
29
  const body = Buffer.concat([int(Buffer.from(hex.slice(0, 64), 'hex')), int(Buffer.from(hex.slice(64), 'hex'))]);
@@ -43,7 +48,6 @@ try {
43
48
  pubs[names[k]] = crypto.createPublicKey({ key: { ...ops[k].publicJwk }, format: 'jwk' }).export({ type: 'spki', format: 'pem' });
44
49
  w(`${k}.pub.pem`, pubs[names[k]]);
45
50
  }
46
- const sums = [];
47
51
  for (const [k, op] of Object.entries(ops)) {
48
52
  const copy = JSON.parse(JSON.stringify(op)); delete copy.signature;
49
53
  const msg = cipher.canonicalizeJSON(copy);
@@ -52,15 +56,16 @@ try {
52
56
  // Agent create ops are self-signed (key in op.publicJwk); asset ops are signed by their controller agent.
53
57
  const signerKey = op.mdip.type === 'agent' ? op.publicJwk : ops[op.controller === verifier.did ? 'verifier-agent' : 'responder-agent'].publicJwk;
54
58
  if (!cipher.verifySig(hash, op.signature.value, signerKey)) throw new Error(`${k}: sig fails`);
55
- w(`${k}.op.json`, JSON.stringify(op, null, 2) + '\n');
59
+ w(`${k}.op.json`, pretty(op));
56
60
  w(`${k}.message.bin`, msg);
57
61
  w(`${k}.sig.der`, der(op.signature.value));
58
- sums.push(`${k}.message.bin`, `${k}.sig.der`);
62
+ w(`${k}.signed-op.bin`, cipher.canonicalizeJSON(op)); // DID == CID(sha256(these bytes))
59
63
  }
60
- w('dids.json', JSON.stringify(dids, null, 2) + '\n');
64
+ w('dids.json', pretty(dids));
61
65
  // The decrypted response as seen by the verifier (contents are not secret; throwaway identities).
62
- w('verify-response.json', JSON.stringify(result, null, 2) + '\n');
63
- w('SHA256SUMS', sums.concat(['verifier-agent.pub.pem', 'responder-agent.pub.pem'])
66
+ w('verify-response.json', pretty(result));
67
+ // every file in the dir, byte-sorted (verify-openssl.sh rejects unlisted files)
68
+ w('SHA256SUMS', fs.readdirSync(out).filter(f => f !== 'SHA256SUMS').sort()
64
69
  .map(f => crypto.createHash('sha256').update(fs.readFileSync(path.join(out, f))).digest('hex') + ' ' + f).join('\n') + '\n');
65
70
  console.log(JSON.stringify({ out, dids, match: result.match }, null, 2));
66
71
  } finally {
@@ -1,10 +1,20 @@
1
- 365a0ced00c124622d67166d415c76cb54cb6dcace2929684d1a90fc5f4a9ca1 verifier-agent.message.bin
2
- 4a5a78fb38ee318c7cde735e397b125b33f6d45326eb1c4bc915f3b4b3cc2876 verifier-agent.sig.der
3
- e44267b37efe89f8eedea17454627ac65604f90a0f04aa864ad593e37fd5db05 responder-agent.message.bin
4
- eee56de72b84f0777a339ab4113d8636cf73685f6ee879d21436331a5f08e279 responder-agent.sig.der
5
1
  a81eb39199dbffd68011e623873803b7b707d164610a3985b193da1d316f3c8e challenge.message.bin
2
+ 0153c5502e16844f3d2808ee7951fe447a284289dbcf5fe1894b2415fc0ad8ef challenge.op.json
6
3
  2b16fb43d3cc6deb35d1f5d995e4a3cf303f49df9f2ff1e359606bc0cdd85199 challenge.sig.der
4
+ 7ee6092de0ee29120b6d1ed7b69a5b5f91a5f213bd7a966419e112cd7c88dcaa challenge.signed-op.bin
5
+ 8d873dd42139359d914880424b4f612d8a6775f96841b5954d44bda79abb72e1 dids.json
6
+ e44267b37efe89f8eedea17454627ac65604f90a0f04aa864ad593e37fd5db05 responder-agent.message.bin
7
+ 072b733001eb8d971bb509823984dc86177828b1fff32975c66a3209d7c20e24 responder-agent.op.json
8
+ a56b1ca4d1af0128e8d44b032a1fa5e164288a0a8a3d94b937b1a0a072fa0197 responder-agent.pub.pem
9
+ eee56de72b84f0777a339ab4113d8636cf73685f6ee879d21436331a5f08e279 responder-agent.sig.der
10
+ 0aeac19002d8b35cc694b77e0d1194d0dfe11d99167c0c8f721eba0fcf7b3701 responder-agent.signed-op.bin
7
11
  4263cea2014b2d908ee9110a5b484715ebbe4540e754a7657fa0f55849de6128 response.message.bin
12
+ 55384ab5d1d92725dc8442d2a79c9df02dffdffae6b4a31234be5a2a384b06b0 response.op.json
8
13
  7b3915c9f99dcb65a75ff501b70a120815a10159df980c8929931acb9182e1d8 response.sig.der
14
+ 41adaab255d35b509f12d9c617a1f46dcea6e6224c92b7b2061b32ac16780bb1 response.signed-op.bin
15
+ 365a0ced00c124622d67166d415c76cb54cb6dcace2929684d1a90fc5f4a9ca1 verifier-agent.message.bin
16
+ 0a8765226667c10aa51a5acf1f788c350a4a8a98a486ca3e310bb51a2c0f7601 verifier-agent.op.json
9
17
  7a0f8fed9958c043fbd2941be2ac6b8216214d90a095765e24a3b5876f17f1b1 verifier-agent.pub.pem
10
- a56b1ca4d1af0128e8d44b032a1fa5e164288a0a8a3d94b937b1a0a072fa0197 responder-agent.pub.pem
18
+ 4a5a78fb38ee318c7cde735e397b125b33f6d45326eb1c4bc915f3b4b3cc2876 verifier-agent.sig.der
19
+ b5c7cbefcc8a5c47a8849d61ff33b926579ed4d0cc1f4edafb77e28b9136b9d3 verifier-agent.signed-op.bin
20
+ b6557335249617ee1d1526d5473cfdba867304f7e8c64d0fe3223cdec7af94e5 verify-response.json
@@ -1,21 +1,21 @@
1
1
  {
2
- "type": "create",
2
+ "controller": "did:mdip:z3v8AuafKYqAKRVQVArS7VX399DWXp6AqUofefLxE84Ksi5FKjx",
3
3
  "created": "2026-10-26T15:19:53.676Z",
4
+ "data": {
5
+ "challenge": {}
6
+ },
4
7
  "mdip": {
5
- "version": 1,
6
- "type": "asset",
8
+ "prefix": "did:mdip",
7
9
  "registry": "hyperswarm",
10
+ "type": "asset",
8
11
  "validUntil": "2026-10-26T16:19:53.672Z",
9
- "prefix": "did:mdip"
10
- },
11
- "controller": "did:mdip:z3v8AuafKYqAKRVQVArS7VX399DWXp6AqUofefLxE84Ksi5FKjx",
12
- "data": {
13
- "challenge": {}
12
+ "version": 1
14
13
  },
15
14
  "signature": {
16
- "signer": "did:mdip:z3v8AuafKYqAKRVQVArS7VX399DWXp6AqUofefLxE84Ksi5FKjx",
17
- "signed": "2026-10-26T15:19:53.683Z",
18
15
  "hash": "a81eb39199dbffd68011e623873803b7b707d164610a3985b193da1d316f3c8e",
16
+ "signed": "2026-10-26T15:19:53.683Z",
17
+ "signer": "did:mdip:z3v8AuafKYqAKRVQVArS7VX399DWXp6AqUofefLxE84Ksi5FKjx",
19
18
  "value": "e7f94827c6332c246a00cdd35acc233ce71cfb03cd93107cc4dce33d89e3bd6f69fe5dd62d1b259a2164d32479b3fdbc0dc60231daba344821a2e5e4a195101c"
20
- }
19
+ },
20
+ "type": "create"
21
21
  }
@@ -0,0 +1 @@
1
+ {"controller":"did:mdip:z3v8AuafKYqAKRVQVArS7VX399DWXp6AqUofefLxE84Ksi5FKjx","created":"2026-10-26T15:19:53.676Z","data":{"challenge":{}},"mdip":{"prefix":"did:mdip","registry":"hyperswarm","type":"asset","validUntil":"2026-10-26T16:19:53.672Z","version":1},"signature":{"hash":"a81eb39199dbffd68011e623873803b7b707d164610a3985b193da1d316f3c8e","signed":"2026-10-26T15:19:53.683Z","signer":"did:mdip:z3v8AuafKYqAKRVQVArS7VX399DWXp6AqUofefLxE84Ksi5FKjx","value":"e7f94827c6332c246a00cdd35acc233ce71cfb03cd93107cc4dce33d89e3bd6f69fe5dd62d1b259a2164d32479b3fdbc0dc60231daba344821a2e5e4a195101c"},"type":"create"}
@@ -1,6 +1,6 @@
1
1
  {
2
- "verifier-agent": "did:mdip:z3v8AuafKYqAKRVQVArS7VX399DWXp6AqUofefLxE84Ksi5FKjx",
3
- "responder-agent": "did:mdip:z3v8AuaTpa2sv416LhYnLLghNPBiqiByPhgPCMyJDvh3nEWX1AQ",
4
2
  "challenge": "did:mdip:z3v8AuabdK9jyaLmHoWNumjBkU7wTZSUZJTBepL9QQZEqXMxCgq",
5
- "response": "did:mdip:z3v8AuaXWLRpxX5228cexKgnxhnME9pAf8QtQqG9ZJccEe6VRMz"
3
+ "responder-agent": "did:mdip:z3v8AuaTpa2sv416LhYnLLghNPBiqiByPhgPCMyJDvh3nEWX1AQ",
4
+ "response": "did:mdip:z3v8AuaXWLRpxX5228cexKgnxhnME9pAf8QtQqG9ZJccEe6VRMz",
5
+ "verifier-agent": "did:mdip:z3v8AuafKYqAKRVQVArS7VX399DWXp6AqUofefLxE84Ksi5FKjx"
6
6
  }
@@ -1,21 +1,21 @@
1
1
  {
2
- "type": "create",
3
2
  "created": "2026-10-26T15:19:53.599Z",
4
3
  "mdip": {
5
- "version": 1,
6
- "type": "agent",
4
+ "prefix": "did:mdip",
7
5
  "registry": "hyperswarm",
8
- "prefix": "did:mdip"
6
+ "type": "agent",
7
+ "version": 1
9
8
  },
10
9
  "publicJwk": {
11
- "kty": "EC",
12
10
  "crv": "secp256k1",
11
+ "kty": "EC",
13
12
  "x": "VoCzuArwyN1RMdC4QqYL-hO3sspTxYn9JQWKAods9_I",
14
13
  "y": "cSRC4r0sbTQJ-xxiaYL8iwo1Ci00pthCTZY7KamioYw"
15
14
  },
16
15
  "signature": {
17
- "signed": "2026-10-26T15:19:53.600Z",
18
16
  "hash": "e44267b37efe89f8eedea17454627ac65604f90a0f04aa864ad593e37fd5db05",
17
+ "signed": "2026-10-26T15:19:53.600Z",
19
18
  "value": "f50c95e74441522110c5ebdf5f527598a49244c2d105751c54c86813a0db869f459853249f668f0c6b819496a53813da9aacb1e8d54784e25a745d78e43e15a4"
20
- }
19
+ },
20
+ "type": "create"
21
21
  }
@@ -0,0 +1 @@
1
+ {"created":"2026-10-26T15:19:53.599Z","mdip":{"prefix":"did:mdip","registry":"hyperswarm","type":"agent","version":1},"publicJwk":{"crv":"secp256k1","kty":"EC","x":"VoCzuArwyN1RMdC4QqYL-hO3sspTxYn9JQWKAods9_I","y":"cSRC4r0sbTQJ-xxiaYL8iwo1Ci00pthCTZY7KamioYw"},"signature":{"hash":"e44267b37efe89f8eedea17454627ac65604f90a0f04aa864ad593e37fd5db05","signed":"2026-10-26T15:19:53.600Z","value":"f50c95e74441522110c5ebdf5f527598a49244c2d105751c54c86813a0db869f459853249f668f0c6b819496a53813da9aacb1e8d54784e25a745d78e43e15a4"},"type":"create"}
@@ -1,27 +1,27 @@
1
1
  {
2
- "type": "create",
3
- "created": "2026-10-26T15:19:53.720Z",
4
- "mdip": {
5
- "version": 1,
6
- "type": "asset",
7
- "registry": "hyperswarm",
8
- "validUntil": "2026-10-26T16:19:53.672Z",
9
- "prefix": "did:mdip"
10
- },
11
2
  "controller": "did:mdip:z3v8AuaTpa2sv416LhYnLLghNPBiqiByPhgPCMyJDvh3nEWX1AQ",
3
+ "created": "2026-10-26T15:19:53.720Z",
12
4
  "data": {
13
5
  "encrypted": {
14
- "sender": "did:mdip:z3v8AuaTpa2sv416LhYnLLghNPBiqiByPhgPCMyJDvh3nEWX1AQ",
15
- "created": "2026-10-26T15:19:53.718Z",
16
6
  "cipher_hash": null,
7
+ "cipher_receiver": "i-V8JuCrxXkkW8HDuhyu-vIC6wY3PlAAiRGLCKmBuU8dTiVli5YHqxCP5JxlL0kouj3PdEmBO79m4yBeO-xdHU7Zeh1tw41tV63rL36zMaEY5bdFf6MN0nZZr_fanEO9of54GxdSTvkyt0TnbehQwHjxmKTN3rdf7LOWj2PR8QDGZhDJqcGb-P2bHCJByS7FkqemVVFDrITHaMgkzQrvWUqn_Y02H8xL68MlhDYpf19IGnZ_FpUxYW3JUjCUtQVrpeZI_eq4HAOI_Dz9CqghzKtgaKzbtvM8fxbyhIFzb5iztKuvtnNefBFAb9QnU4nbRNZf5cbxXZRYsQ",
17
8
  "cipher_sender": "o5o0BGO7GQfCZq8K6-dNo1YG7w3w02He1cAaAgx9JFSlqkBHgrET65Cw3ZwWIhKEBIQZARd-wsi6Pqg2Qgzxcwg-XB3i6sHk5yjBtSjkK2YKIK0or5v2otaiMtaRvPEIoxT0DwoIHzKisupaRZnnC2eG9oZ3QzdCyQDlWK8PbC6f3-Ad9NUMOU1vY7Qcp8SYoZ7czf9LRspO2ikF4Yrx28p4R6KhOEMWOI-B_tY5vbQGVTUI5JbCkrQTpYLZas2aUP6CMqS1KeDkhYYhBFS1Dt6o0AzsA0pXQ8pPnLbzHrxKFXN_6fe3y2et6iHux4wlZVlp3PXydE7cBA",
18
- "cipher_receiver": "i-V8JuCrxXkkW8HDuhyu-vIC6wY3PlAAiRGLCKmBuU8dTiVli5YHqxCP5JxlL0kouj3PdEmBO79m4yBeO-xdHU7Zeh1tw41tV63rL36zMaEY5bdFf6MN0nZZr_fanEO9of54GxdSTvkyt0TnbehQwHjxmKTN3rdf7LOWj2PR8QDGZhDJqcGb-P2bHCJByS7FkqemVVFDrITHaMgkzQrvWUqn_Y02H8xL68MlhDYpf19IGnZ_FpUxYW3JUjCUtQVrpeZI_eq4HAOI_Dz9CqghzKtgaKzbtvM8fxbyhIFzb5iztKuvtnNefBFAb9QnU4nbRNZf5cbxXZRYsQ"
9
+ "created": "2026-10-26T15:19:53.718Z",
10
+ "sender": "did:mdip:z3v8AuaTpa2sv416LhYnLLghNPBiqiByPhgPCMyJDvh3nEWX1AQ"
19
11
  }
20
12
  },
13
+ "mdip": {
14
+ "prefix": "did:mdip",
15
+ "registry": "hyperswarm",
16
+ "type": "asset",
17
+ "validUntil": "2026-10-26T16:19:53.672Z",
18
+ "version": 1
19
+ },
21
20
  "signature": {
22
- "signer": "did:mdip:z3v8AuaTpa2sv416LhYnLLghNPBiqiByPhgPCMyJDvh3nEWX1AQ",
23
- "signed": "2026-10-26T15:19:53.724Z",
24
21
  "hash": "4263cea2014b2d908ee9110a5b484715ebbe4540e754a7657fa0f55849de6128",
22
+ "signed": "2026-10-26T15:19:53.724Z",
23
+ "signer": "did:mdip:z3v8AuaTpa2sv416LhYnLLghNPBiqiByPhgPCMyJDvh3nEWX1AQ",
25
24
  "value": "19062ccf888b9e67a0cab2dd677ce5b175787ba1b4b8b9061abff97b3690f0f93a0cfb3cc282a93af5da52c4d9fa2e78e39a2ca3bb48d418f97ceb2c19ac9dae"
26
- }
25
+ },
26
+ "type": "create"
27
27
  }
@@ -0,0 +1 @@
1
+ {"controller":"did:mdip:z3v8AuaTpa2sv416LhYnLLghNPBiqiByPhgPCMyJDvh3nEWX1AQ","created":"2026-10-26T15:19:53.720Z","data":{"encrypted":{"cipher_hash":null,"cipher_receiver":"i-V8JuCrxXkkW8HDuhyu-vIC6wY3PlAAiRGLCKmBuU8dTiVli5YHqxCP5JxlL0kouj3PdEmBO79m4yBeO-xdHU7Zeh1tw41tV63rL36zMaEY5bdFf6MN0nZZr_fanEO9of54GxdSTvkyt0TnbehQwHjxmKTN3rdf7LOWj2PR8QDGZhDJqcGb-P2bHCJByS7FkqemVVFDrITHaMgkzQrvWUqn_Y02H8xL68MlhDYpf19IGnZ_FpUxYW3JUjCUtQVrpeZI_eq4HAOI_Dz9CqghzKtgaKzbtvM8fxbyhIFzb5iztKuvtnNefBFAb9QnU4nbRNZf5cbxXZRYsQ","cipher_sender":"o5o0BGO7GQfCZq8K6-dNo1YG7w3w02He1cAaAgx9JFSlqkBHgrET65Cw3ZwWIhKEBIQZARd-wsi6Pqg2Qgzxcwg-XB3i6sHk5yjBtSjkK2YKIK0or5v2otaiMtaRvPEIoxT0DwoIHzKisupaRZnnC2eG9oZ3QzdCyQDlWK8PbC6f3-Ad9NUMOU1vY7Qcp8SYoZ7czf9LRspO2ikF4Yrx28p4R6KhOEMWOI-B_tY5vbQGVTUI5JbCkrQTpYLZas2aUP6CMqS1KeDkhYYhBFS1Dt6o0AzsA0pXQ8pPnLbzHrxKFXN_6fe3y2et6iHux4wlZVlp3PXydE7cBA","created":"2026-10-26T15:19:53.718Z","sender":"did:mdip:z3v8AuaTpa2sv416LhYnLLghNPBiqiByPhgPCMyJDvh3nEWX1AQ"}},"mdip":{"prefix":"did:mdip","registry":"hyperswarm","type":"asset","validUntil":"2026-10-26T16:19:53.672Z","version":1},"signature":{"hash":"4263cea2014b2d908ee9110a5b484715ebbe4540e754a7657fa0f55849de6128","signed":"2026-10-26T15:19:53.724Z","signer":"did:mdip:z3v8AuaTpa2sv416LhYnLLghNPBiqiByPhgPCMyJDvh3nEWX1AQ","value":"19062ccf888b9e67a0cab2dd677ce5b175787ba1b4b8b9061abff97b3690f0f93a0cfb3cc282a93af5da52c4d9fa2e78e39a2ca3bb48d418f97ceb2c19ac9dae"},"type":"create"}
@@ -1,21 +1,21 @@
1
1
  {
2
- "type": "create",
3
2
  "created": "2026-10-26T15:19:53.361Z",
4
3
  "mdip": {
5
- "version": 1,
6
- "type": "agent",
4
+ "prefix": "did:mdip",
7
5
  "registry": "hyperswarm",
8
- "prefix": "did:mdip"
6
+ "type": "agent",
7
+ "version": 1
9
8
  },
10
9
  "publicJwk": {
11
- "kty": "EC",
12
10
  "crv": "secp256k1",
11
+ "kty": "EC",
13
12
  "x": "4yZSpRtSnw91juo66BaLCFSiEIA8DKQ4CI7ztTJlJEs",
14
13
  "y": "X2gugWUoqQu3nCezr3pSYBj28pReipxnRH23kGoPOlE"
15
14
  },
16
15
  "signature": {
17
- "signed": "2026-10-26T15:19:53.365Z",
18
16
  "hash": "365a0ced00c124622d67166d415c76cb54cb6dcace2929684d1a90fc5f4a9ca1",
17
+ "signed": "2026-10-26T15:19:53.365Z",
19
18
  "value": "5cc3ad400df1be015d05b448b49d788de4b6d664427fe0d99d9018a568098543525674b88da364af9936eb875166d93c01c1614bcc2c6d56c841669427c34cf3"
20
- }
19
+ },
20
+ "type": "create"
21
21
  }
@@ -0,0 +1 @@
1
+ {"created":"2026-10-26T15:19:53.361Z","mdip":{"prefix":"did:mdip","registry":"hyperswarm","type":"agent","version":1},"publicJwk":{"crv":"secp256k1","kty":"EC","x":"4yZSpRtSnw91juo66BaLCFSiEIA8DKQ4CI7ztTJlJEs","y":"X2gugWUoqQu3nCezr3pSYBj28pReipxnRH23kGoPOlE"},"signature":{"hash":"365a0ced00c124622d67166d415c76cb54cb6dcace2929684d1a90fc5f4a9ca1","signed":"2026-10-26T15:19:53.365Z","value":"5cc3ad400df1be015d05b448b49d788de4b6d664427fe0d99d9018a568098543525674b88da364af9936eb875166d93c01c1614bcc2c6d56c841669427c34cf3"},"type":"create"}
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "challenge": "did:mdip:z3v8AuabdK9jyaLmHoWNumjBkU7wTZSUZJTBepL9QQZEqXMxCgq",
3
3
  "credentials": [],
4
- "requested": 0,
5
4
  "fulfilled": 0,
6
5
  "match": true,
6
+ "requested": 0,
7
+ "responder": "did:mdip:z3v8AuaTpa2sv416LhYnLLghNPBiqiByPhgPCMyJDvh3nEWX1AQ",
7
8
  "responseNonce": "ui6M_7_U7KqOgZVTTk4k0uxGnr6mz5J9G40vOle7JyQQ",
8
- "vps": [],
9
- "responder": "did:mdip:z3v8AuaTpa2sv416LhYnLLghNPBiqiByPhgPCMyJDvh3nEWX1AQ"
9
+ "vps": []
10
10
  }
@@ -1,18 +1,24 @@
1
- 304f8e61072bd53f8c6077c17a8130fb4c5c32b7df03df4877927840f47fa286 verifier-agent.message.bin
2
- aeedc84dd1d5d3b4ea44b3e26b651bcb37bae0547a4bb8dd0ff59e86caadddd9 verifier-agent.sig.der
3
- 79b787f6d17ded13dbdd2354facad9e1130f7540f282c95feb9642c7f0c62259 verifier-agent.signed-op.bin
4
- 8dd03638585ae9879f90443387231f079686539fdf23202fd77f8e9c64cebab1 responder-agent.message.bin
5
- fd93ceb9990037595ee673873e1f3a73e4c735b8fff28d7f452b1bd7cf3d4f34 responder-agent.sig.der
6
- b4b75dd4c2eaafdc25efbf3ca91b125bca7fb443e4097bf643edb719c012a345 responder-agent.signed-op.bin
7
1
  a297b228dde5b31d82fc73a231db08c3bcb4da52cbe08098d1e582494f7c9908 challenge.message.bin
2
+ 067d04b1382d33c3fe004b6a33a510f20b81202c11fff5f09717eae5c15bbd91 challenge.op.json
8
3
  9e75039393498b4c5fc6bff43a53141bb78e948c75c545e7b5ad0fcc5c44f6ee challenge.sig.der
9
4
  121891ebf0134e0d0b9a767df3f0367db8734612ea0199c6fe844788996653da challenge.signed-op.bin
5
+ f2b4ce2f155638569d0041238c34cdd46b6bb32feb3adb687be1f8574012ba6a dids.json
6
+ 8dd03638585ae9879f90443387231f079686539fdf23202fd77f8e9c64cebab1 responder-agent.message.bin
7
+ df07e7126535f5a62c9032b7f3a4e9f24296d9095d831bf00c84ebcf77e5bc9f responder-agent.op.json
8
+ 232b067381d813d51472e84b9ffc09b39157f3813f7e85f7d562133f85d37596 responder-agent.pub.pem
9
+ fd93ceb9990037595ee673873e1f3a73e4c735b8fff28d7f452b1bd7cf3d4f34 responder-agent.sig.der
10
+ b4b75dd4c2eaafdc25efbf3ca91b125bca7fb443e4097bf643edb719c012a345 responder-agent.signed-op.bin
11
+ 1a3a67024f5847fe23ac569a5c1db89e70d7f2c39c8a4e5ef4b4450b32561f84 response.cipher_receiver.bin
10
12
  819ef6b2dae2d7400172be292a77aa1588257fd5f7be5e1f085a0b9ac0c89189 response.message.bin
13
+ 2c431fd3c514a306a9aae32d3395b1e28a9b9db56ede282b97bd130c71154808 response.op.json
14
+ 77f446a04c092117a90f95e53d0c2c51b7251db162bac31b70922b76f7681456 response.plaintext.json
11
15
  07b099b003d0fda5a415dcb36771dc09117144487b139c10f2667f7d467f8deb response.sig.der
12
16
  b5ad2a12c5da722e08f9ad60c33344d444d53897a8c519c88b7b4a720fdd10f9 response.signed-op.bin
13
- 1a3a67024f5847fe23ac569a5c1db89e70d7f2c39c8a4e5ef4b4450b32561f84 response.cipher_receiver.bin
14
- 77f446a04c092117a90f95e53d0c2c51b7251db162bac31b70922b76f7681456 response.plaintext.json
15
- f10c6a188f1c6b8117249327f96c3f00ee98e5859869e5e54cf29e8473412c83 verifier-agent.pub.pem
16
- 232b067381d813d51472e84b9ffc09b39157f3813f7e85f7d562133f85d37596 responder-agent.pub.pem
17
+ 51ccdb94754b98a00cc2207439e1489b8d684c05aac87195380a8aa24d9bf7d0 test-verifier.json
17
18
  af390f2d2ede2a07b4ec5ff35c1d27e0bf2f5fbd855b00e8e84da83e020dd87f verifier-agent.PUBLIC-TEST-KEY.priv.pem
18
- 07ef1db1ee18d26a3e00a09dddf42843b64ea3400bc3d68b006ee8238a425189 dids.json
19
+ 304f8e61072bd53f8c6077c17a8130fb4c5c32b7df03df4877927840f47fa286 verifier-agent.message.bin
20
+ 09e40558eda2293cdfd981fa01b39a22d1a65f879785c54aee303f4372c74956 verifier-agent.op.json
21
+ f10c6a188f1c6b8117249327f96c3f00ee98e5859869e5e54cf29e8473412c83 verifier-agent.pub.pem
22
+ aeedc84dd1d5d3b4ea44b3e26b651bcb37bae0547a4bb8dd0ff59e86caadddd9 verifier-agent.sig.der
23
+ 79b787f6d17ded13dbdd2354facad9e1130f7540f282c95feb9642c7f0c62259 verifier-agent.signed-op.bin
24
+ 15e61b061f9accb6f99984a05df67ed3d7c34424cbacbcf463d2e814db93a8ab verify-response.json
@@ -1,21 +1,21 @@
1
1
  {
2
- "type": "create",
2
+ "controller": "did:mdip:z3v8AuabH5z2RyBFCP8KzhS98jSL8Y62JPfis8EJiBo6io6QoRA",
3
3
  "created": "2026-10-26T16:52:16.041Z",
4
+ "data": {
5
+ "challenge": {}
6
+ },
4
7
  "mdip": {
5
- "version": 1,
6
- "type": "asset",
8
+ "prefix": "did:mdip",
7
9
  "registry": "hyperswarm",
10
+ "type": "asset",
8
11
  "validUntil": "2026-10-26T17:52:16.038Z",
9
- "prefix": "did:mdip"
10
- },
11
- "controller": "did:mdip:z3v8AuabH5z2RyBFCP8KzhS98jSL8Y62JPfis8EJiBo6io6QoRA",
12
- "data": {
13
- "challenge": {}
12
+ "version": 1
14
13
  },
15
14
  "signature": {
16
- "signer": "did:mdip:z3v8AuabH5z2RyBFCP8KzhS98jSL8Y62JPfis8EJiBo6io6QoRA",
17
- "signed": "2026-10-26T16:52:16.045Z",
18
15
  "hash": "a297b228dde5b31d82fc73a231db08c3bcb4da52cbe08098d1e582494f7c9908",
16
+ "signed": "2026-10-26T16:52:16.045Z",
17
+ "signer": "did:mdip:z3v8AuabH5z2RyBFCP8KzhS98jSL8Y62JPfis8EJiBo6io6QoRA",
19
18
  "value": "e03ab72983791ae4e888e01433977bc37cd08e13ca0e138b10067c32fa19b23268190eff9296001734b3261b4bede40bb0c285c396126a8510f2219163947750"
20
- }
19
+ },
20
+ "type": "create"
21
21
  }
@@ -1,6 +1,6 @@
1
1
  {
2
- "verifier-agent": "did:mdip:z3v8AuabH5z2RyBFCP8KzhS98jSL8Y62JPfis8EJiBo6io6QoRA",
3
- "responder-agent": "did:mdip:z3v8AuafFPtizoWoRCuV71sNVen1MUCrFuvfFNjhrYmasfnEFy6",
4
2
  "challenge": "did:mdip:z3v8AuaUJbQT6UJRU58Bv8wWKZWCijUQwgej1cNjgoExXZLpeAM",
5
- "response": "did:mdip:z3v8AuafK9H3bXz1apseJCAyp24v2Joh1kYAzdDVBCwzjfaAwAY"
3
+ "responder-agent": "did:mdip:z3v8AuafFPtizoWoRCuV71sNVen1MUCrFuvfFNjhrYmasfnEFy6",
4
+ "response": "did:mdip:z3v8AuafK9H3bXz1apseJCAyp24v2Joh1kYAzdDVBCwzjfaAwAY",
5
+ "verifier-agent": "did:mdip:z3v8AuabH5z2RyBFCP8KzhS98jSL8Y62JPfis8EJiBo6io6QoRA"
6
6
  }
@@ -1,21 +1,21 @@
1
1
  {
2
- "type": "create",
3
2
  "created": "2026-10-26T16:52:15.961Z",
4
3
  "mdip": {
5
- "version": 1,
6
- "type": "agent",
4
+ "prefix": "did:mdip",
7
5
  "registry": "hyperswarm",
8
- "prefix": "did:mdip"
6
+ "type": "agent",
7
+ "version": 1
9
8
  },
10
9
  "publicJwk": {
11
- "kty": "EC",
12
10
  "crv": "secp256k1",
11
+ "kty": "EC",
13
12
  "x": "8pjNHCsnPMrvIaPpahoe3i24dI6HW1dUNVMRPKpOUHo",
14
13
  "y": "K_GcL32twYMH3Wt9ppOraKQJVxwzvuITcVTHhkAAo_k"
15
14
  },
16
15
  "signature": {
17
- "signed": "2026-10-26T16:52:15.962Z",
18
16
  "hash": "8dd03638585ae9879f90443387231f079686539fdf23202fd77f8e9c64cebab1",
17
+ "signed": "2026-10-26T16:52:15.962Z",
19
18
  "value": "b4b9fc978e4241368cf1a0cfc87d917c4c79ebcd3bb1dfc79bed3493f28bcc381987fbf8e58bea2a95c399d2a0c771d5825f043441aadeb54ba617dcb55e1566"
20
- }
19
+ },
20
+ "type": "create"
21
21
  }
@@ -1,27 +1,27 @@
1
1
  {
2
- "type": "create",
3
- "created": "2026-10-26T16:52:16.076Z",
4
- "mdip": {
5
- "version": 1,
6
- "type": "asset",
7
- "registry": "hyperswarm",
8
- "validUntil": "2026-10-26T17:52:16.038Z",
9
- "prefix": "did:mdip"
10
- },
11
2
  "controller": "did:mdip:z3v8AuafFPtizoWoRCuV71sNVen1MUCrFuvfFNjhrYmasfnEFy6",
3
+ "created": "2026-10-26T16:52:16.076Z",
12
4
  "data": {
13
5
  "encrypted": {
14
- "sender": "did:mdip:z3v8AuafFPtizoWoRCuV71sNVen1MUCrFuvfFNjhrYmasfnEFy6",
15
- "created": "2026-10-26T16:52:16.074Z",
16
6
  "cipher_hash": null,
7
+ "cipher_receiver": "uiMHA9AAA9MOHHuXMnFZ-HNCzTrJDJm1VuXvaNO9R97FmZ-v3qvDjNOoYAi1oGOhn2krsd00ZAMmvPoiOWqf1Ows3yMO2tcE1kednFQoIUVg7gC25kjScsa-CfzgeDJk3GI0IlRA7XnG_C0-jPdiyGzBA_RNA_MrFWNhQP6k_ayJdmqdAophEUInX4x5EDHp7s2G5GTPjRPswH7nN9e2Nxf13ioSXd2X7gT7iDBPcWQNU-8jVWgMz4E7Xd7bMxJZeIVwHyDudnuUKbxL_DNunypedW7YMpIAnhBoMdRG5V8eODPr72-vDiz2uzPAELOyIm_ehw0RDgqAeg",
17
8
  "cipher_sender": "ySZI62MoVA63_QzxGd483KUvme_JvD6MI1nHTsht3lqfSj-LP_XMzhago2c8ZqTJEMOAC3zqLvN77LidCeqFRJSlXEgn8hv0qW2nXEzfbCe2pA_0yNKHZ6_Lz2z9Z31fLrc8V2Y4fEOj38XMUS_UML3WVYiJTaLWvyCbB0JEoNEkXCg6xaa8jSu6mvVVevpu088BpFjx2SmYpGBQWNIrWyYyQ_L9Qde-o31zn0lXHe9HFXfO52d7cq6b1H81Bu3xwsA3qxylMKo15OEGca3EKV8C45fKVrB61MMccnkJmWgwEPJ6p5-beFnXsmlM94gMedd4U7mCayO2CQ",
18
- "cipher_receiver": "uiMHA9AAA9MOHHuXMnFZ-HNCzTrJDJm1VuXvaNO9R97FmZ-v3qvDjNOoYAi1oGOhn2krsd00ZAMmvPoiOWqf1Ows3yMO2tcE1kednFQoIUVg7gC25kjScsa-CfzgeDJk3GI0IlRA7XnG_C0-jPdiyGzBA_RNA_MrFWNhQP6k_ayJdmqdAophEUInX4x5EDHp7s2G5GTPjRPswH7nN9e2Nxf13ioSXd2X7gT7iDBPcWQNU-8jVWgMz4E7Xd7bMxJZeIVwHyDudnuUKbxL_DNunypedW7YMpIAnhBoMdRG5V8eODPr72-vDiz2uzPAELOyIm_ehw0RDgqAeg"
9
+ "created": "2026-10-26T16:52:16.074Z",
10
+ "sender": "did:mdip:z3v8AuafFPtizoWoRCuV71sNVen1MUCrFuvfFNjhrYmasfnEFy6"
19
11
  }
20
12
  },
13
+ "mdip": {
14
+ "prefix": "did:mdip",
15
+ "registry": "hyperswarm",
16
+ "type": "asset",
17
+ "validUntil": "2026-10-26T17:52:16.038Z",
18
+ "version": 1
19
+ },
21
20
  "signature": {
22
- "signer": "did:mdip:z3v8AuafFPtizoWoRCuV71sNVen1MUCrFuvfFNjhrYmasfnEFy6",
23
- "signed": "2026-10-26T16:52:16.080Z",
24
21
  "hash": "819ef6b2dae2d7400172be292a77aa1588257fd5f7be5e1f085a0b9ac0c89189",
22
+ "signed": "2026-10-26T16:52:16.080Z",
23
+ "signer": "did:mdip:z3v8AuafFPtizoWoRCuV71sNVen1MUCrFuvfFNjhrYmasfnEFy6",
25
24
  "value": "174cb39fe81cdd7f3e48f9d54a3b3bda126f9e4734e3369ad9c62460493ec0b213bc86ebd91e7fe3e739fe307d266d38d0578335c39896d538e03ba4660d6dc2"
26
- }
25
+ },
26
+ "type": "create"
27
27
  }
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "WARNING": "PUBLIC TEST VERIFIER - wallet mnemonic and private key are published on purpose; never use them",
3
- "label": "mdip-agent-kit mdip-challenge-2 PUBLIC TEST VERIFIER - never use for anything real",
4
- "mnemonicEntropy": "first 16 bytes of sha256(label)",
5
- "mnemonic": "two sugar fold avoid decrease tape quiz enter suspect spring friend ensure",
6
3
  "derivationPath": "m/44'/0'/0'/0/0",
7
4
  "did": "did:mdip:z3v8AuabH5z2RyBFCP8KzhS98jSL8Y62JPfis8EJiBo6io6QoRA",
8
- "publicJwk": {
9
- "kty": "EC",
5
+ "label": "mdip-agent-kit mdip-challenge-2 PUBLIC TEST VERIFIER - never use for anything real",
6
+ "mnemonic": "two sugar fold avoid decrease tape quiz enter suspect spring friend ensure",
7
+ "mnemonicEntropy": "first 16 bytes of sha256(label)",
8
+ "privateJwk": {
10
9
  "crv": "secp256k1",
10
+ "d": "DHF4kSOAUJgtlziC5guj0_Op1aKqKH3NdVLsvTXTKto",
11
+ "kty": "EC",
11
12
  "x": "bX9BWDIW4h1PY9G4HW9oHdcbtn1497wT8Sn5I7pUYFU",
12
13
  "y": "rOgfOT0uSEnru8NPqXEF621htZn8LayC35uN4lmOOe0"
13
14
  },
14
- "privateJwk": {
15
- "kty": "EC",
15
+ "publicJwk": {
16
16
  "crv": "secp256k1",
17
+ "kty": "EC",
17
18
  "x": "bX9BWDIW4h1PY9G4HW9oHdcbtn1497wT8Sn5I7pUYFU",
18
- "y": "rOgfOT0uSEnru8NPqXEF621htZn8LayC35uN4lmOOe0",
19
- "d": "DHF4kSOAUJgtlziC5guj0_Op1aKqKH3NdVLsvTXTKto"
19
+ "y": "rOgfOT0uSEnru8NPqXEF621htZn8LayC35uN4lmOOe0"
20
20
  }
21
21
  }
@@ -1,21 +1,21 @@
1
1
  {
2
- "type": "create",
3
2
  "created": "2026-10-26T16:52:15.731Z",
4
3
  "mdip": {
5
- "version": 1,
6
- "type": "agent",
4
+ "prefix": "did:mdip",
7
5
  "registry": "hyperswarm",
8
- "prefix": "did:mdip"
6
+ "type": "agent",
7
+ "version": 1
9
8
  },
10
9
  "publicJwk": {
11
- "kty": "EC",
12
10
  "crv": "secp256k1",
11
+ "kty": "EC",
13
12
  "x": "bX9BWDIW4h1PY9G4HW9oHdcbtn1497wT8Sn5I7pUYFU",
14
13
  "y": "rOgfOT0uSEnru8NPqXEF621htZn8LayC35uN4lmOOe0"
15
14
  },
16
15
  "signature": {
17
- "signed": "2026-10-26T16:52:15.735Z",
18
16
  "hash": "304f8e61072bd53f8c6077c17a8130fb4c5c32b7df03df4877927840f47fa286",
17
+ "signed": "2026-10-26T16:52:15.735Z",
19
18
  "value": "652ab286c3820c1da4a10b9a0785ea83564a49afa29867d99c819bd5d69580f7114b7c3219bed17e9bbefd08f8bbd32fc0ccf27e98590643dc67068c4d449316"
20
- }
19
+ },
20
+ "type": "create"
21
21
  }
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "challenge": "did:mdip:z3v8AuaUJbQT6UJRU58Bv8wWKZWCijUQwgej1cNjgoExXZLpeAM",
3
3
  "credentials": [],
4
- "requested": 0,
4
+ "expiry": {
5
+ "ok": true
6
+ },
5
7
  "fulfilled": 0,
6
8
  "match": true,
7
- "responseNonce": "ux7adN66ROY2r76oL-nlwCLGhw-lAKTrQL0Bem1FWGfA",
8
- "vps": [],
9
+ "requested": 0,
9
10
  "responder": "did:mdip:z3v8AuafFPtizoWoRCuV71sNVen1MUCrFuvfFNjhrYmasfnEFy6",
10
- "expiry": {
11
- "ok": true
12
- }
11
+ "responseNonce": "ux7adN66ROY2r76oL-nlwCLGhw-lAKTrQL0Bem1FWGfA",
12
+ "vps": []
13
13
  }