{"action":"created","issue":{"url":"https://api.github.com/repos/bpellin/keepassdroid/issues/224","repository_url":"https://api.github.com/repos/bpellin/keepassdroid","labels_url":"https://api.github.com/repos/bpellin/keepassdroid/issues/224/labels{/name}","comments_url":"https://api.github.com/repos/bpellin/keepassdroid/issues/224/comments","events_url":"https://api.github.com/repos/bpellin/keepassdroid/issues/224/events","html_url":"https://github.com/bpellin/keepassdroid/pull/224","id":263534034,"number":224,"title":"Feature/fingerprint password handling","user":{"login":"hanscappelle","id":4621594,"avatar_url":"https://avatars1.githubusercontent.com/u/4621594?v=4","gravatar_id":"","url":"https://api.github.com/users/hanscappelle","html_url":"https://github.com/hanscappelle","followers_url":"https://api.github.com/users/hanscappelle/followers","following_url":"https://api.github.com/users/hanscappelle/following{/other_user}","gists_url":"https://api.github.com/users/hanscappelle/gists{/gist_id}","starred_url":"https://api.github.com/users/hanscappelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanscappelle/subscriptions","organizations_url":"https://api.github.com/users/hanscappelle/orgs","repos_url":"https://api.github.com/users/hanscappelle/repos","events_url":"https://api.github.com/users/hanscappelle/events{/privacy}","received_events_url":"https://api.github.com/users/hanscappelle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-10-06T18:32:18Z","updated_at":"2017-10-14T02:38:26Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/bpellin/keepassdroid/pulls/224","html_url":"https://github.com/bpellin/keepassdroid/pull/224","diff_url":"https://github.com/bpellin/keepassdroid/pull/224.diff","patch_url":"https://github.com/bpellin/keepassdroid/pull/224.patch"},"body":"I've added fingerprint support. What it does is create a key for encryption/decryption of the password field in PasswordActivity that is secured with fingerprint. Once fingerprint is used once to store an entered password using fingerprint again the next time will complete that password field with the decrypted value and open database using existing logic. \r\n\r\nThe encrypted password is stored in app preferences with a key based on the name of the database uri (path) so should be unique for each database.\r\n\r\nMost changes are in PasswordActivity for the logic to show/hide the fingerprint icon based on support and start listening for fingerprints and handle the encoded or decoded value. \r\n\r\nThe newly added FingerprintHelper contains the logic for handling keystore and encryption and decryption of value with a key from that secured keystore. \r\n\r\nIt's tested on Nexus 5X running Android 8 so might require some care on api level and other details. It works for me. If you're interested we can look into completing this implementation."},"comment":{"url":"https://api.github.com/repos/bpellin/keepassdroid/issues/comments/336604137","html_url":"https://github.com/bpellin/keepassdroid/pull/224#issuecomment-336604137","issue_url":"https://api.github.com/repos/bpellin/keepassdroid/issues/224","id":336604137,"user":{"login":"Jenkyn","id":8737772,"avatar_url":"https://avatars1.githubusercontent.com/u/8737772?v=4","gravatar_id":"","url":"https://api.github.com/users/Jenkyn","html_url":"https://github.com/Jenkyn","followers_url":"https://api.github.com/users/Jenkyn/followers","following_url":"https://api.github.com/users/Jenkyn/following{/other_user}","gists_url":"https://api.github.com/users/Jenkyn/gists{/gist_id}","starred_url":"https://api.github.com/users/Jenkyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jenkyn/subscriptions","organizations_url":"https://api.github.com/users/Jenkyn/orgs","repos_url":"https://api.github.com/users/Jenkyn/repos","events_url":"https://api.github.com/users/Jenkyn/events{/privacy}","received_events_url":"https://api.github.com/users/Jenkyn/received_events","type":"User","site_admin":false},"created_at":"2017-10-14T02:38:26Z","updated_at":"2017-10-14T02:38:26Z","author_association":"NONE","body":"@hanscappelle pull your latest commit and complie, it works on my phone (Android 7.1.2)."}}
{"actor":{"display_login":"Jenkyn"}}