From: Junio C Hamano <gitster@pobox.com>
To: Robert Shearman <robertshearman@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH 2/4] git-imap-send: Add support for SSL.
Date: Tue, 08 Jul 2008 16:20:19 -0700 [thread overview]
Message-ID: <7vbq18q7yk.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <1215555496-21335-2-git-send-email-robertshearman@gmail.com> (Robert Shearman's message of "Tue, 8 Jul 2008 23:18:14 +0100")
Robert Shearman <robertshearman@gmail.com> writes:
> Allow SSL to be used when a imaps:// URL is used for the host name.
>
> Also, automatically use TLS when not using imaps:// by using the IMAP STARTTLS command, if the server supports it.
>
> Tested with Courier and Gimap IMAP servers.
Sign-off?
> diff --git a/Documentation/git-imap-send.txt b/Documentation/git-imap-send.txt
> index b3d8da3..e4a5873 100644
> --- a/Documentation/git-imap-send.txt
> +++ b/Documentation/git-imap-send.txt
> @@ -37,10 +37,11 @@ configuration file (shown with examples):
> Tunnel = "ssh -q user@server.com /usr/bin/imapd ./Maildir 2> /dev/null"
>
> [imap]
> - Host = imap.server.com
> + Host = imaps://imap.example.com
> User = bob
> Pass = pwd
> - Port = 143
> + Port = 993
> + sslverify = false
> ..........................
Don't we also want to keep a vanilla configuration in the example, or is
imaps the norm and unencrypted imap is exception these days?
Don't we need to support custom certificates, keys and CAs, just like our
code that supports https does, by honoring GIT_SSL_* environment variables
and configuration file entries? The patch itself looks fairly clean, and
I'd like to queue this for wider testing, initially even without GIT_SSL_*
support. But I'd like to see any patch with substantial amount of changes
properly signed off.
Thanks.
next prev parent reply other threads:[~2008-07-08 23:21 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-08 22:18 [PATCH 2/4] git-imap-send: Add support for SSL Robert Shearman
2008-07-08 23:20 ` Junio C Hamano [this message]
2008-07-09 2:28 ` Abhijit Menon-Sen
2008-07-09 12:02 ` Rob Shearman
2008-07-09 18:28 ` Junio C Hamano
2008-07-09 15:14 ` Josh Triplett
2008-07-09 21:24 ` Rob Shearman
2008-07-10 6:39 ` Jeff King
-- strict thread matches above, loose matches on Subject: below --
2008-07-09 21:29 Robert Shearman
2008-07-10 1:20 ` Junio C Hamano
2008-07-10 1:31 ` Linus Torvalds
2008-07-10 2:02 ` Junio C Hamano
2008-07-10 5:33 ` Mike Hommey
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=7vbq18q7yk.fsf@gitster.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=robertshearman@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.