PGP signatures

Hi everyone,

I’ve had to add some filtering for PGP keys to clean-up ticket
attachments:

diff lib/RT/Attachment_Overlay.pm local/lib/RT/Attachment_Overlay.pm

166d165
<
169a169,174

  # skip PGP signatures
  if ($Attachment->mime_type eq 'application/pgp-signature') {
          $RT::Logger->info("PGP signature attachment skipped.");
          return ();
  }

A better solution would be to use the PGO signature to validate the
e-mail. Has anyone coded something for this already?

Thanks,
js.
Jean-Sebastien Morisset, Sr. UNIX Administrator jsmoriss@mvlan.net

Hi everyone,

I’ve had to add some filtering for PGP keys to clean-up ticket
attachments:

diff lib/RT/Attachment_Overlay.pm local/lib/RT/Attachment_Overlay.pm

166d165
<
169a169,174

 # skip PGP signatures
 if ($Attachment->mime_type eq 'application/pgp-signature') {
         $RT::Logger->info("PGP signature attachment skipped.");
         return ();
 }

A better solution would be to use the PGO signature to validate the
e-mail. Has anyone coded something for this already?

As it happens, yes, we have. It’s available as part of RT 3.8.0.

Best,
Jesse