Skip to content

Remove check for production environment to encrypt grpc channel

What does this MR do and why?

See #348223 (closed)

Follow up to !75677 (merged)

This removes the check if we're running on production to determine if we should encrypt the grpc channel to the Spamcheck service.

We now rely solely on the scheme of the Spamcheck URL set in the admin panel. A tls scheme will encrypt the channel regardless of the environment.

The purpose behind the change is to make encryption explicit.

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #348223 (closed)

Edited by Ethan Urie

Merge request reports