unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#20078: imap with openssl
@ 2015-03-11  2:31 William F Hammond
  2015-03-11 17:33 ` Glenn Morris
  0 siblings, 1 reply; 8+ messages in thread
From: William F Hammond @ 2015-03-11  2:31 UTC (permalink / raw)
  To: 20078

[-- Attachment #1: Type: text/plain, Size: 843 bytes --]

I've been using imap with openssl happily for about 15 years.

Recently it stopped working with a very well-known mail host.  A friend who
is usually on top of these things tells me that there is a vulnerability
named "poodle" when using the -ssl3 option of openssl s_client and one
should now have at the top of the list
imap-ssl-program (in imap.el) the following:

         "openssl s_client -quiet -tls1 -connect %s:%p"

He hastens to point out that the option -tls1 does not mean that one is
using tls rather than ssl -- a statement that means little to me.

Meanwhile, without the latest imap.el one can patch this easily enough in
.gnus by cons-ing the new string into imap-ssl-program AFTER manually
loading imap.

-- 
William F Hammond
Email: gellmu@gmail.com
https://www.facebook.com/william.f.hammond
http://www.albany.edu/~hammond

[-- Attachment #2: Type: text/html, Size: 1293 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#20078: imap with openssl
  2015-03-11  2:31 bug#20078: imap with openssl William F Hammond
@ 2015-03-11 17:33 ` Glenn Morris
  2015-03-11 18:47   ` William F Hammond
  0 siblings, 1 reply; 8+ messages in thread
From: Glenn Morris @ 2015-03-11 17:33 UTC (permalink / raw)
  To: William F Hammond; +Cc: 20078


Thanks for the report.
I think basically what you are talking about is the same as

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766397

which was forwarded to emacs-devel, which is a great way to ensure
things get lost, so it's good to have an actual bug report for it now.

The discussion is here, but AFAICS nothing actually happened:
http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00803.html





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#20078: imap with openssl
  2015-03-11 17:33 ` Glenn Morris
@ 2015-03-11 18:47   ` William F Hammond
  2015-03-11 18:59     ` Glenn Morris
  2015-03-12 14:24     ` Stefan Monnier
  0 siblings, 2 replies; 8+ messages in thread
From: William F Hammond @ 2015-03-11 18:47 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 20078

[-- Attachment #1: Type: text/plain, Size: 1531 bytes --]

On Wed, Mar 11, 2015 at 10:33 AM, Glenn Morris <rgm@gnu.org> wrote:

>
> Thanks for the report.
> I think basically what you are talking about is the same as
>
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766397
>
> which was forwarded to emacs-devel, which is a great way to ensure
> things get lost, so it's good to have an actual bug report for it now.
>
> The discussion is here, but AFAICS nothing actually happened:
> http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00803.html
>

Debian is not really the place to talk about this kind of issue for
emacs/gnus.

But I note in the Debian thread that Richard Stallman, based on his
reading, made the same point about avoiding the options ssl3 and ssl2 with
s_client though he did not ask for the abandonment of s_client or of
imap.el.

There's discussion in those threads about whether 'anyone' still uses
imap.el and its calls to external openssl.  It arises, for example, when
using mail-sources with, say, nnmbox.

My 'crisis' arose in a sun/solaris system where neither starttls nor gnutls
is available.  It seems that starttls is now no longer maintained (for
cause) and, in my case, gnutls is not easy to build from source because of
recursive library dependencies.  But openssl is available.

Would it make sense for emacs to incorporate gnutls?  That way one could be
sure for a given build of emacs that it would work with gnutls.

-- 
William F Hammond
Email: gellmu@gmail.com
https://www.facebook.com/william.f.hammond
http://www.albany.edu/~hammond/

[-- Attachment #2: Type: text/html, Size: 2637 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#20078: imap with openssl
  2015-03-11 18:47   ` William F Hammond
@ 2015-03-11 18:59     ` Glenn Morris
  2015-03-12 14:24     ` Stefan Monnier
  1 sibling, 0 replies; 8+ messages in thread
From: Glenn Morris @ 2015-03-11 18:59 UTC (permalink / raw)
  To: William F Hammond; +Cc: 20078

William F Hammond wrote:

