<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Highlight background of PGP messages</title> 
  <pubDate>Fri, 10 Apr 2026 09:50:20 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/8296</link> 
  <atom:link rel="self" type="application/rss+xml" title="Highlight background of PGP messages" href="https://bugs.horde.org/ticket/8296/rss" /> 
  <description>Highlight background of PGP messages</description> 
 
   
   
  <item> 
   <title>This simple patch adds some really nice background highlight</title> 
   <description>This simple patch adds some really nice background highlighting to signed PGP messages. Good messages get a green background, bad messages a red one.

Unfortunately it&#039;s next to impossible to port this to Git with the current code layout, since the verification result is stored in a mime part distinct from the actual message. Any ideas how to get this working in Git are welcome.</description> 
   <pubDate>Tue, 19 May 2009 16:12:44 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8296#t54257</link> 
  </item> 
   
  <item> 
   <title>&gt; Unfortunately it&#039;s next to impossible to port this to Git </title> 
   <description>&gt; Unfortunately it&#039;s next to impossible to port this to Git with the 

&gt; current code layout, since the verification result is stored in a 

&gt; mime part distinct from the actual message. Any ideas how to get this 

&gt; working in Git are welcome.



In git this could easily be done but slightly modifying the return from Horde_Mime_Viewer::render().  At one point, I believe I had added a &#039;bg&#039; item - I think I took it out because we weren&#039;t using it anywhere.  Just would need to re-add this.  Then, when looping through the render code (in message.php and lib/Views/ShowMessage.php), the classname information would be available in the return from IMP_Contents::renderMIMEPart() and could easily be added to the mimePartInfo SPAN element.</description> 
   <pubDate>Tue, 19 May 2009 18:53:36 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8296#t54261</link> 
  </item> 
   
  <item> 
   <title>Yes, I already got that far, but the problem is that the mim</title> 
   <description>Yes, I already got that far, but the problem is that the mime parts responsible for verifying the signature (and providing the bg color) and for rendering the actual message text (and showing the bg color) don&#039;t &quot;know&quot; of each other. Thing especially get worse if re-building a &quot;virtual&quot; message from embedded mime parts if the message is inline armored.

Btw, in this case, the part information being displayed in the message view is incorrect because it reflects the virtual message, not the original one.</description> 
   <pubDate>Tue, 19 May 2009 21:58:31 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8296#t54264</link> 
  </item> 
   
  <item> 
   <title>&gt; Yes, I already got that far, but the problem is that the m</title> 
   <description>&gt; Yes, I already got that far, but the problem is that the mime parts 

&gt; responsible for verifying the signature (and providing the bg color) 

&gt; and for rendering the actual message text (and showing the bg color) 

&gt; don&#039;t &quot;know&quot; of each other. Thing especially get worse if re-building 

&gt; a &quot;virtual&quot; message from embedded mime parts if the message is inline 

&gt; armored.



This should be easy enough to fix/hack around - the verifying code could easily store the information in the parent multipart/signed Viewer and/or part so that all other children parts can access this information.



&gt; Btw, in this case, the part information being displayed in the 

&gt; message view is incorrect because it reflects the virtual message, 

&gt; not the original one.



I assume you are talking about the &quot;fake&quot; parts created from the armored text.  That was a rough first implementation (my personal motiviation to play around with armored messages is limited because it was deprecated ages ago) but a necessary one since armored messages may contain multiple parts inside of them.  Display of the &#039;x-imp...&#039; part is best hidden at some point in the future (the part is currently necessary because it is the only place that contains the full text of the message necessary to verify the signature).</description> 
   <pubDate>Fri, 29 May 2009 05:51:41 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8296#t54340</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

All embedded</title> 
   <description>Changes have been made in Git for this ticket:

All embedded information now lives under the original part.
Resolves Ticket #8296; Ticket #8629

Don&#039;t replace the original part with the embedded information. This
ensures we can always uniquely access the original data if necessary.
Also allows us an easier method to show status messages for related data
and allows us to do fancier things like wrapping entire parts with
colored borders (i.e. multipart/encrypted, multipart/signed).

Fixes problems with S/MIME encrypted/signed messages.

