User frigidaire_amer praises Discourse after migrating from an encrypted mailing list but requests a feature to enable GnuPG encryption specifically for outgoing topic notification emails. They note that while HTTPS is enforced, disabling email notifications was necessary to avoid sending unencrypted data, and they are now missing them. The user asks if this feature requires significant hacking or if a Ruby developer could implement it, referencing a previously closed topic on the subject. mpalmer clarifies that the earlier topic was closed due to marketplace expiration policies rather than technical infeasibility. He suggests that while this feature is unlikely to be added to core Discourse soon due to other priorities, it is a viable candidate for a plugin. He notes that implementing it would likely require adding specific hooks to the core to intercept emails at the correct processing stage for encryption and decryption, but technically, it is achievable for a motivated developer.
We switched our encrypted mailing list to a Discourse forum with no regret. Thanks for the great work!
When we switched to Discourse (obviously forcing https usage), we agreed to disable email notifications to prevent the sending of information without encryption. However, now, we miss email notifications
Would it be possible to implement GnuPG encryption only for outgoing topic notification emails? Our only threat model is passive eavesdropping.
Someone already started a topic about that (then the topic was closed):
(even if I disagree about the signature stuff which add complexity for a low-value)
Do you think a lot of hacks are needed to complete this feature? Or even a ruby newbie could implement it?
The topic you reference got closed because it was in the “marketplace”; to keep things manageable, topics get “expired” out of that category periodically.
As far as implementation goes, I doubt this would go into core any time soon (there’s a lot of more important features to add for general use), but I could definitely see it as a useful niche for a plugin. There might be a few hooks that need to be added to core in order for the plugin to catch the e-mails at just the right point in the processing chain and decrypt/encrypt, but I wouldn’t think it’d be out of the reach, technically, of a suitably motivated individual.