{"action":"created","issue":{"url":"https://api.github.com/repos/mailpile/Mailpile/issues/1720","repository_url":"https://api.github.com/repos/mailpile/Mailpile","labels_url":"https://api.github.com/repos/mailpile/Mailpile/issues/1720/labels{/name}","comments_url":"https://api.github.com/repos/mailpile/Mailpile/issues/1720/comments","events_url":"https://api.github.com/repos/mailpile/Mailpile/issues/1720/events","html_url":"https://github.com/mailpile/Mailpile/issues/1720","id":194093224,"number":1720,"title":"PGP key generation failed!","user":{"login":"loidor","id":9845638,"avatar_url":"https://avatars.githubusercontent.com/u/9845638?v=3","gravatar_id":"","url":"https://api.github.com/users/loidor","html_url":"https://github.com/loidor","followers_url":"https://api.github.com/users/loidor/followers","following_url":"https://api.github.com/users/loidor/following{/other_user}","gists_url":"https://api.github.com/users/loidor/gists{/gist_id}","starred_url":"https://api.github.com/users/loidor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loidor/subscriptions","organizations_url":"https://api.github.com/users/loidor/orgs","repos_url":"https://api.github.com/users/loidor/repos","events_url":"https://api.github.com/users/loidor/events{/privacy}","received_events_url":"https://api.github.com/users/loidor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-07T16:14:36Z","updated_at":"2016-12-07T17:47:19Z","closed_at":null,"body":"Every time I try to create a pgp key through web ui, I get a notification saying **PGP key generation failed!** I can't see why that is. It works however just fine if I run the same gpg line in the mailpile cli, but only after running rngd that creates some extra entropy.\r\n\r\nThe event log:\r\n```\r\n{\r\n \"data\": {\r\n  \"gnupg\": [\r\n   [\r\n    \"Creating a 2048 bit GnuPG key\", \r\n    1481126019, \r\n    \"gpg --utf8-strings --no-use-agent --no-tty --command-fd=0 --status-fd=1 --no-use-agent --gen-key\", \r\n    \"GnuPG returned -1\"\r\n   ]\r\n  ], \r\n  \"keygen_failed\": true, \r\n  \"keygen_finished\": 1481126024, \r\n  \"keygen_started\": 1481126019, \r\n  \"profile_id\": \"e82584737b2\"\r\n }, \r\n \"date\": \"Wed, 07 Dec 2016 15:53:44 -0000\", \r\n \"event_id\": \"58483083-0003e-2996\", \r\n \"flags\": \"c\", \r\n \"message\": \"PGP key generation failed!\", \r\n \"private_data\": {\r\n  \"bits\": 2048, \r\n  \"comment\": \"\", \r\n  \"email\": \"*********@gmail.com\", \r\n  \"gnupg\": [\r\n   [\r\n    \"Creating a 2048 bit GnuPG key\", \r\n    1481126019, \r\n    \"gpg --utf8-strings --no-use-agent --no-tty --command-fd=0 --status-fd=1 --no-use-agent --gen-key\", \r\n    \"GnuPG returned -1\"\r\n   ]\r\n  ], \r\n  \"name\": \"Erik \\u00d6hrn\", \r\n  \"passphrase\": \".......\"\r\n }, \r\n \"source\": \".plugins.contacts.EditProfile\", \r\n \"ts\": 1481126024.810252\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/mailpile/Mailpile/issues/comments/265518511","html_url":"https://github.com/mailpile/Mailpile/issues/1720#issuecomment-265518511","issue_url":"https://api.github.com/repos/mailpile/Mailpile/issues/1720","id":265518511,"user":{"login":"aviau","id":2706882,"avatar_url":"https://avatars.githubusercontent.com/u/2706882?v=3","gravatar_id":"","url":"https://api.github.com/users/aviau","html_url":"https://github.com/aviau","followers_url":"https://api.github.com/users/aviau/followers","following_url":"https://api.github.com/users/aviau/following{/other_user}","gists_url":"https://api.github.com/users/aviau/gists{/gist_id}","starred_url":"https://api.github.com/users/aviau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aviau/subscriptions","organizations_url":"https://api.github.com/users/aviau/orgs","repos_url":"https://api.github.com/users/aviau/repos","events_url":"https://api.github.com/users/aviau/events{/privacy}","received_events_url":"https://api.github.com/users/aviau/received_events","type":"User","site_admin":false},"created_at":"2016-12-07T17:47:19Z","updated_at":"2016-12-07T17:47:19Z","body":"> Dunno if that was your real passphrase in the log snippet, but I've edit it away \"just in case\".\r\n\r\n@loidor \r\n\r\nBy the way, some people like me are subscribed to GitHub email notifications. I still have a copy of the original submission. So act accordingly."}}
{"actor":{"display_login":"aviau"}}