On 10.06.2016 21:00, RjOllos wrote:
On Friday, June 10, 2016 at 7:36:27 AM UTC-7, Aikido Guy wrote:

    I searched trac-hacks and google and tried to find out if it is
    possible to sign (e.g.
    https://www.gnupg.org/gph/en/manual/x135.html
    
<https://www.google.com/url?q=https%3A%2F%2Fwww.gnupg.org%2Fgph%2Fen%2Fmanual%2Fx135.html&sa=D&sntz=1&usg=AFQjCNFSg4_H567zf20PStsfxqOMij2Oyw>)
    an outgoing email from Trac. Not much luck.

I'm not aware of a plugin that implements the feature, but you might be able to create one in the forthcoming Trac 1.2, which has extension points in the notification system. I'm not sure which extension point you need to implement for signing, but you might start by looking at:
https://trac.edgewall.org/wiki/TracDev/PluginDevelopment/ExtensionPoints/trac.notification.api.INotificationDistributor
https://trac.edgewall.org/wiki/TracDev/PluginDevelopment/ExtensionPoints/trac.notification.api.IEmailDecorator

The (somewhat stale) development branch of AnnouncerPlugin might implement this:
https://trac-hacks.org/wiki/AnnouncerPlugin#DevelopmentVersion
https://trac-hacks.org/browser/announcerplugin/trunk/announcer/util/mail_crypto.py#L47
https://trac-hacks.org/browser/announcerplugin/trunk/announcer/distributors/mail.py#L165

(GnuPG encryption (not signing) was also once worked on here:
https://trac.edgewall.org/ticket/8294
But that's probably very outdated and unusable.)

But I agree that a Trac 1.2 plugin (preferably using IEmailDecorator) would be my preferred way to go.

Peter

--
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to