Bug 226272 - PasswordIsWrong value is not properly reset after you enter correct password
Summary: PasswordIsWrong value is not properly reset after you enter correct password
Status: RESOLVED WORKSFORME
Alias: None
Product: kopete
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
: 229645 254152 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-02-11 10:41 UTC by Kristjan Ugrin
Modified: 2023-01-11 05:19 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kristjan Ugrin 2010-02-11 10:41:52 UTC
Version:           1.0.0 (using KDE 4.4.0)
OS:                Linux
Installed from:    openSUSE RPMs

There was a problem with live msn network a while ago, rejecting logins and kopete was asking for a password, though a valid one was provided. This is fine - not a kopete problem.
The problematic part is that account value PasswordIsWrong is not properly reset when a password is accepted as good, this will occasionally reprompt user for a valid password, though a valid one exists in wallet manager.

Manually resetting PasswordIsWrong=true to false is a workaround if kopete is asking to reenter password even when a correct one already exists.
Comment 1 Matěj Laitl 2010-11-26 22:06:59 UTC
I'm facing the same problem. Bug 229645 and bug 254152 are possible duplicates.
Comment 2 Michal Hlavinka 2010-11-29 09:15:12 UTC
*** Bug 254152 has been marked as a duplicate of this bug. ***
Comment 3 Michal Hlavinka 2010-11-29 09:26:43 UTC
I can see the same problem in Fedora 14 with KDE 4.5.3 and Kopete 1.0.80. I don't use msn like reporter of this bug, but I guess the problem is the same - once a while server responds the password is wrong (or maybe there is different failure) and kopete marks password as wrong even if it's still correct.

I use following workaround:

Because PATH on my system contains /usr/local/bin before /usr/bin (can be checked with echo $PATH ). I've created file /usr/local/bin/kopete with content:

sed -i 's|^\(PasswordIsWrong=\).*$|\1false|' ~/.kde/share/config/kopeterc
exec /usr/bin/kopete $@

and made it executable.


Matej: Yes, you're right. It was duplicate, so I (being a reporter of duplicate bug) closed it as duplicate of this one.
Comment 4 Michal Hlavinka 2010-11-29 09:34:07 UTC
I think kopete should work this way:
1) use password from kwallet 
2) if authentication fails with wrong password reason, mark password as wrong
3) ask user for new password with input fields (pre)filled with old stored password
4) if password succeeds, store current password to kwallet and mark password as correct in kopeterc

if kopete starts and finds password being marked as wrong, start with step 3)
Comment 5 Derek 2010-12-06 08:30:06 UTC
*** Bug 229645 has been marked as a duplicate of this bug. ***
Comment 6 Andrew Crouthamel 2018-11-05 03:07:08 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Andrew Crouthamel 2018-11-16 05:32:37 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version?

Thank you for helping us make KDE software even better for everyone!
Comment 8 Justin Zobel 2022-12-12 01:56:04 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 9 Bug Janitor Service 2022-12-27 05:21:17 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Bug Janitor Service 2023-01-11 05:19:13 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!