{"action":"created","issue":{"url":"https://api.github.com/repos/jasonhinkle/php-gpg/issues/16","labels_url":"https://api.github.com/repos/jasonhinkle/php-gpg/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/jasonhinkle/php-gpg/issues/16/comments","events_url":"https://api.github.com/repos/jasonhinkle/php-gpg/issues/16/events","html_url":"https://github.com/jasonhinkle/php-gpg/issues/16","id":117114833,"number":16,"title":"Hide version option ","user":{"login":"RaedsLab","id":1442690,"avatar_url":"https://avatars.githubusercontent.com/u/1442690?v=3","gravatar_id":"","url":"https://api.github.com/users/RaedsLab","html_url":"https://github.com/RaedsLab","followers_url":"https://api.github.com/users/RaedsLab/followers","following_url":"https://api.github.com/users/RaedsLab/following{/other_user}","gists_url":"https://api.github.com/users/RaedsLab/gists{/gist_id}","starred_url":"https://api.github.com/users/RaedsLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RaedsLab/subscriptions","organizations_url":"https://api.github.com/users/RaedsLab/orgs","repos_url":"https://api.github.com/users/RaedsLab/repos","events_url":"https://api.github.com/users/RaedsLab/events{/privacy}","received_events_url":"https://api.github.com/users/RaedsLab/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-16T12:39:49Z","updated_at":"2015-11-16T12:53:41Z","closed_at":null,"body":"I think that `$gpg->encrypt($pub_key,$plain_text_string);` method should have a 3rd optional Boolean parameter `$show_version`. \r\n\r\nHiding the client and the version in the encrypted text could prevent some future attacks on encrypted messages that target a specific version (if that version has been proven insecure).  \r\n\r\nThis was discussed in length in the openpgp.js project. "},"comment":{"url":"https://api.github.com/repos/jasonhinkle/php-gpg/issues/comments/157020102","html_url":"https://github.com/jasonhinkle/php-gpg/issues/16#issuecomment-157020102","issue_url":"https://api.github.com/repos/jasonhinkle/php-gpg/issues/16","id":157020102,"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":"2015-11-16T12:53:41Z","updated_at":"2015-11-16T12:53:41Z","body":"See my updated comment."}}