{"action":"created","issue":{"url":"https://api.github.com/repos/pazz/alot/issues/774","labels_url":"https://api.github.com/repos/pazz/alot/issues/774/labels{/name}","comments_url":"https://api.github.com/repos/pazz/alot/issues/774/comments","events_url":"https://api.github.com/repos/pazz/alot/issues/774/events","html_url":"https://github.com/pazz/alot/pull/774","id":94591798,"number":774,"title":"Encrypt on reply to encrypted email and add 'encrypt_by_default' config","user":{"login":"meskio","id":475542,"avatar_url":"https://avatars.githubusercontent.com/u/475542?v=3","gravatar_id":"","url":"https://api.github.com/users/meskio","html_url":"https://github.com/meskio","followers_url":"https://api.github.com/users/meskio/followers","following_url":"https://api.github.com/users/meskio/following{/other_user}","gists_url":"https://api.github.com/users/meskio/gists{/gist_id}","starred_url":"https://api.github.com/users/meskio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meskio/subscriptions","organizations_url":"https://api.github.com/users/meskio/orgs","repos_url":"https://api.github.com/users/meskio/repos","events_url":"https://api.github.com/users/meskio/events{/privacy}","received_events_url":"https://api.github.com/users/meskio/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pazz/alot/labels/crypto","name":"crypto","color":"02d7e1"},{"url":"https://api.github.com/repos/pazz/alot/labels/feature","name":"feature","color":"d7e102"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-07-12T19:11:06Z","updated_at":"2015-12-17T17:55:06Z","closed_at":"2015-12-16T16:59:26Z","pull_request":{"url":"https://api.github.com/repos/pazz/alot/pulls/774","html_url":"https://github.com/pazz/alot/pull/774","diff_url":"https://github.com/pazz/alot/pull/774.diff","patch_url":"https://github.com/pazz/alot/pull/774.patch"},"body":"For issue #661.\r\n\r\nA fifth try, following up the comments in #767 .\r\n\r\nI added an `encrypt_by_default` config option. Also I moved the reply key fetch to `alot.commands.global.ComposeCommand` as @pazz suggested.\r\n\r\nNow it blocks the error message only when is a reply to an encrypted message to make sure the user realizes that the email will not be sent encrypted. It don't block in case of `encrypt_by_default` config option neither in case of `:encrypt` command.\r\n\r\nHow does it look now?"},"comment":{"url":"https://api.github.com/repos/pazz/alot/issues/comments/165530505","html_url":"https://github.com/pazz/alot/pull/774#issuecomment-165530505","issue_url":"https://api.github.com/repos/pazz/alot/issues/774","id":165530505,"user":{"login":"pazz","id":628455,"avatar_url":"https://avatars.githubusercontent.com/u/628455?v=3","gravatar_id":"","url":"https://api.github.com/users/pazz","html_url":"https://github.com/pazz","followers_url":"https://api.github.com/users/pazz/followers","following_url":"https://api.github.com/users/pazz/following{/other_user}","gists_url":"https://api.github.com/users/pazz/gists{/gist_id}","starred_url":"https://api.github.com/users/pazz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pazz/subscriptions","organizations_url":"https://api.github.com/users/pazz/orgs","repos_url":"https://api.github.com/users/pazz/repos","events_url":"https://api.github.com/users/pazz/events{/privacy}","received_events_url":"https://api.github.com/users/pazz/received_events","type":"User","site_admin":false},"created_at":"2015-12-17T17:55:06Z","updated_at":"2015-12-17T17:55:06Z","body":"yes, i see the pseudo header with the correct recipient key as expected, directly after the editor exits.\r\nAny chance your buffer is not refreshed after the encrypt-action? (does the pseudo header appear after just a `refresh` ?)"}}