{"action":"opened","issue":{"url":"https://api.github.com/repos/mailpile/Mailpile/issues/1295","labels_url":"https://api.github.com/repos/mailpile/Mailpile/issues/1295/labels{/name}","comments_url":"https://api.github.com/repos/mailpile/Mailpile/issues/1295/comments","events_url":"https://api.github.com/repos/mailpile/Mailpile/issues/1295/events","html_url":"https://github.com/mailpile/Mailpile/issues/1295","id":87531560,"number":1295,"title":"Handle PGP encrypted mail more gracefully during indexing","user":{"login":"BjarniRunar","id":3943592,"avatar_url":"https://avatars.githubusercontent.com/u/3943592?v=3","gravatar_id":"","url":"https://api.github.com/users/BjarniRunar","html_url":"https://github.com/BjarniRunar","followers_url":"https://api.github.com/users/BjarniRunar/followers","following_url":"https://api.github.com/users/BjarniRunar/following{/other_user}","gists_url":"https://api.github.com/users/BjarniRunar/gists{/gist_id}","starred_url":"https://api.github.com/users/BjarniRunar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BjarniRunar/subscriptions","organizations_url":"https://api.github.com/users/BjarniRunar/orgs","repos_url":"https://api.github.com/users/BjarniRunar/repos","events_url":"https://api.github.com/users/BjarniRunar/events{/privacy}","received_events_url":"https://api.github.com/users/BjarniRunar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-11T23:04:10Z","updated_at":"2015-06-11T23:04:10Z","closed_at":null,"body":"Indexing of mail currently behaves rather unpredictably when it comes to indexing encrypted mail. If Mailpile has a passphrase (and the configuration says to index encrypted), the messages will be indexed. If Mailpile does not have a passphrase, the messages will silently pass through unindexed.\r\n\r\nA few things need to happen:\r\n\r\n1) The user needs to be notified that the indexer needs a passphrase\r\n2) Messages that could not be decrypted should be tagged as such so they can be reindexed later, when we have access to the key\r\n\r\nThis subsystem should also be configurable, as mentioned in #1294. Relates to #912."}}