From: Simon Ruderich <simon@ruderich.org>
To: Junio C Hamano <gitster@pobox.com>
Cc: Barbu Paul - Gheorghe <barbu.paul.gheorghe@gmail.com>,
git@vger.kernel.org
Subject: Re: [PATCH] git-imap-send.txt: remove the use of sslverify=false in GMail example
Date: Thu, 11 Apr 2013 17:26:17 +0200 [thread overview]
Message-ID: <20130411152617.GA14264@ruderich.org> (raw)
In-Reply-To: <7vmwt6mdjg.fsf@alter.siamese.dyndns.org>
On Wed, Apr 10, 2013 at 11:44:03AM -0700, Junio C Hamano wrote:
> The reason why we can run with sslverify=true against gmail is
> because we know imap.gmail.com gives a validly signed certificate
> that leads all the way to a root CA the user's OpenSSL installation
> is likely to trust (if your hand-rolled imap-over-ssl server uses a
> snakeoil certificate, even though the server may be "SSL capable",
> you may not be able to successfully connect to it without sslverify
> turned off).
Maybe imap-send should learn imap.sslCAInfo and imap.sslCAPath
like http.* to handle custom certificates.
>> diff --git a/Documentation/git-imap-send.txt b/Documentation/git-imap-send.txt
>> index 875d283..b15dffe 100644
>> --- a/Documentation/git-imap-send.txt
>> +++ b/Documentation/git-imap-send.txt
>> @@ -123,7 +123,6 @@ to specify your account settings:
>> host = imaps://imap.gmail.com
>> user = user@gmail.com
>> port = 993
>> - sslverify = false
>> ---------
>> You might need to instead use: folder = "[Google Mail]/Drafts" if you get an error
I think we should remove sslverify = false from the other example
as well. "Recommending" sslverify = false is IMHO a bad idea as
SSL provides no protection without verification.
Regards
Simon
--
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9
next prev parent reply other threads:[~2013-04-11 15:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-10 14:59 [PATCH] git-imap-send.txt: remove the use of sslverify=false in GMail example Barbu Paul - Gheorghe
2013-04-10 18:44 ` Junio C Hamano
2013-04-11 13:36 ` Barbu Paul - Gheorghe
2013-04-11 15:26 ` Simon Ruderich [this message]
2013-04-11 15:55 ` Barbu Paul - Gheorghe
2013-04-20 14:08 ` Simon Ruderich
2013-04-22 19:26 ` [PATCH] git-imap-send.txt: remove the use of sslverify=false Barbu Paul - Gheorghe
2013-04-24 17:18 ` Junio C Hamano
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=20130411152617.GA14264@ruderich.org \
--to=simon@ruderich.org \
--cc=barbu.paul.gheorghe@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/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).