{"action":"created","issue":{"url":"https://api.github.com/repos/open-keychain/open-keychain/issues/2368","repository_url":"https://api.github.com/repos/open-keychain/open-keychain","labels_url":"https://api.github.com/repos/open-keychain/open-keychain/issues/2368/labels{/name}","comments_url":"https://api.github.com/repos/open-keychain/open-keychain/issues/2368/comments","events_url":"https://api.github.com/repos/open-keychain/open-keychain/issues/2368/events","html_url":"https://github.com/open-keychain/open-keychain/issues/2368","id":339506844,"node_id":"MDU6SXNzdWUzMzk1MDY4NDQ=","number":2368,"title":"Bad PIN! when using my gnuk token","user":{"login":"DamienCassou","id":217543,"node_id":"MDQ6VXNlcjIxNzU0Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/217543?v=4","gravatar_id":"","url":"https://api.github.com/users/DamienCassou","html_url":"https://github.com/DamienCassou","followers_url":"https://api.github.com/users/DamienCassou/followers","following_url":"https://api.github.com/users/DamienCassou/following{/other_user}","gists_url":"https://api.github.com/users/DamienCassou/gists{/gist_id}","starred_url":"https://api.github.com/users/DamienCassou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DamienCassou/subscriptions","organizations_url":"https://api.github.com/users/DamienCassou/orgs","repos_url":"https://api.github.com/users/DamienCassou/repos","events_url":"https://api.github.com/users/DamienCassou/events{/privacy}","received_events_url":"https://api.github.com/users/DamienCassou/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-07-09T15:49:19Z","updated_at":"2018-07-25T13:06:08Z","closed_at":null,"author_association":"NONE","body":"I've just got a usb token with gnuk (I replaced neug with gnuk in an FST-01G). I put a keyring on it and things seem to work fine on my computer. In OpenKeychain, I imported the keys from the token in such a way that I get a new entry in \"My Keys\". Nevertheless, when trying to decrypt a file using the token, I always get \"Bad PIN!\" error message. The PIN I enter is good. I even cleared the password cache and restarted the phone.\r\n\r\nI tried to change the user PIN from gnupg and got the same \"Bad PIN!\" message after that in OpenKeychain. \r\n\r\nI tried to change the user PIN from OpenKeychain and got 3 input fields: 1 for the admin PIN and 2 for the user PIN. When I validated the popup, I got a \"Hold Security Token against the NFC…\" popup even though my token was inserted already. I unplugged the token and pluged it back and got a \"Bad PIN!\" error message again.\r\n\r\n## Your Environment\r\n\r\n* Android Version: 8.1.0 with LineageOS 15.1-20180709\r\n* Device Model: OnePlus 1 (bacon)\r\n* OpenKeychain Version: 5.1.4\r\n* From Google Play or F-Droid?: F-Droid\r\n \r\n"},"comment":{"url":"https://api.github.com/repos/open-keychain/open-keychain/issues/comments/407747515","html_url":"https://github.com/open-keychain/open-keychain/issues/2368#issuecomment-407747515","issue_url":"https://api.github.com/repos/open-keychain/open-keychain/issues/2368","id":407747515,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzc0NzUxNQ==","user":{"login":"DamienCassou","id":217543,"node_id":"MDQ6VXNlcjIxNzU0Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/217543?v=4","gravatar_id":"","url":"https://api.github.com/users/DamienCassou","html_url":"https://github.com/DamienCassou","followers_url":"https://api.github.com/users/DamienCassou/followers","following_url":"https://api.github.com/users/DamienCassou/following{/other_user}","gists_url":"https://api.github.com/users/DamienCassou/gists{/gist_id}","starred_url":"https://api.github.com/users/DamienCassou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DamienCassou/subscriptions","organizations_url":"https://api.github.com/users/DamienCassou/orgs","repos_url":"https://api.github.com/users/DamienCassou/repos","events_url":"https://api.github.com/users/DamienCassou/events{/privacy}","received_events_url":"https://api.github.com/users/DamienCassou/received_events","type":"User","site_admin":false},"created_at":"2018-07-25T13:06:08Z","updated_at":"2018-07-25T13:06:08Z","author_association":"NONE","body":"I'm still very interested in getting that fixed. Please tell me if I can do anything to help."}}
{"actor":{"display_login":"DamienCassou"}}