git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 2/4] git-imap-send: Add support for SSL.

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 8, 2008, 23:20 UTC
Message-ID
<7vbq18q7yk.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<1215555496-21335-2-git-send-email-robertshearman@gmail.com>
Robert Shearman <robertshearman@gmail.com> writes:
Show 5 quoted lines
> 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?
Show 16 quoted lines
> 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.
Previous: Robert ShearmanNext: Abhijit Menon-Sen
Message 2 of 8 in “git-imap-send: Add support for SSL.”
  1. 2/4 git-imap-send: Add support for SSL.Robert Shearman, Jul 8, 2008
  2. Junio C HamanoJul 8, 2008
  3. Abhijit Menon-SenJul 9, 2008
  4. Rob ShearmanJul 9, 2008
  5. Junio C HamanoJul 9, 2008
  6. Josh TriplettJul 9, 2008
  7. Rob ShearmanJul 9, 2008
  8. Jeff KingJul 10, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.