{"action":"created","issue":{"url":"https://api.github.com/repos/singpolyma/openpgp-php/issues/27","repository_url":"https://api.github.com/repos/singpolyma/openpgp-php","labels_url":"https://api.github.com/repos/singpolyma/openpgp-php/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/singpolyma/openpgp-php/issues/27/comments","events_url":"https://api.github.com/repos/singpolyma/openpgp-php/issues/27/events","html_url":"https://github.com/singpolyma/openpgp-php/issues/27","id":136176345,"number":27,"title":"generated key just has verification flag in GPA","user":{"login":"DanielRuf","id":827205,"avatar_url":"https://avatars.githubusercontent.com/u/827205?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielRuf","html_url":"https://github.com/DanielRuf","followers_url":"https://api.github.com/users/DanielRuf/followers","following_url":"https://api.github.com/users/DanielRuf/following{/other_user}","gists_url":"https://api.github.com/users/DanielRuf/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielRuf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielRuf/subscriptions","organizations_url":"https://api.github.com/users/DanielRuf/orgs","repos_url":"https://api.github.com/users/DanielRuf/repos","events_url":"https://api.github.com/users/DanielRuf/events{/privacy}","received_events_url":"https://api.github.com/users/DanielRuf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-24T20:21:41Z","updated_at":"2016-02-26T08:14:33Z","closed_at":null,"body":"Like @meitar already mentioned, there is something with the keypair after importing it.\r\n\r\nhttps://github.com/meitar/wp-pgp-encrypted-emails/issues/1#issuecomment-188223173\r\n\r\n> After doing a little more diging my guess is that the generated keypair only contains the c (certify) capability, but not the s (sign) capability. I checked this by importing the keys into a GUI and inspecting the key there. (Screenshot attached.)\r\n\r\nAfter importing the generated keypair, GPA just shows the private key and this has just the verification flag, but why?\r\n\r\nManually generated keypairs using gpg and GPA have a private and a public key with the right flags."},"comment":{"url":"https://api.github.com/repos/singpolyma/openpgp-php/issues/comments/189157042","html_url":"https://github.com/singpolyma/openpgp-php/issues/27#issuecomment-189157042","issue_url":"https://api.github.com/repos/singpolyma/openpgp-php/issues/27","id":189157042,"user":{"login":"DanielRuf","id":827205,"avatar_url":"https://avatars.githubusercontent.com/u/827205?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielRuf","html_url":"https://github.com/DanielRuf","followers_url":"https://api.github.com/users/DanielRuf/followers","following_url":"https://api.github.com/users/DanielRuf/following{/other_user}","gists_url":"https://api.github.com/users/DanielRuf/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielRuf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielRuf/subscriptions","organizations_url":"https://api.github.com/users/DanielRuf/orgs","repos_url":"https://api.github.com/users/DanielRuf/repos","events_url":"https://api.github.com/users/DanielRuf/events{/privacy}","received_events_url":"https://api.github.com/users/DanielRuf/received_events","type":"User","site_admin":false},"created_at":"2016-02-26T08:14:33Z","updated_at":"2016-02-26T08:14:33Z","body":"Possibly related to this: http://stackoverflow.com/questions/35633351/cant-decrypt-file-encrypted-with-openpgp-php-in-gnupg\r\n\r\nConfirmed, this does not work here. Decryption fails (no valid encrypted PGP data) and encryption also (throws exception and crashes GPA)."}}