http://git.horde.org/diff.php/imp/docs/CHANGES?rt=horde-hatchery&amp;r1=7e7c28dd6bf2f2078b9e2efa66041a0c22babc8a&amp;r2=2faf375710fbfb550f993776203eb2b1df57395d
http://git.horde.org/diff.php/imp/lib/Contents.php?rt=horde-hatchery&amp;r1=b879fbf80e084ac1d43d439083a5da0a35f01419&amp;r2=2faf375710fbfb550f993776203eb2b1df57395d
http://git.horde.org/diff.php/imp/lib/Mime/Viewer/Partial.php?rt=horde-hatchery&amp;r1=b879fbf80e084ac1d43d439083a5da0a35f01419&amp;r2=2faf375710fbfb550f993776203eb2b1df57395d
http://git.horde.org/diff.php/imp/lib/Mime/Viewer/Pgp.php?rt=horde-hatchery&amp;r1=ba9857f21277a77d8f243638bd433a33ae4b2255&amp;r2=2faf375710fbfb550f993776203eb2b1df57395d
http://git.horde.org/diff.php/imp/lib/Mime/Viewer/Plain.php?rt=horde-hatchery&amp;r1=71466fedc7a8c82a1a7157ccb637749e7f4700c1&amp;r2=2faf375710fbfb550f993776203eb2b1df57395d
http://git.horde.org/diff.php/imp/lib/Mime/Viewer/Smime.php?rt=horde-hatchery&amp;r1=b879fbf80e084ac1d43d439083a5da0a35f01419&amp;r2=2faf375710fbfb550f993776203eb2b1df57395d
http://git.horde.org/diff.php/imp/themes/screen.css?rt=horde-hatchery&amp;r1=c3733d574889dbade4b7f2535f823a068b21d970&amp;r2=2faf375710fbfb550f993776203eb2b1df57395d</description> 
   <pubDate>Tue, 10 Nov 2009 16:57:18 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8296#t56641</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

All embedded</title> 
   <description>Changes have been made in Git for this ticket:

All embedded information now lives under the original part.
Resolves Ticket #8296; Ticket #8629

Don&#039;t replace the original part with the embedded information. This
ensures we can always uniquely access the original data if necessary.
Also allows us an easier method to show status messages for related data
and allows us to do fancier things like wrapping entire parts with
colored borders (i.e. multipart/encrypted, multipart/signed).

Fixes problems with S/MIME encrypted/signed messages.

http://git.horde.org/diff.php/imp/docs/CHANGES?rt=horde-git&amp;r1=7e7c28dd6bf2f2078b9e2efa66041a0c22babc8a&amp;r2=2faf375710fbfb550f993776203eb2b1df57395d
http://git.horde.org/diff.php/imp/lib/Contents.php?rt=horde-git&amp;r1=b879fbf80e084ac1d43d439083a5da0a35f01419&amp;r2=2faf375710fbfb550f993776203eb2b1df57395d
http://git.horde.org/diff.php/imp/lib/Mime/Viewer/Partial.php?rt=horde-git&amp;r1=b879fbf80e084ac1d43d439083a5da0a35f01419&amp;r2=2faf375710fbfb550f993776203eb2b1df57395d
http://git.horde.org/diff.php/imp/lib/Mime/Viewer/Pgp.php?rt=horde-git&amp;r1=ba9857f21277a77d8f243638bd433a33ae4b2255&amp;r2=2faf375710fbfb550f993776203eb2b1df57395d
http://git.horde.org/diff.php/imp/lib/Mime/Viewer/Plain.php?rt=horde-git&amp;r1=71466fedc7a8c82a1a7157ccb637749e7f4700c1&amp;r2=2faf375710fbfb550f993776203eb2b1df57395d
http://git.horde.org/diff.php/imp/lib/Mime/Viewer/Smime.php?rt=horde-git&amp;r1=b879fbf80e084ac1d43d439083a5da0a35f01419&amp;r2=2faf375710fbfb550f993776203eb2b1df57395d
http://git.horde.org/diff.php/imp/themes/screen.css?rt=horde-git&amp;r1=c3733d574889dbade4b7f2535f823a068b21d970&amp;r2=2faf375710fbfb550f993776203eb2b1df57395d</description> 
   <pubDate>Wed, 13 Jan 2010 00:15:18 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8296#t57656</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
