Bug 144814

Summary: Pop Password gets corrupted + smtp gmail doesn't work
Product: [Unmaintained] kmail Reporter: Jacopo De Simoi <jacopods+kde>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: erunno, kbug, m_fischer
Priority: NOR    
Version: 1.9.5   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jacopo De Simoi 2007-04-29 07:20:57 UTC
Version:           1.9.5 (using KDE KDE 3.5.5)
Installed from:    Compiled From Sources
Compiler:          gcc (GCC) 4.1.1 (Gentoo 4.1.1-r3) 
OS:                Linux

Every time Kmail is restarted the pop password for my gmail account gets somehow corrupted (more asterisks than there should be in the field, if that matters) and  it does not AUTH. i have to reset it back manually, then it works for the whole session. I am not using Kwallet. Moreover there's no way I can make gmail smtp work. I tried every single permutation of port # and authentication methods. It keeps telling me that my password is wrong. Again every time I reset it to the correct value, it gets longer.

Do you think it might be a charset issue? I've been using utf8 for a while and nothing bad happened until yesterday...

Thanx
J
Comment 1 Jacopo De Simoi 2007-04-29 21:34:33 UTC
Update: Changing the password to a less fancy password (no non-alphabetical chars as !@#$%$%^&*) make it work again as it should be (pop & smtp) so it's really some charset issue. This is somehow weird. What can be causing this issue? A filesystem problem? Locale settings? I've no non-ascii chars in my old pwd. 
Comment 2 Thomas McGuire 2007-05-17 12:39:02 UTC
If your password contained the "!" char, the problem is likely fixed by:

>SVN commit 665551 by coolo:
>
>somehow the fix was forgotten - patch by dirk:
>   with the recent utf8 decoder fix in Qt (CVE-2007-0242), kmail 
>   fails to restore passwords with '!' correctly from kconfig.

Is that the case?
Comment 3 Jacopo De Simoi 2007-05-17 22:03:47 UTC
Actually yes, this worked for me. Btw the same problem affects (or used to affect) kopete as well (they share the same code for pwd encoding). I recently (this morning) heard from someone telling me that that problem has been fixed, I am looking forward to see if that's the case.
Comment 4 Thomas McGuire 2007-05-18 12:51:24 UTC
*** Bug 145463 has been marked as a duplicate of this bug. ***
Comment 5 Thomas McGuire 2007-05-18 12:52:55 UTC
Closing this bug then, since the problem is fixed for KMail.
I don't know the status of Kopete though, you might want to report a bug there as well.
Comment 6 Thomas McGuire 2007-06-05 22:27:15 UTC
*** Bug 146162 has been marked as a duplicate of this bug. ***
Comment 7 Thomas McGuire 2009-06-26 12:18:47 UTC
*** Bug 167900 has been marked as a duplicate of this bug. ***
Comment 8 Thomas McGuire 2009-06-26 13:27:51 UTC
SVN commit 987573 by tmcguire:

Fix storing of passwords with a ! in them. 
BUG: 144814 


 M  +3 -1      kstringhandler.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=987573
Comment 9 Thomas McGuire 2009-06-26 14:56:00 UTC
SVN commit 987593 by tmcguire:

Crossport r987573 by tmcguire from the enterprise4 branch to kdelibs:

Fix storing of passwords with a ! in them. 
CCBUG: 144814 



 M  +3 -1      kstringhandler.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=987593
Comment 10 Thomas McGuire 2009-06-26 15:03:38 UTC
SVN commit 987595 by tmcguire:

Backport r987593 by tmcguire from trunk to the 4.3 branch:

Crossport r987573 by tmcguire from the enterprise4 branch to kdelibs:

Fix storing of passwords with a ! in them. 
CCBUG: 144814 




 M  +3 -1      kstringhandler.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=987595