[08:03:03] hi everyone [08:22:35] hi Guest56 [16:02:33] I'm wondering if it's possible to edit the automated SMTP functionality to enable PGP support, only for signing though. [16:30:36] I also don't mean a plain clearsign on plaintext messages, but a proper signature in the message itself, RFC 3156 I believe. [18:15:33] UFFR: You might want to look at https://www.mediawiki.org/wiki/Extension:GPGMail. It may not be the exact transform you are interested in, but it should show you the hooks that you would want to implement for message signing. [18:17:03] Thanks, I'll look into it. [18:17:04] UFFR: https://www.mediawiki.org/wiki/Manual:Hooks/UserMailerTransformContent and https://www.mediawiki.org/wiki/Manual:Hooks/UserMailerTransformMessage are probably the hooks you would want to touch. [18:20:39] Are these for the Special:Emailuser function, automated emails, or both and any other type of mail the wiki service may send? [21:00:35] UFFR: that is a good question. I *think* all outbound emails end up going through the UserMailer::sendInternal method that applies the UserMailerTransformContent and UserMailerTransformMessage hooks. [21:22:01] yeah IIRC it covers every kind of mail, unless some extension has a very unconventional way of sending emails. It definitely covers Emailuser, watchlist emails and Echo. [22:47:26] That's good then, now I just have to read some technical specifications to figure out what is required to make a signature. [22:47:46] And the integrate the PHP OpenPGP implementation.