Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- veramo:agent:createVerifiableCredential { save: false, credential: { '@context': [ 'https://www.w3.org/2018/credentials/v1' ], type: [ 'VerifiableCredential', 'Profile' ], issuer: { id: 'did:web:lighthouse.bolte.id' }, issuanceDate: '2020-06-15T22:37:26.544Z', credentialSubject: { id: 'did:web:veramo-klaus.herokuapp.com', name: 'Bob' } }, proofFormat: 'jwt' } +0ms
- veramo:agent:didManagerGet { did: 'did:web:lighthouse.bolte.id' } +0ms
- 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
- veramo:w3c:action-handler Signing VC with did:web:lighthouse.bolte.id +0ms
- veramo:agent:keyManagerSignJWT { kid: '04e12bde1f82e02c4675870ce7858c34966cacfea8b288aefcf14372e1df0fdf0ea0d33f3b43651750265ddbb250e7c5b0e9a2e3340bf83095fbb1fa26898aa134', data: 'eyJhbGciOiJFUzI1NksiLCJ0eXAiOiJKV1QifQ.eyJ2YyI6eyJjcmVkZW50aWFsU3ViamVjdCI6eyJuYW1lIjoiQm9iIn0sIkBjb250ZXh0IjpbImh0dHBzOi8vd3d3LnczLm9yZy8yMDE4L2NyZWRlbnRpYWxzL3YxIl0sInR5cGUiOlsiVmVyaWZpYWJsZUNyZWRlbnRpYWwiLCJQcm9maWxlIl19LCJzdWIiOiJkaWQ6d2ViOnZlcmFtby1rbGF1cy5oZXJva3VhcHAuY29tIiwibmJmIjoxNTkyMjYwNjQ2LCJpc3MiOiJkaWQ6d2ViOmxpZ2h0aG91c2UuYm9sdGUuaWQifQ' } +0ms
- veramo:agent:keyManagerSignJWT:result 'EprV2cWPyvuojCi8Mk2rss5xZ5a0wTZHQEfc-fZJgDld-xnYCZS5BybfIXckDRDLSCA1KgANQe3Ob2NPeMmvUQ' +0ms
- veramo:w3c:action-handler eyJhbGciOiJFUzI1NksiLCJ0eXAiOiJKV1QifQ.eyJ2YyI6eyJjcmVkZW50aWFsU3ViamVjdCI6eyJuYW1lIjoiQm9iIn0sIkBjb250ZXh0IjpbImh0dHBzOi8vd3d3LnczLm9yZy8yMDE4L2NyZWRlbnRpYWxzL3YxIl0sInR5cGUiOlsiVmVyaWZpYWJsZUNyZWRlbnRpYWwiLCJQcm9maWxlIl19LCJzdWIiOiJkaWQ6d2ViOnZlcmFtby1rbGF1cy5oZXJva3VhcHAuY29tIiwibmJmIjoxNTkyMjYwNjQ2LCJpc3MiOiJkaWQ6d2ViOmxpZ2h0aG91c2UuYm9sdGUuaWQifQ.EprV2cWPyvuojCi8Mk2rss5xZ5a0wTZHQEfc-fZJgDld-xnYCZS5BybfIXckDRDLSCA1KgANQe3Ob2NPeMmvUQ +39ms
- veramo:agent:createVerifiableCredential:result { credentialSubject: { name: 'Bob', id: 'did:web:veramo-klaus.herokuapp.com' }, issuer: { id: 'did:web:lighthouse.bolte.id' }, type: [ 'VerifiableCredential', 'Profile' ], '@context': [ 'https://www.w3.org/2018/credentials/v1' ], issuanceDate: '2020-06-15T22:37:26.000Z', proof: { type: 'JwtProof2020', jwt: 'eyJhbGciOiJFUzI1NksiLCJ0eXAiOiJKV1QifQ.eyJ2YyI6eyJjcmVkZW50aWFsU3ViamVjdCI6eyJuYW1lIjoiQm9iIn0sIkBjb250ZXh0IjpbImh0dHBzOi8vd3d3LnczLm9yZy8yMDE4L2NyZWRlbnRpYWxzL3YxIl0sInR5cGUiOlsiVmVyaWZpYWJsZUNyZWRlbnRpYWwiLCJQcm9maWxlIl19LCJzdWIiOiJkaWQ6d2ViOnZlcmFtby1rbGF1cy5oZXJva3VhcHAuY29tIiwibmJmIjoxNTkyMjYwNjQ2LCJpc3MiOiJkaWQ6d2ViOmxpZ2h0aG91c2UuYm9sdGUuaWQifQ.EprV2cWPyvuojCi8Mk2rss5xZ5a0wTZHQEfc-fZJgDld-xnYCZS5BybfIXckDRDLSCA1KgANQe3Ob2NPeMmvUQ' } } +0ms
- Trying to send VC to did:web:veramo-klaus.herokuapp.com
- veramo:agent:sendMessageDIDCommAlpha1 { save: true, data: { from: 'did:web:lighthouse.bolte.id', to: 'did:web:veramo-klaus.herokuapp.com', type: 'jwt', body: 'eyJhbGciOiJFUzI1NksiLCJ0eXAiOiJKV1QifQ.eyJ2YyI6eyJjcmVkZW50aWFsU3ViamVjdCI6eyJuYW1lIjoiQm9iIn0sIkBjb250ZXh0IjpbImh0dHBzOi8vd3d3LnczLm9yZy8yMDE4L2NyZWRlbnRpYWxzL3YxIl0sInR5cGUiOlsiVmVyaWZpYWJsZUNyZWRlbnRpYWwiLCJQcm9maWxlIl19LCJzdWIiOiJkaWQ6d2ViOnZlcmFtby1rbGF1cy5oZXJva3VhcHAuY29tIiwibmJmIjoxNTkyMjYwNjQ2LCJpc3MiOiJkaWQ6d2ViOmxpZ2h0aG91c2UuYm9sdGUuaWQifQ.EprV2cWPyvuojCi8Mk2rss5xZ5a0wTZHQEfc-fZJgDld-xnYCZS5BybfIXckDRDLSCA1KgANQe3Ob2NPeMmvUQ' } } +0ms
- veramo:did-comm:action-handler Resolving didDoc +0ms
- veramo:agent:resolveDid { didUrl: 'did:web:veramo-klaus.herokuapp.com' } +0ms
- veramo:resolver Resolving did:web:veramo-klaus.herokuapp.com +0ms
- 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
- veramo:agent:didManagerGet { did: 'did:web:lighthouse.bolte.id' } +0ms
- 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
- veramo:did-comm:action-handler Sending to https://veramo-klaus.herokuapp.com/messaging +299ms
- express:router dispatching GET /.well-known/did.json +656ms
- express:router query : /.well-known/did.json +1ms
- express:router expressInit : /.well-known/did.json +0ms
- express:router jsonParser : /.well-known/did.json +0ms
- body-parser:json skip empty body +659ms
- express:router router : /.well-known/did.json +1ms
- express:router dispatching GET /.well-known/did.json +0ms
- express:router router : /.well-known/did.json +3ms
- express:router dispatching GET /.well-known/did.json +0ms
- express:router router : /.well-known/did.json +2ms
- express:router dispatching GET /.well-known/did.json +0ms
- express:router router : /.well-known/did.json +13ms
- express:router dispatching GET /.well-known/did.json +0ms
- express:router router : /.well-known/did.json +0ms
- express:router dispatching GET /.well-known/did.json +0ms
- express:router <anonymous> : /.well-known/did.json +0ms
- express:router router : /.well-known/did.json +2ms
- express:router dispatching GET /.well-known/did.json +0ms
- veramo:agent:didManagerGet { did: 'did:web:lighthouse.bolte.id' } +0ms
- 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
- veramo:did-comm:action-handler Status 200 OK +443ms
- veramo:agent:handleMessage { raw: '{"from":"did:web:lighthouse.bolte.id","to":"did:web:veramo-klaus.herokuapp.com","type":"jwt","body":"eyJhbGciOiJFUzI1NksiLCJ0eXAiOiJKV1QifQ.eyJ2YyI6eyJjcmVkZW50aWFsU3ViamVjdCI6eyJuYW1lIjoiQm9iIn0sIkBjb250ZXh0IjpbImh0dHBzOi8vd3d3LnczLm9yZy8yMDE4L2NyZWRlbnRpYWxzL3YxIl0sInR5cGUiOlsiVmVyaWZpYWJsZUNyZWRlbnRpYWwiLCJQcm9maWxlIl19LCJzdWIiOiJkaWQ6d2ViOnZlcmFtby1rbGF1cy5oZXJva3VhcHAuY29tIiwibmJmIjoxNTkyMjYwNjQ2LCJpc3MiOiJkaWQ6d2ViOmxpZ2h0aG91c2UuYm9sdGUuaWQifQ.EprV2cWPyvuojCi8Mk2rss5xZ5a0wTZHQEfc-fZJgDld-xnYCZS5BybfIXckDRDLSCA1KgANQe3Ob2NPeMmvUQ","id":"f2af64cc-2c60-4e52-9e86-c42b98008c57"}', metaData: [ { type: 'DIDComm-sent' } ], save: true } +0ms
- veramo:message-handler { raw: '{"from":"did:web:lighthouse.bolte.id","to":"did:web:veramo-klaus.herokuapp.com","type":"jwt","body":"eyJhbGciOiJFUzI1NksiLCJ0eXAiOiJKV1QifQ.eyJ2YyI6eyJjcmVkZW50aWFsU3ViamVjdCI6eyJuYW1lIjoiQm9iIn0sIkBjb250ZXh0IjpbImh0dHBzOi8vd3d3LnczLm9yZy8yMDE4L2NyZWRlbnRpYWxzL3YxIl0sInR5cGUiOlsiVmVyaWZpYWJsZUNyZWRlbnRpYWwiLCJQcm9maWxlIl19LCJzdWIiOiJkaWQ6d2ViOnZlcmFtby1rbGF1cy5oZXJva3VhcHAuY29tIiwibmJmIjoxNTkyMjYwNjQ2LCJpc3MiOiJkaWQ6d2ViOmxpZ2h0aG91c2UuYm9sdGUuaWQifQ.EprV2cWPyvuojCi8Mk2rss5xZ5a0wTZHQEfc-fZJgDld-xnYCZS5BybfIXckDRDLSCA1KgANQe3Ob2NPeMmvUQ","id":"f2af64cc-2c60-4e52-9e86-c42b98008c57"}', metaData: [ { type: 'DIDComm-sent' } ], save: true } +0ms
- veramo:did-jwt:message-handler Incorrect format JWT +0ms
- veramo:message-handler Error TypeError: Cannot read property 'type' of undefined
- at SdrMessageHandler.<anonymous> (/Users/bolte/Documents/GitHub/ssi-master-thesis/implementation/node_modules/@veramo/selective-disclosure/src/message-handler.ts:29:20)
- at Generator.next (<anonymous>)
- at /Users/bolte/Documents/GitHub/ssi-master-thesis/implementation/node_modules/@veramo/selective-disclosure/build/message-handler.js:8:71
- at new Promise (<anonymous>)
- at __awaiter (/Users/bolte/Documents/GitHub/ssi-master-thesis/implementation/node_modules/@veramo/selective-disclosure/build/message-handler.js:4:12)
- at SdrMessageHandler.handle (/Users/bolte/Documents/GitHub/ssi-master-thesis/implementation/node_modules/@veramo/selective-disclosure/build/message-handler.js:40:16)
- at DIDCommMessageHandler.<anonymous> (/Users/bolte/Documents/GitHub/ssi-master-thesis/implementation/node_modules/@veramo/message-handler/src/abstract-message-handler.ts:20:38)
- at Generator.next (<anonymous>)
- at /Users/bolte/Documents/GitHub/ssi-master-thesis/implementation/node_modules/@veramo/message-handler/build/abstract-message-handler.js:8:71
- at new Promise (<anonymous>) +5ms
- TypeError: Cannot read property 'type' of undefined
- at SdrMessageHandler.<anonymous> (/Users/bolte/Documents/GitHub/ssi-master-thesis/implementation/node_modules/@veramo/selective-disclosure/src/message-handler.ts:29:20)
- at Generator.next (<anonymous>)
- at /Users/bolte/Documents/GitHub/ssi-master-thesis/implementation/node_modules/@veramo/selective-disclosure/build/message-handler.js:8:71
- at new Promise (<anonymous>)
- at __awaiter (/Users/bolte/Documents/GitHub/ssi-master-thesis/implementation/node_modules/@veramo/selective-disclosure/build/message-handler.js:4:12)
- at SdrMessageHandler.handle (/Users/bolte/Documents/GitHub/ssi-master-thesis/implementation/node_modules/@veramo/selective-disclosure/build/message-handler.js:40:16)
- at DIDCommMessageHandler.<anonymous> (/Users/bolte/Documents/GitHub/ssi-master-thesis/implementation/node_modules/@veramo/message-handler/src/abstract-message-handler.ts:20:38)
- at Generator.next (<anonymous>)
- at /Users/bolte/Documents/GitHub/ssi-master-thesis/implementation/node_modules/@veramo/message-handler/build/abstract-message-handler.js:8:71
- at new Promise (<anonymous>)
- Something went expectedly wrong but the VC should be sent. Error: Cannot read property 'type' of undefined
Advertisement
Add Comment
Please, Sign In to add comment