[rt-users] PGP signatures...

Jean-Sebastien Morisset jsmoriss at mvlan.net
Mon Jul 14 13:09:31 EDT 2008


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 at mvlan.net>



More information about the rt-users mailing list