> Would it make sense for emacs to incorporate gnutls?

You mean, bundle it?
No, bundling libraries is terrible eg wrt security updates.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#20078: imap with openssl
  2015-03-11 18:47   ` William F Hammond
  2015-03-11 18:59     ` Glenn Morris
@ 2015-03-12 14:24     ` Stefan Monnier
  2015-12-26 20:48       ` Lars Ingebrigtsen
  1 sibling, 1 reply; 8+ messages in thread
From: Stefan Monnier @ 2015-03-12 14:24 UTC (permalink / raw)
  To: William F Hammond; +Cc: 20078

> There's discussion in those threads about whether 'anyone' still uses
> imap.el and its calls to external openssl.  It arises, for example, when
> using mail-sources with, say, nnmbox.

I consider imap.el's use of an external process to be a bug.

> My 'crisis' arose in a sun/solaris system where neither starttls nor gnutls
> is available.  It seems that starttls is now no longer maintained (for
> cause) and, in my case, gnutls is not easy to build from source because of
> recursive library dependencies.

Hmm... we're definitely moving in the direction of requiring libgnutls
when building Emacs.

> Would it make sense for emacs to incorporate gnutls?

No, there be dragons.

> That way one could be sure for a given build of emacs that it would
> work with gnutls.

That would just mean that you wouldn't be able to build Emacs without
first solving the "recursive library dependencies".

But yes, I encourage you to try and solve these gnutls build problems,


        Stefan





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#20078: imap with openssl
  2015-03-12 14:24     ` Stefan Monnier
@ 2015-12-26 20:48       ` Lars Ingebrigtsen
  2015-12-26 21:46         ` William F Hammond
  0 siblings, 1 reply; 8+ messages in thread
From: Lars Ingebrigtsen @ 2015-12-26 20:48 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: William F Hammond, 20078

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> There's discussion in those threads about whether 'anyone' still uses
>> imap.el and its calls to external openssl.  It arises, for example, when
>> using mail-sources with, say, nnmbox.
>
> I consider imap.el's use of an external process to be a bug.

I've now changed imap.el to use open-network-stream and removed all the
variables specifying gnutls-cli etc.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#20078: imap with openssl
  2015-12-26 20:48       ` Lars Ingebrigtsen
@ 2015-12-26 21:46         ` William F Hammond
  2015-12-26 21:53           ` Lars Ingebrigtsen
  0 siblings, 1 reply; 8+ messages in thread
From: William F Hammond @ 2015-12-26 21:46 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 20078, Stefan Monnier

[-- Attachment #1: Type: text/plain, Size: 481 bytes --]

On Sat, Dec 26, 2015 at 12:48 PM, Lars Ingebrigtsen <larsi@gnus.org> wrote:

> I've now changed imap.el to use open-network-stream and removed all the
> variables specifying gnutls-cli etc.
>

Thanks.

Do you have any guess as to when, e.g., year or emacs version, this will
find its way into the version of gnus included with GNU Emacs?

            -- Bill

-- 
William F Hammond
Email: gellmu@gmail.com
https://www.facebook.com/william.f.hammond
http://www.albany.edu/~hammond/

[-- Attachment #2: Type: text/html, Size: 1280 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#20078: imap with openssl
  2015-12-26 21:46         ` William F Hammond
@ 2015-12-26 21:53           ` Lars Ingebrigtsen
  0 siblings, 0 replies; 8+ messages in thread
From: Lars Ingebrigtsen @ 2015-12-26 21:53 UTC (permalink / raw)
  To: William F Hammond; +Cc: 20078, Stefan Monnier

William F Hammond <gellmu@gmail.com> writes:

> Do you have any guess as to when, e.g., year or emacs version, this will find
> its way into the version of gnus included with GNU Emacs?

It's already in GNU Emacs.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-12-26 21:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-11  2:31 bug#20078: imap with openssl William F Hammond
2015-03-11 17:33 ` Glenn Morris
2015-03-11 18:47   ` William F Hammond
2015-03-11 18:59     ` Glenn Morris
2015-03-12 14:24     ` Stefan Monnier
2015-12-26 20:48       ` Lars Ingebrigtsen
2015-12-26 21:46         ` William F Hammond
2015-12-26 21:53           ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).