GNOME Bugzilla – Bug 339903
evolution not using STARTTLS properly
Last modified: 2007-04-09 14:35:50 UTC
Please describe the problem: evolution fails to connect to an imap server using TLS. STARTTLS support seems to be broken; * OK IMAP4 Ready woodchuck 00023754 A00000 CAPABILITY * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE STARTTLS A00000 OK CAPABILITY A00001 STARTTLS A00001 OK Begin TLS negotiation now A00002 LOGIN cs1ajb my-password-in-the-clear Note how after "A00001 OK" There is no attempt to start TLS negotiation. Steps to reproduce: 1. Configure an account to use TLS. 2. Try to connect to server 3. Get an error message about TLS Actual results: An error message about TLS negotiation appears. Expected results: Does this happen every time? Other information:
I have the same problem in Evolution 2.6.1 on Ubuntu Dapper. Someone confirm this please, this is a *major security problem*!
The problem shows up when you select the "IMAP4rev1" server type; "IMAP" works fine.
what are you talking about? C: A00001 STARTTLS S: A00001 OK Begin TLS negotiation now <at this point the client/server have both successfully been toggled into TLS mode> C: A00002 LOGIN cs1ajb my-password-in-the-clear no, it's not in the clear. it's TLS encrypted.
(In reply to comment #4) > C: A00002 LOGIN cs1ajb my-password-in-the-clear > > no, it's not in the clear. it's TLS encrypted. Um, if it was TLS encrypted, I wouldn't be able to read it with Ethereal, would I?
ah, well you didn't say that - I thought you were copy/pasting the protocol debug from evolution :p fwiw, you probably want to be using the "IMAP" and not "IMAP4rev1" account type anyway.
perhaps related to bug 321797? dunno
Chaps, if Evolution 2.6.1 is in Dapper then you will want to make sure they have included the fix for bug #339939!
sam: well, ask the ubuntu folks which patches they have backported :-)
this should be fixed in imap4 now (committed a patch last night - been hacking on libspruce which is where imap4 came from to begin with... it is basically just a port)