{"action":"closed","issue":{"url":"https://api.github.com/repos/bndw/pick/issues/10","labels_url":"https://api.github.com/repos/bndw/pick/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/bndw/pick/issues/10/comments","events_url":"https://api.github.com/repos/bndw/pick/issues/10/events","html_url":"https://github.com/bndw/pick/issues/10","id":120155020,"number":10,"title":"Troubles with GPG and PATH","user":{"login":"Commenter123","id":13712808,"avatar_url":"https://avatars.githubusercontent.com/u/13712808?v=3","gravatar_id":"","url":"https://api.github.com/users/Commenter123","html_url":"https://github.com/Commenter123","followers_url":"https://api.github.com/users/Commenter123/followers","following_url":"https://api.github.com/users/Commenter123/following{/other_user}","gists_url":"https://api.github.com/users/Commenter123/gists{/gist_id}","starred_url":"https://api.github.com/users/Commenter123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Commenter123/subscriptions","organizations_url":"https://api.github.com/users/Commenter123/orgs","repos_url":"https://api.github.com/users/Commenter123/repos","events_url":"https://api.github.com/users/Commenter123/events{/privacy}","received_events_url":"https://api.github.com/users/Commenter123/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bndw/pick/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-03T12:01:12Z","updated_at":"2015-12-04T16:55:44Z","closed_at":"2015-12-04T16:55:44Z","body":"--- SNIP ---\r\n\r\n$ pick --init\r\nEnter password\r\n> \r\nCreating safe at /home/domain/myuser/.pick\r\nTraceback (most recent call last):\r\n  File \"/home/domain/myuser/bin/pick\", line 241, in <module>\r\n    pick.initialize_safe()\r\n  File \"/home/domain/myuser/bin/pick\", line 148, in initialize_safe\r\n    self.write_safe(safe)\r\n  File \"/home/domain/myuser/bin/pick\", line 47, in write_safe\r\n    ps2 = subprocess.check_output(cmd2.split(), stdin=ps.stdout, stderr=null)\r\n  File \"/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py\", line 573, in check_output\r\n    raise CalledProcessError(retcode, cmd, output=output)\r\nsubprocess.CalledProcessError: Command '['gpg', '--symmetric', '--armor', '--batch', '--yes', '--passphrase', 'test', '--output', '/home/domain/myuser/.pick/pick.safe']' returned non-zero exit status 2\r\n\r\n--- SNAP ---\r\n\r\nOS: Mac OS 10.10.5 (14F27) (Yosemite)\r\n\r\n$ which gpg\r\n/usr/local/bin/gpg\r\n\r\n$ gpg --version\r\ngpg (GnuPG/MacGPG2) 2.0.28\r\n\r\nAs GPG is already installed from GPGTools suite, brew can't link into /usr/local/bin.\r\n\r\nMaybe force-use brew's gpg? /usr/local/Cellar/gnupg/1.4.19/bin/gpg"}}