{"action":"created","issue":{"url":"https://api.github.com/repos/androguard/androguard/issues/504","repository_url":"https://api.github.com/repos/androguard/androguard","labels_url":"https://api.github.com/repos/androguard/androguard/issues/504/labels{/name}","comments_url":"https://api.github.com/repos/androguard/androguard/issues/504/comments","events_url":"https://api.github.com/repos/androguard/androguard/issues/504/events","html_url":"https://github.com/androguard/androguard/issues/504","id":320880606,"number":504,"title":"{AttributeError} 'Certificate' object has no attribute 'sha256_fingerprint'","user":{"login":"gurol","id":14318443,"avatar_url":"https://avatars1.githubusercontent.com/u/14318443?v=4","gravatar_id":"","url":"https://api.github.com/users/gurol","html_url":"https://github.com/gurol","followers_url":"https://api.github.com/users/gurol/followers","following_url":"https://api.github.com/users/gurol/following{/other_user}","gists_url":"https://api.github.com/users/gurol/gists{/gist_id}","starred_url":"https://api.github.com/users/gurol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gurol/subscriptions","organizations_url":"https://api.github.com/users/gurol/orgs","repos_url":"https://api.github.com/users/gurol/repos","events_url":"https://api.github.com/users/gurol/events{/privacy}","received_events_url":"https://api.github.com/users/gurol/received_events","type":"User","site_admin":false},"labels":[{"id":128903814,"url":"https://api.github.com/repos/androguard/androguard/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-07T17:05:29Z","updated_at":"2018-05-18T09:53:48Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"`show_Certificate(cert, short=False)` in `apk.py` raises AttributeError.\r\n\r\n`print(\"SHA512: {}\".format(cert.sha256_fingerprint))` call should be in try-catch.\r\n\r\nBesides, there is an inconsistency in the print (label vs. value): SHA512 vs. sha256_fingerprint.\r\n\r\n### System Information\r\n\r\n- Androguard Version: master (3.2.0)\r\n- Python Version: 2.7\r\n- Operating System: macOS\r\n\r\n[Sample file](https://github.com/droidefense/test-apps/blob/master/615fe78f3a644cb63df8b7918fb8d503%20SMS_Replicator_Secret.apk) (md5: 615fe78f3a644cb63df8b7918fb8d503)"},"comment":{"url":"https://api.github.com/repos/androguard/androguard/issues/comments/390157290","html_url":"https://github.com/androguard/androguard/issues/504#issuecomment-390157290","issue_url":"https://api.github.com/repos/androguard/androguard/issues/504","id":390157290,"user":{"login":"reox","id":431045,"avatar_url":"https://avatars0.githubusercontent.com/u/431045?v=4","gravatar_id":"","url":"https://api.github.com/users/reox","html_url":"https://github.com/reox","followers_url":"https://api.github.com/users/reox/followers","following_url":"https://api.github.com/users/reox/following{/other_user}","gists_url":"https://api.github.com/users/reox/gists{/gist_id}","starred_url":"https://api.github.com/users/reox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reox/subscriptions","organizations_url":"https://api.github.com/users/reox/orgs","repos_url":"https://api.github.com/users/reox/repos","events_url":"https://api.github.com/users/reox/events{/privacy}","received_events_url":"https://api.github.com/users/reox/received_events","type":"User","site_admin":false},"created_at":"2018-05-18T09:53:48Z","updated_at":"2018-05-18T09:53:48Z","author_association":"MEMBER","body":"@gurol have you checked your asn1crypto version? I also changed the setup.py to download a version which should work."}}
{"actor":{"display_login":"reox"}}