Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174678 - kmail-3.5.5-r2 and kdepim-3.5.5-r4 stable request
Summary: kmail-3.5.5-r2 and kdepim-3.5.5-r4 stable request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: Highest enhancement (vote)
Assignee: MIPS Porters
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2007-04-15 13:18 UTC by TommyDrum
Modified: 2007-11-15 15:16 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to fix the ! encoding issue (kmail-utf8.diff,576 bytes, patch)
2007-04-22 20:49 UTC, Caleb Tennis (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description TommyDrum 2007-04-15 13:18:57 UTC
As described also in the http://forums.gentoo.org/viewtopic-t-552362.html topic in gentoo forums, immediately after upgrading from qt 3.3.6-r4 to 3.3.8-r2, kmail denies AUTH to servers with the "username and password incorrect" pop up error.
Happens independently with pop3 or imap.

Number of letters obscured in the password field of each account result much longer than number of letters actually set.

Problem disappears as soon as I manually reenter the passwords in each account.


Reproducible: Always

Steps to Reproduce:
1.Upgrade to qt-3.3.8-r2 from qt-3.3.6-r4.
2.Try receiving any mail from kmail.
3.

Actual Results:  
Pop up errors pointing that username and password are invalid.

Expected Results:  
Regularly receive mail.

Problem disappears as soon as I reenter the passwords in each account.
Comment 1 TommyDrum 2007-04-15 13:57:54 UTC
Correction: Reentering the passwords manually works but only as long as I keep kmail open. Problem reappears as soon as I restart kmail.
Comment 2 Thomas Matthijs (RETIRED) gentoo-dev 2007-04-15 16:44:17 UTC
I had the exact same problem a while ago, when those utf patches to fix a security fix went in (iirc)

It only happened with me when using kmail without kwallet, do you see the same thing?
Comment 3 TommyDrum 2007-04-15 17:08:14 UTC
(In reply to comment #2)
 
> It only happened with me when using kmail without kwallet, do you see the same
> thing?

I don't use kwallet, so I don't know really...
Comment 4 François Bissey 2007-04-16 09:13:17 UTC
(In reply to comment #2)
> I had the exact same problem a while ago, when those utf patches to fix a
> security fix went in (iirc)
> 
> It only happened with me when using kmail without kwallet, do you see the same
> thing?
> 
I don't use kwallet either and don't intend to, so I won't check that.
However your remark about utf patches is interesting when combined with one of
the post in the forum:
 What I have noticed is that the problem depends on complication level of password. I have three accounts configured in kmail and one with "aneasypassword" works ok, while two others with "l33t5p34k!@#" have problems (those are ofcourse not my passwords, just to show what kind of characters are used).
-------------------
Buggy encoding?
Comment 5 TommyDrum 2007-04-16 16:56:16 UTC
I just noticed the same exact thing on my machine: 
Pop3 accounts with complex passwords (containing alphanumeric, caps, symbols and spaces), are the ones that get borked; like "l33t 5p34k! @#"
Other pop3 accounts with simple alphabetic, low caps, no spaces or symbols pass maintain functionality; like "aneasypassword".
Imap accounts with alphanumeric but WITHOUT spaces or symbols works regularly; like "l3ss34syp455".
Comment 6 TommyDrum 2007-04-21 11:53:59 UTC
Update: the culprit to the problem mentioned is the patch utf8-bug-qt3.diff added in qt-3.3.8-r2. Removing the diff solves the problem with kmail, but is a regression regarding the XSS problem mentioned in qt changelog (please read the http://forums.gentoo.org/viewtopic-t-552362.html topic for complete information)
Where is this problem supposed to be handled, portage or KDE?
Comment 7 Caleb Tennis (RETIRED) gentoo-dev 2007-04-22 20:47:49 UTC
I just got a patch from the kde packager list regarding this issue.  At least for this patch, the issue is only for passwords with the ! character in it.  Will post shortly.
Comment 8 Caleb Tennis (RETIRED) gentoo-dev 2007-04-22 20:49:31 UTC
Created attachment 117020 [details, diff]
patch to fix the ! encoding issue
Comment 9 François Bissey 2007-04-23 02:13:35 UTC
I just tried the patch with kmail-3.5.5-r2 (current stable) and after changing
kmaccount.cpp to kmail/kmaccount.cpp in the patch it worked and solved my problem.
I had to logout of kde and login again for it to be effective.
Comment 10 TommyDrum 2007-04-23 17:40:08 UTC
I'm glad it worked out for Francois, but unfortunately over here it didn't work: May I state that I don't have ! in my passes, but many spaces and other special chars (mainly ' ).
I did the following (as root):
1. ebuild /usr/portage/kde-base/kmail/kmail-3.5.6-r2.ebuild unpack
2. mv kmaccount.cpp.diff /var/tmp/portage/kde-base/kmail-3.5.6-r2/work/kmail-3.5.6/kmail/
3. cd /var/tmp/portage/kde-base/kmail-3.5.6-r2/work/kmail-3.5.6/kmail/
4. patch -p0 <kmaccount.cpp.diff
5. ebuild /usr/portage/kde-base/kmail/kmail-3.5.6-r2.ebuild merge

Rebuilt qt with the incriminated patch.
Restarted kmail, no avail.
Restarted X, KDE and Kmail, no avail.
Am I doing something wrong? (Cope with me, I don't have great experience with patches!)
Comment 11 TommyDrum 2007-04-23 17:49:35 UTC
Please ignore my last post, the patch works correctly: I had, although, to reenter my passes once again, and now kmail retains them correctly, even after shutdown and reboot.
So I guess the bug is solved; when is it time to close it, now or after the next kmail revision?
Sorry again for alarming anyone :)
Comment 12 Caleb Tennis (RETIRED) gentoo-dev 2007-04-24 17:00:35 UTC
kmail-3.5.6-r3 and kdepim-3.5.6-r3 should now have this patch in portage.
Comment 13 François Bissey 2007-04-24 23:59:57 UTC
(In reply to comment #12)
> kmail-3.5.6-r3 and kdepim-3.5.6-r3 should now have this patch in portage.
> 

Nice, what about fixing the stable packages? It is as straightforward.
Comment 14 Carsten Lohrke (RETIRED) gentoo-dev 2007-04-25 08:59:17 UTC
Arch teams, please mark  kmail-3.5.5-r2 respective kdepim-3.5.5-r4 stable ASAP.
Comment 15 Jeroen Roovers (RETIRED) gentoo-dev 2007-04-25 19:34:46 UTC
Stable for HPPA.
Comment 16 Christian Faulhammer (RETIRED) gentoo-dev 2007-04-26 13:06:39 UTC
ia64 and x86 stable, armin76 has done that.
Comment 17 Gustavo Zacarias (RETIRED) gentoo-dev 2007-04-26 13:14:09 UTC
sparc stable.
Comment 18 Markus Rothe (RETIRED) gentoo-dev 2007-04-28 19:12:07 UTC
ppc64 stable
Comment 19 Jacopo 2007-05-10 13:47:49 UTC
amd64 stable  

Moreover Kopete suffers from the exact same issue. Any patch already out there?
Comment 20 Christian Faulhammer (RETIRED) gentoo-dev 2007-05-15 18:11:36 UTC
amd64 stable
Comment 21 Raúl Porcel (RETIRED) gentoo-dev 2007-05-16 18:29:18 UTC
alpha stable
Comment 22 Joe Jezak (RETIRED) gentoo-dev 2007-05-21 03:25:06 UTC
Marked ppc stable.
Comment 23 Wulf Krueger (RETIRED) gentoo-dev 2007-06-16 23:38:32 UTC
mips, ping!
Comment 24 Jakub Moc (RETIRED) gentoo-dev 2007-11-15 15:16:28 UTC
Doesn't go anywhere. Bug 188857 ATM.