Skip to content

Make MAIL_ENCRYPTION variable less confusing #4342

@b2ag

Description

@b2ag

Describe the feature you'd like

Hi,

when first looking at the variable MAIL_ENCRYPTION I thought "why do you have GPG for mails?" only to discover it's just refering to encrypting SMTP traffic. I wouldn't call that mail encryption (but who am I to judge).

Next I tried to figure why there is only "null", "tls" and "ssl" as options. And what authors think the difference between "tls" and "ssl" might be. I guess no one wants SSL anymore. So I highly doubt "ssl" means lower or equal to SSLv3 ciphers. Now I have this gut feeling "tls" means "STARTTLS" and not just "TLS" but couldn't prove it with source code. So I'm still just guessing.

The whole thing is quite confusing to me and I guess I have to try and error to configure this.

So can you please update those options to clarify what they actually do?

To clarify:

  • TLS is the successor (or a continuation) of SSL
  • no one wants to use SSL ciphers in 2023
  • STARTTLS is a method of upgrading an insecure socket to use encryption
  • STARTTLS works with TLS and SSL ciphers

BR

Describe the benefits this would bring to existing BookStack users

I guess there is no benefit for existing users if they are not trying to configure encrypted outgoing SMTP traffic.

Can the goal of this request already be achieved via other means?

Better documentation could work around using better names for those options.

Have you searched for an existing open/closed issue?

  • I have searched for existing issues and none cover my fundemental request

How long have you been using BookStack?

Not using yet, just scoping

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions