{"action":"created","issue":{"url":"https://api.github.com/repos/pear/Crypt_GPG/issues/18","labels_url":"https://api.github.com/repos/pear/Crypt_GPG/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/pear/Crypt_GPG/issues/18/comments","events_url":"https://api.github.com/repos/pear/Crypt_GPG/issues/18/events","html_url":"https://github.com/pear/Crypt_GPG/pull/18","id":117755569,"number":18,"title":"Add non-implemented SETKEYINFO PinEntry command","user":{"login":"frankkessler","id":1131687,"avatar_url":"https://avatars.githubusercontent.com/u/1131687?v=3","gravatar_id":"","url":"https://api.github.com/users/frankkessler","html_url":"https://github.com/frankkessler","followers_url":"https://api.github.com/users/frankkessler/followers","following_url":"https://api.github.com/users/frankkessler/following{/other_user}","gists_url":"https://api.github.com/users/frankkessler/gists{/gist_id}","starred_url":"https://api.github.com/users/frankkessler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankkessler/subscriptions","organizations_url":"https://api.github.com/users/frankkessler/orgs","repos_url":"https://api.github.com/users/frankkessler/repos","events_url":"https://api.github.com/users/frankkessler/events{/privacy}","received_events_url":"https://api.github.com/users/frankkessler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-19T07:09:04Z","updated_at":"2015-12-03T17:00:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pear/Crypt_GPG/pulls/18","html_url":"https://github.com/pear/Crypt_GPG/pull/18","diff_url":"https://github.com/pear/Crypt_GPG/pull/18.diff","patch_url":"https://github.com/pear/Crypt_GPG/pull/18.patch"},"body":"Add non-implemented SETKEYINFO PinEntry command so decrypt doesn't hang in certain cases.  \r\n\r\nSimple text decrypt functions were hanging.  When I was able to get into the PinEntry logs, I noticed it was hung on a SETKEYINFO command.  Once I added this line into the non-implemented command section of the PinEntry commands, the decrypt function didn't hang anymore and successfully decrypted the text."},"comment":{"url":"https://api.github.com/repos/pear/Crypt_GPG/issues/comments/161716072","html_url":"https://github.com/pear/Crypt_GPG/pull/18#issuecomment-161716072","issue_url":"https://api.github.com/repos/pear/Crypt_GPG/issues/18","id":161716072,"user":{"login":"gauthierm","id":120511,"avatar_url":"https://avatars.githubusercontent.com/u/120511?v=3","gravatar_id":"","url":"https://api.github.com/users/gauthierm","html_url":"https://github.com/gauthierm","followers_url":"https://api.github.com/users/gauthierm/followers","following_url":"https://api.github.com/users/gauthierm/following{/other_user}","gists_url":"https://api.github.com/users/gauthierm/gists{/gist_id}","starred_url":"https://api.github.com/users/gauthierm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gauthierm/subscriptions","organizations_url":"https://api.github.com/users/gauthierm/orgs","repos_url":"https://api.github.com/users/gauthierm/repos","events_url":"https://api.github.com/users/gauthierm/events{/privacy}","received_events_url":"https://api.github.com/users/gauthierm/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T17:00:10Z","updated_at":"2015-12-03T17:00:10Z","body":"> I just found another issue, specifically with using Crypt_GPG with composer. The Console_CommandLine class cannot be found if the script is relying on the composer version being there. All composer package paths are lowercase, so changing the one path reference to console_commandline fixes the issue. If you have Console_CommandLine installed via PEAR, using the composer version of Crypt_GPG will work because it will find that version. Without it, any methods requiring pinentry will fail.\r\n\r\nPlease open a separate issue for that"}}