git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Berg <benjamin@sipsolutions.net>
To: git@vger.kernel.org
Subject: git-send-email smtpEncryption option is case sensitive (silently fails if "TLS" is specified)
Date: Mon, 15 May 2017 14:02:21 +0200	[thread overview]
Message-ID: <1494849741.3608.5.camel@sipsolutions.net> (raw)

Hi,

I just spend some time figuring out that my newly written git-send-
email configuration didn't work because setting

[sendemail]
    smtpEncryption = TLS

has no effect. This is because the option has to be specified as "tls".
Unfortunately there is no warning that "TLS" is unsupported making it
hard to see why authentication is failing in the end.

I think it would be helpful to have a warning. Additionally one could
also normalize the option to lowercase automatically.

Regards,
Benjamin

                 reply	other threads:[~2017-05-15 12:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1494849741.3608.5.camel@sipsolutions.net \
    --to=benjamin@sipsolutions.net \
    --cc=git@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).