From: "brian m. carlson" <sandals@crustytoothpaste.net>
To: sndanailov@wired4ever.net
Cc: git@vger.kernel.org
Subject: Re: [PATCH] docs: git-send-email: difference between ssl and tls smtp-encryption
Date: Mon, 10 Oct 2022 19:44:03 +0000 [thread overview]
Message-ID: <Y0R2AwKuXAVMP5Ma@tapette.crustytoothpaste.net> (raw)
In-Reply-To: <20221010172859.13832-1-sndanailov@wired4ever.net>
[-- Attachment #1: Type: text/plain, Size: 1657 bytes --]
On 2022-10-10 at 17:28:59, sndanailov@wired4ever.net wrote:
> From: Sotir Danailov <sndanailov@wired4ever.net>
>
> New explanation for the difference between these values.
> It's hard to understand what they do based only on the names.
>
> Signed-off-by: Sotir Danailov <sndanailov@wired4ever.net>
> ---
> Documentation/git-send-email.txt | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
> index 3290043053..4db32f05f0 100644
> --- a/Documentation/git-send-email.txt
> +++ b/Documentation/git-send-email.txt
> @@ -178,8 +178,11 @@ Sending
> for `sendmail` in `/usr/sbin`, `/usr/lib` and $PATH.
>
> --smtp-encryption=<encryption>::
> - Specify the encryption to use, either 'ssl' or 'tls'. Any other
> - value reverts to plain SMTP. Default is the value of
> + Specify the encryption to use, either 'ssl' or 'tls'. Any other
> + value reverts to plain SMTP. The difference between the two for Git is
> + that 'ssl' uses implicit encryption and defaults to port 465, 'tls'
> + uses explicit encryption and defaults to port 25. Other ports might be
> + used by the SMTP server. Default is the value of
> `sendemail.smtpEncryption`.
This is a definite improvement, but maybe we'd want to say that 'tls' is
really STARTTLS, while 'ssl' is always-on encryption over a dedicated
port. It might also be worth mentioning that the choice of name doesn't
affect the actual protocol and version used and the user is almost
certainly using TLS either way.
--
brian m. carlson (he/him or they/them)
Toronto, Ontario, CA
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 263 bytes --]
next prev parent reply other threads:[~2022-10-10 19:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-10 17:28 [PATCH] docs: git-send-email: difference between ssl and tls smtp-encryption sndanailov
2022-10-10 19:11 ` Junio C Hamano
2022-10-10 19:44 ` brian m. carlson [this message]
2022-10-10 23:56 ` Junio C Hamano
2022-10-11 0:20 ` Aaron Schrab
2022-10-11 14:06 ` Philip Oakley
2022-10-11 15:49 ` Sotir Danailov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y0R2AwKuXAVMP5Ma@tapette.crustytoothpaste.net \
--to=sandals@crustytoothpaste.net \
--cc=git@vger.kernel.org \
--cc=sndanailov@wired4ever.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox