| Summary | IMAP/Client.java: choosing auth method |
| Queue | IMP |
| Queue Version | HEAD |
| Type | Bug |
| State | Resolved |
| Priority | 1. Low |
| Owners | slusarz (at) horde (dot) org |
| Requester | a (at) example (dot) com |
| Created | 03/18/2006 (7237 days ago) |
| Due | |
| Updated | 03/28/2006 (7227 days ago) |
| Assigned | 03/19/2006 (7236 days ago) |
| Resolved | 03/28/2006 (7227 days ago) |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | No |
State ⇒ Resolved
Assigned to Michael Slusarz
State ⇒ Feedback
still wrong in your opinion? And please use a real email address next
time.
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ IMAP/Client.java: choosing auth method
Queue ⇒ IMP
behaviour:
In lines 479-481 it is said that no special authentication is needed
for encrypted connections. But in the lines starting with 489 there is
chosen 'CRAM-MD5' or 'DIGEST-MD5' instead of 'plain'.
The reason is in line 489:
if ((!$this->_usessl || !$this->_usetls) && !empty($auth_methods))
The '||' should be a '&&'. Only a not encrypted connection
(!$this->_usessl && !$this->_usetls) needs 'CRAM-MD5' or 'DIGEST-MD5'.