{"action":"created","issue":{"url":"https://api.github.com/repos/uport-project/uport-credentials/issues/134","repository_url":"https://api.github.com/repos/uport-project/uport-credentials","labels_url":"https://api.github.com/repos/uport-project/uport-credentials/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/uport-project/uport-credentials/issues/134/comments","events_url":"https://api.github.com/repos/uport-project/uport-credentials/issues/134/events","html_url":"https://github.com/uport-project/uport-credentials/issues/134","id":379093107,"node_id":"MDU6SXNzdWUzNzkwOTMxMDc=","number":134,"title":"examples -> createcredential.js error when scanning the code with the uPort app","user":{"login":"lukigno95","id":8702173,"node_id":"MDQ6VXNlcjg3MDIxNzM=","avatar_url":"https://avatars2.githubusercontent.com/u/8702173?v=4","gravatar_id":"","url":"https://api.github.com/users/lukigno95","html_url":"https://github.com/lukigno95","followers_url":"https://api.github.com/users/lukigno95/followers","following_url":"https://api.github.com/users/lukigno95/following{/other_user}","gists_url":"https://api.github.com/users/lukigno95/gists{/gist_id}","starred_url":"https://api.github.com/users/lukigno95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukigno95/subscriptions","organizations_url":"https://api.github.com/users/lukigno95/orgs","repos_url":"https://api.github.com/users/lukigno95/repos","events_url":"https://api.github.com/users/lukigno95/events{/privacy}","received_events_url":"https://api.github.com/users/lukigno95/received_events","type":"User","site_admin":false},"labels":[{"id":512473977,"node_id":"MDU6TGFiZWw1MTI0NzM5Nzc=","url":"https://api.github.com/repos/uport-project/uport-credentials/labels/bug","name":"bug","color":"ee0701","default":true},{"id":853243188,"node_id":"MDU6TGFiZWw4NTMyNDMxODg=","url":"https://api.github.com/repos/uport-project/uport-credentials/labels/triage","name":"triage","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-09T09:51:24Z","updated_at":"2018-11-09T09:55:13Z","closed_at":null,"author_association":"NONE","body":"# Current Behavior\r\nGives an error in the terminal.\r\n\r\n# Expected Behavior\r\nShows in the terminal: Credential verified.\r\n\r\n## Steps to Reproduce\r\n\r\nPlease provide detailed steps for reproducing the issue.\r\n\r\n1. Run createcredential.js in the example folder\r\n2. Open the provided link\r\n3. Scan with the android app the qr code showed in the browser\r\n\r\n\r\n## Failure Logs/Screenshots\r\n```\r\n$ node createcredential.js \r\nAttestation Creator Service running, open at https://bec5ff87.ngrok.io\r\n(node:31781) UnhandledPromiseRejectionWarning: Error: Signature invalid for JWT\r\n    at verifyRecoverableES256K (/home/node1/myTESTS/uportCredentialsTest/uport-credentials/node_modules/did-jwt/lib/VerifierAlgorithm.js:60:22)\r\n    at _callee2$ (/home/node1/myTESTS/uportCredentialsTest/uport-credentials/node_modules/did-jwt/lib/JWT.js:153:66)\r\n    at tryCatch (/home/node1/myTESTS/uportCredentialsTest/uport-credentials/node_modules/regenerator-runtime/runtime.js:62:40)\r\n    at Generator.invoke [as _invoke] (/home/node1/myTESTS/uportCredentialsTest/uport-credentials/node_modules/regenerator-runtime/runtime.js:296:22)\r\n    at Generator.prototype.(anonymous function) [as next] (/home/node1/myTESTS/uportCredentialsTest/uport-credentials/node_modules/regenerator-runtime/runtime.js:114:21)\r\n    at step (/home/node1/myTESTS/uportCredentialsTest/uport-credentials/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)\r\n    at /home/node1/myTESTS/uportCredentialsTest/uport-credentials/node_modules/babel-runtime/helpers/asyncToGenerator.js:28:13\r\n    at process._tickCallback (internal/process/next_tick.js:68:7)\r\n(node:31781) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)\r\n(node:31781) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.\r\n(node:31781) UnhandledPromiseRejectionWarning: Error: Signature invalid for JWT\r\n    at verifyRecoverableES256K (/home/node1/myTESTS/uportCredentialsTest/uport-credentials/node_modules/did-jwt/lib/VerifierAlgorithm.js:60:22)\r\n    at _callee2$ (/home/node1/myTESTS/uportCredentialsTest/uport-credentials/node_modules/did-jwt/lib/JWT.js:153:66)\r\n    at tryCatch (/home/node1/myTESTS/uportCredentialsTest/uport-credentials/node_modules/regenerator-runtime/runtime.js:62:40)\r\n    at Generator.invoke [as _invoke] (/home/node1/myTESTS/uportCredentialsTest/uport-credentials/node_modules/regenerator-runtime/runtime.js:296:22)\r\n    at Generator.prototype.(anonymous function) [as next] (/home/node1/myTESTS/uportCredentialsTest/uport-credentials/node_modules/regenerator-runtime/runtime.js:114:21)\r\n    at step (/home/node1/myTESTS/uportCredentialsTest/uport-credentials/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)\r\n    at /home/node1/myTESTS/uportCredentialsTest/uport-credentials/node_modules/babel-runtime/helpers/asyncToGenerator.js:28:13\r\n    at process._tickCallback (internal/process/next_tick.js:68:7)\r\n(node:31781) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/uport-project/uport-credentials/issues/comments/437308872","html_url":"https://github.com/uport-project/uport-credentials/issues/134#issuecomment-437308872","issue_url":"https://api.github.com/repos/uport-project/uport-credentials/issues/134","id":437308872,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzMwODg3Mg==","user":{"login":"Eseoghene","id":8102030,"node_id":"MDQ6VXNlcjgxMDIwMzA=","avatar_url":"https://avatars3.githubusercontent.com/u/8102030?v=4","gravatar_id":"","url":"https://api.github.com/users/Eseoghene","html_url":"https://github.com/Eseoghene","followers_url":"https://api.github.com/users/Eseoghene/followers","following_url":"https://api.github.com/users/Eseoghene/following{/other_user}","gists_url":"https://api.github.com/users/Eseoghene/gists{/gist_id}","starred_url":"https://api.github.com/users/Eseoghene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eseoghene/subscriptions","organizations_url":"https://api.github.com/users/Eseoghene/orgs","repos_url":"https://api.github.com/users/Eseoghene/repos","events_url":"https://api.github.com/users/Eseoghene/events{/privacy}","received_events_url":"https://api.github.com/users/Eseoghene/received_events","type":"User","site_admin":false},"created_at":"2018-11-09T09:55:13Z","updated_at":"2018-11-09T09:55:13Z","author_association":"CONTRIBUTOR","body":"Thank you for reporting this issue we will get back to you shortly"}}
{"actor":{"display_login":"Eseoghene"}}