Guest User

SDR + Sending

a guest
Jun 15th, 2021
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 10.54 KB | None | 0 0
  1. veramo:agent:createSelectiveDisclosureRequest { data: { tag: '1506211236', issuer: 'did:web:lighthouse.bolte.id', claims: [ [Object] ] } } +0ms
  2.   veramo:agent:didManagerGet { did: 'did:web:lighthouse.bolte.id' } +0ms
  3.   veramo:agent:didManagerGet:result { did: 'did:web:lighthouse.bolte.id', controllerKeyId: '04e12bde1f82e02c4675870ce7858c34966cacfea8b288aefcf14372e1df0fdf0ea0d33f3b43651750265ddbb250e7c5b0e9a2e3340bf83095fbb1fa26898aa134', provider: 'did:web', services: [ Service { id: 'did:web:lighthouse.bolte.id#msg', type: 'Messaging', serviceEndpoint: 'https://lighthouse.bolte.id/messaging', description: 'Handles incoming POST messages' } ], keys: [ { kid: '04e12bde1f82e02c4675870ce7858c34966cacfea8b288aefcf14372e1df0fdf0ea0d33f3b43651750265ddbb250e7c5b0e9a2e3340bf83095fbb1fa26898aa134', type: 'Secp256k1', kms: 'local', publicKeyHex: '04e12bde1f82e02c4675870ce7858c34966cacfea8b288aefcf14372e1df0fdf0ea0d33f3b43651750265ddbb250e7c5b0e9a2e3340bf83095fbb1fa26898aa134' } ], alias: 'lighthouse.bolte.id' } +0ms
  4.   veramo:selective-disclosure:create-sdr Signing SDR with did:web:lighthouse.bolte.id +0ms
  5.   veramo:agent:keyManagerSignJWT { kid: '04e12bde1f82e02c4675870ce7858c34966cacfea8b288aefcf14372e1df0fdf0ea0d33f3b43651750265ddbb250e7c5b0e9a2e3340bf83095fbb1fa26898aa134', data: 'eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NksifQ.eyJpYXQiOjE2MjM3NTM0MDUsInR5cGUiOiJzZHIiLCJ0YWciOiIxNTA2MjExMjM2IiwiY2xhaW1zIjpbeyJpc3N1ZXJzIjpbeyJkaWQiOiJkaWQ6d2ViOmxpZ2h0aG91c2UuYm9sdGUuaWQiLCJ1cmwiOiJodHRwczovL2xpZ2h0aG91c2UuYm9sdGUuaWQifV0sImNyZWRlbnRpYWxUeXBlIjoiUHJvZmlsZSIsImNsYWltVHlwZSI6Im5hbWUiLCJyZWFzb24iOiJXZSB3YW50IHRvIGNoZWNrIHlvdXIgZGVncmVlIGZvciB5b3VyIG5ldyBqb2IhIiwiZXNzZW50aWFsIjp0cnVlfV0sImlzcyI6ImRpZDp3ZWI6bGlnaHRob3VzZS5ib2x0ZS5pZCJ9' } +0ms
  6.   veramo:agent:keyManagerSignJWT:result 'PzglNtd98QNFtj6ItCinystnrCSLcZ-snVIJFeHSmLdmUDsNnp5OM8wm9WUhGPL2BjOcFBw9GdBmsTt_gJ59Fw' +0ms
  7.   veramo:agent:createSelectiveDisclosureRequest:result 'eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NksifQ.eyJpYXQiOjE2MjM3NTM0MDUsInR5cGUiOiJzZHIiLCJ0YWciOiIxNTA2MjExMjM2IiwiY2xhaW1zIjpbeyJpc3N1ZXJzIjpbeyJkaWQiOiJkaWQ6d2ViOmxpZ2h0aG91c2UuYm9sdGUuaWQiLCJ1cmwiOiJodHRwczovL2xpZ2h0aG91c2UuYm9sdGUuaWQifV0sImNyZWRlbnRpYWxUeXBlIjoiUHJvZmlsZSIsImNsYWltVHlwZSI6Im5hbWUiLCJyZWFzb24iOiJXZSB3YW50IHRvIGNoZWNrIHlvdXIgZGVncmVlIGZvciB5b3VyIG5ldyBqb2IhIiwiZXNzZW50aWFsIjp0cnVlfV0sImlzcyI6ImRpZDp3ZWI6bGlnaHRob3VzZS5ib2x0ZS5pZCJ9.PzglNtd98QNFtj6ItCinystnrCSLcZ-snVIJFeHSmLdmUDsNnp5OM8wm9WUhGPL2BjOcFBw9GdBmsTt_gJ59Fw' +0ms
  8.   veramo:agent:sendMessageDIDCommAlpha1 { data: { from: 'did:web:lighthouse.bolte.id', to: 'did:web:veramo-klaus.herokuapp.com', type: 'jwt', body: 'eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NksifQ.eyJpYXQiOjE2MjM3NTM0MDUsInR5cGUiOiJzZHIiLCJ0YWciOiIxNTA2MjExMjM2IiwiY2xhaW1zIjpbeyJpc3N1ZXJzIjpbeyJkaWQiOiJkaWQ6d2ViOmxpZ2h0aG91c2UuYm9sdGUuaWQiLCJ1cmwiOiJodHRwczovL2xpZ2h0aG91c2UuYm9sdGUuaWQifV0sImNyZWRlbnRpYWxUeXBlIjoiUHJvZmlsZSIsImNsYWltVHlwZSI6Im5hbWUiLCJyZWFzb24iOiJXZSB3YW50IHRvIGNoZWNrIHlvdXIgZGVncmVlIGZvciB5b3VyIG5ldyBqb2IhIiwiZXNzZW50aWFsIjp0cnVlfV0sImlzcyI6ImRpZDp3ZWI6bGlnaHRob3VzZS5ib2x0ZS5pZCJ9.PzglNtd98QNFtj6ItCinystnrCSLcZ-snVIJFeHSmLdmUDsNnp5OM8wm9WUhGPL2BjOcFBw9GdBmsTt_gJ59Fw' } } +0ms
  9.   veramo:did-comm:action-handler Resolving didDoc +6m
  10.   veramo:agent:resolveDid { didUrl: 'did:web:veramo-klaus.herokuapp.com' } +0ms
  11.   veramo:resolver Resolving did:web:veramo-klaus.herokuapp.com +6m
  12.   veramo:agent:resolveDid:result { didDocument: { '@context': 'https://w3id.org/did/v1', id: 'did:web:veramo-klaus.herokuapp.com', verificationMethod: [ [Object] ], authentication: [ 'did:web:veramo-klaus.herokuapp.com#04b9caf5657bebda32d4237cdae35ca64b71380a822c465ba1d4fef4209b5578636562754c6b1a15e8ce743cff7a68336965693fd1011958b521d1e0aa4efe60cd' ], service: [ [Object] ] }, didDocumentMetadata: {}, didResolutionMetadata: { contentType: 'application/did+ld+json' } } +0ms
  13.   veramo:agent:didManagerGet { did: 'did:web:lighthouse.bolte.id' } +0ms
  14.   veramo:agent:didManagerGet:result { did: 'did:web:lighthouse.bolte.id', controllerKeyId: '04e12bde1f82e02c4675870ce7858c34966cacfea8b288aefcf14372e1df0fdf0ea0d33f3b43651750265ddbb250e7c5b0e9a2e3340bf83095fbb1fa26898aa134', provider: 'did:web', services: [ Service { id: 'did:web:lighthouse.bolte.id#msg', type: 'Messaging', serviceEndpoint: 'https://lighthouse.bolte.id/messaging', description: 'Handles incoming POST messages' } ], keys: [ { kid: '04e12bde1f82e02c4675870ce7858c34966cacfea8b288aefcf14372e1df0fdf0ea0d33f3b43651750265ddbb250e7c5b0e9a2e3340bf83095fbb1fa26898aa134', type: 'Secp256k1', kms: 'local', publicKeyHex: '04e12bde1f82e02c4675870ce7858c34966cacfea8b288aefcf14372e1df0fdf0ea0d33f3b43651750265ddbb250e7c5b0e9a2e3340bf83095fbb1fa26898aa134' } ], alias: 'lighthouse.bolte.id' } +0ms
  15.   veramo:did-comm:action-handler Sending to https://veramo-klaus.herokuapp.com/messaging +288ms
  16.   express:router dispatching GET /.well-known/did.json +590ms
  17.   express:router query  : /.well-known/did.json +0ms
  18.   express:router expressInit  : /.well-known/did.json +0ms
  19.   express:router jsonParser  : /.well-known/did.json +1ms
  20.   body-parser:json skip empty body +595ms
  21.   express:router router  : /.well-known/did.json +0ms
  22.   express:router dispatching GET /.well-known/did.json +0ms
  23.   express:router router  : /.well-known/did.json +0ms
  24.   express:router dispatching GET /.well-known/did.json +0ms
  25.   express:router router  : /.well-known/did.json +1ms
  26.   express:router dispatching GET /.well-known/did.json +0ms
  27.   express:router router  : /.well-known/did.json +1ms
  28.   express:router dispatching GET /.well-known/did.json +0ms
  29.   express:router router  : /.well-known/did.json +0ms
  30.   express:router dispatching GET /.well-known/did.json +0ms
  31.   express:router <anonymous>  : /.well-known/did.json +0ms
  32.   express:router router  : /.well-known/did.json +2ms
  33.   express:router dispatching GET /.well-known/did.json +0ms
  34.   veramo:agent:didManagerGet { did: 'did:web:lighthouse.bolte.id' } +0ms
  35.   veramo:agent:didManagerGet:result { did: 'did:web:lighthouse.bolte.id', controllerKeyId: '04e12bde1f82e02c4675870ce7858c34966cacfea8b288aefcf14372e1df0fdf0ea0d33f3b43651750265ddbb250e7c5b0e9a2e3340bf83095fbb1fa26898aa134', provider: 'did:web', services: [ Service { id: 'did:web:lighthouse.bolte.id#msg', type: 'Messaging', serviceEndpoint: 'https://lighthouse.bolte.id/messaging', description: 'Handles incoming POST messages' } ], keys: [ { kid: '04e12bde1f82e02c4675870ce7858c34966cacfea8b288aefcf14372e1df0fdf0ea0d33f3b43651750265ddbb250e7c5b0e9a2e3340bf83095fbb1fa26898aa134', type: 'Secp256k1', kms: 'local', publicKeyHex: '04e12bde1f82e02c4675870ce7858c34966cacfea8b288aefcf14372e1df0fdf0ea0d33f3b43651750265ddbb250e7c5b0e9a2e3340bf83095fbb1fa26898aa134' } ], alias: 'lighthouse.bolte.id' } +0ms
  36.   veramo:did-comm:action-handler Status 200 OK +368ms
  37.   veramo:agent:handleMessage { raw: '{"from":"did:web:lighthouse.bolte.id","to":"did:web:veramo-klaus.herokuapp.com","type":"jwt","body":"eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NksifQ.eyJpYXQiOjE2MjM3NTM0MDUsInR5cGUiOiJzZHIiLCJ0YWciOiIxNTA2MjExMjM2IiwiY2xhaW1zIjpbeyJpc3N1ZXJzIjpbeyJkaWQiOiJkaWQ6d2ViOmxpZ2h0aG91c2UuYm9sdGUuaWQiLCJ1cmwiOiJodHRwczovL2xpZ2h0aG91c2UuYm9sdGUuaWQifV0sImNyZWRlbnRpYWxUeXBlIjoiUHJvZmlsZSIsImNsYWltVHlwZSI6Im5hbWUiLCJyZWFzb24iOiJXZSB3YW50IHRvIGNoZWNrIHlvdXIgZGVncmVlIGZvciB5b3VyIG5ldyBqb2IhIiwiZXNzZW50aWFsIjp0cnVlfV0sImlzcyI6ImRpZDp3ZWI6bGlnaHRob3VzZS5ib2x0ZS5pZCJ9.PzglNtd98QNFtj6ItCinystnrCSLcZ-snVIJFeHSmLdmUDsNnp5OM8wm9WUhGPL2BjOcFBw9GdBmsTt_gJ59Fw","id":"f8f695a6-9932-48e1-957f-44ed498a135f"}', metaData: [ { type: 'DIDComm-sent' } ], save: true } +0ms
  38.   veramo:message-handler { raw: '{"from":"did:web:lighthouse.bolte.id","to":"did:web:veramo-klaus.herokuapp.com","type":"jwt","body":"eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NksifQ.eyJpYXQiOjE2MjM3NTM0MDUsInR5cGUiOiJzZHIiLCJ0YWciOiIxNTA2MjExMjM2IiwiY2xhaW1zIjpbeyJpc3N1ZXJzIjpbeyJkaWQiOiJkaWQ6d2ViOmxpZ2h0aG91c2UuYm9sdGUuaWQiLCJ1cmwiOiJodHRwczovL2xpZ2h0aG91c2UuYm9sdGUuaWQifV0sImNyZWRlbnRpYWxUeXBlIjoiUHJvZmlsZSIsImNsYWltVHlwZSI6Im5hbWUiLCJyZWFzb24iOiJXZSB3YW50IHRvIGNoZWNrIHlvdXIgZGVncmVlIGZvciB5b3VyIG5ldyBqb2IhIiwiZXNzZW50aWFsIjp0cnVlfV0sImlzcyI6ImRpZDp3ZWI6bGlnaHRob3VzZS5ib2x0ZS5pZCJ9.PzglNtd98QNFtj6ItCinystnrCSLcZ-snVIJFeHSmLdmUDsNnp5OM8wm9WUhGPL2BjOcFBw9GdBmsTt_gJ59Fw","id":"f8f695a6-9932-48e1-957f-44ed498a135f"}', metaData: [ { type: 'DIDComm-sent' } ], save: true } +6m
  39.   veramo:did-jwt:message-handler Incorrect format JWT +6m
  40.   veramo:message-handler Error TypeError: Cannot read property 'type' of undefined
  41.     at SdrMessageHandler.<anonymous> (/Users/bolte/Documents/GitHub/ssi-master-thesis/implementation/node_modules/@veramo/selective-disclosure/src/message-handler.ts:29:20)
  42.     at Generator.next (<anonymous>)
  43.     at /Users/bolte/Documents/GitHub/ssi-master-thesis/implementation/node_modules/@veramo/selective-disclosure/build/message-handler.js:8:71
  44.     at new Promise (<anonymous>)
  45.     at __awaiter (/Users/bolte/Documents/GitHub/ssi-master-thesis/implementation/node_modules/@veramo/selective-disclosure/build/message-handler.js:4:12)
  46.     at SdrMessageHandler.handle (/Users/bolte/Documents/GitHub/ssi-master-thesis/implementation/node_modules/@veramo/selective-disclosure/build/message-handler.js:40:16)
  47.     at DIDCommMessageHandler.<anonymous> (/Users/bolte/Documents/GitHub/ssi-master-thesis/implementation/node_modules/@veramo/message-handler/src/abstract-message-handler.ts:20:38)
  48.     at Generator.next (<anonymous>)
  49.     at /Users/bolte/Documents/GitHub/ssi-master-thesis/implementation/node_modules/@veramo/message-handler/build/abstract-message-handler.js:8:71
  50.     at new Promise (<anonymous>) +2ms
  51. TypeError: Cannot read property 'type' of undefined
  52.     at SdrMessageHandler.<anonymous> (/Users/bolte/Documents/GitHub/ssi-master-thesis/implementation/node_modules/@veramo/selective-disclosure/src/message-handler.ts:29:20)
  53.     at Generator.next (<anonymous>)
  54.     at /Users/bolte/Documents/GitHub/ssi-master-thesis/implementation/node_modules/@veramo/selective-disclosure/build/message-handler.js:8:71
  55.     at new Promise (<anonymous>)
  56.     at __awaiter (/Users/bolte/Documents/GitHub/ssi-master-thesis/implementation/node_modules/@veramo/selective-disclosure/build/message-handler.js:4:12)
  57.     at SdrMessageHandler.handle (/Users/bolte/Documents/GitHub/ssi-master-thesis/implementation/node_modules/@veramo/selective-disclosure/build/message-handler.js:40:16)
  58.     at DIDCommMessageHandler.<anonymous> (/Users/bolte/Documents/GitHub/ssi-master-thesis/implementation/node_modules/@veramo/message-handler/src/abstract-message-handler.ts:20:38)
  59.     at Generator.next (<anonymous>)
  60.     at /Users/bolte/Documents/GitHub/ssi-master-thesis/implementation/node_modules/@veramo/message-handler/build/abstract-message-handler.js:8:71
  61.     at new Promise (<anonymous>)
  62.  
Advertisement
Add Comment
Please, Sign In to add comment