<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 14, 2013 at 4:00 AM, o <span dir="ltr"><<a href="mailto:oday@securingchange.org" target="_blank">oday@securingchange.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Thu, 2013-06-13 at 13:18 +0400, Ruslan Zakirov wrote:<br>
><br>
><br>
><br>
> On Thu, Jun 13, 2013 at 2:30 AM, Oliver Day <<a href="mailto:oday@securingchange.org">oday@securingchange.org</a>><br>
> wrote:<br>
> I haven't found documentation that explains how to cache<br>
> passwords that will allow mailgate to decrypt messages sent to<br>
> RT. I've set the home directory to the default location and<br>
> imported the appropriate keys. So I'm able to encrypt a<br>
> message to a user and I'm able to decrypt that message and<br>
> respond. But in the ticket itself the response I send back is<br>
> displayed as "Message body not shown because it is not plain<br>
> text." with a MIME type of "application/pgp-encrypted".<br>
><br>
><br>
> I know about gpg-agent and I've even gone as far as launching<br>
> gpg-agent as the user www-data (the user my webserver uses)<br>
> but I'm unsure how to cache the keys into gpg-agent. Or is<br>
> this approach completely wrong?<br>
><br>
><br>
> You don't need gpg decryption in UI unless you're using encrypt<br>
> attachments in DB option. Can you tell more about your problem? At<br>
> least URL where you see encrypted content.<br>
<br>
<br>
<br>
</div>Hi Ruslan,<br>
<br>
I will have sensitive information in the tickets I'll create so I'd like<br>
to encrypt the contents of the ticket. I created a test ticket, selected<br>
myself as the owner and selected "encrypt" in the options to encrypt it<br>
to my gpg key. An email was sent to me from the queue and I was able to<br>
decrypt the message, reply, and encrypt the response to the queue's<br>
public key. When I look at the history of the ticket<br>
(e.g. /rt/Ticket/History.html?id=31) the messages are encrypted and I'm<br>
unable to see the contents and the error messages are described in my<br>
previous email and in the screenshot attached.<br>
<br>
Is there documentation on how to enable encrypting the attachments in<br>
the DB? That sounds like an option I'd like as well.<br></blockquote><div><br></div><div><br></div><div style>What you see is totally unexpected. RT should just show decrypted content</div><div style>in UI. You should check logs for errors/warnings. May be enable debug logging,</div>
<div style>run a few tests and send us logs.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
Oliver<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Best regards, Ruslan.
</div></div>