Bug 333262 - NTLM proxy authentization dialog does not store the password in kwallet
Summary: NTLM proxy authentization dialog does not store the password in kwallet
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.48.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Dawit Alemayehu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-10 07:22 UTC by Marian Kyral
Modified: 2023-01-19 05:17 UTC (History)
2 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 Marian Kyral 2014-04-10 07:22:53 UTC
When I access to a NTLM proxy, I'm asked to enter login and password. When I enable the option "Remember the password" (translated from Czech) and click OK, window disappear, the authentication data are used, I'm able to connect to the internet. 

But I'm not asked for kwallet password and the authentication details are not stored. Next time, I've to enter them again.

Reproducible: Always

Steps to Reproduce:
1. Configure KDE to use NTLM proxy that needs Login/password
2. Try to connect to some webpage
3. The NTLM proxy authentication dialog is shown
4. Fill login and password, enable "Remember the password" option and hit OK
Actual Results:  
Dialog window disappear, login and password are not stored in kwallet.
Next time, I've to enter these data again.

Expected Results:  
System asks for kwallet password and save authentication data for next time

This is not just an issue of KDE 4.13 beta. It is present in 4.12 as well.
Comment 1 Dawit Alemayehu 2014-05-02 12:40:23 UTC
Does kwallet integration work for everything else? For example if you ssh into your machine, does it ask you for the kwallet password?
Comment 2 Dawit Alemayehu 2014-05-02 12:41:26 UTC
(In reply to comment #1)
> Does kwallet integration work for everything else? For example if you ssh
> into your machine, does it ask you for the kwallet password?

I meant sftp not ssh into your machine, sftp://127.0.0.1. This  of course assumes you have openssh installed on your own machine.
Comment 3 Marian Kyral 2014-05-02 13:14:15 UTC
Yes. I'm using kwallet to store passwords in Krusader (fish://). Works correctly.
Comment 4 Christoph Feck 2014-06-04 20:55:51 UTC
Thanks for the update, changing status.
Comment 5 Olivier Serve 2015-05-13 10:16:33 UTC
Marian, are you sure the login/password is not stored in kwallet ?

I a similar problem, but I'm not sure if it is the same.

At work we switched to a NTLM-authenticated proxy configured by an auto-configuration URL (previously there was no authentication). On the first access, I had the expected window asking for authentication. I entered my login/password and checked the "Remember my password".

I do have two entries in the "kdewallet" wallet under "Passwords / Maps" named "http-<host{1,2}>:<port>". The two entries are due to the script However, KDE keeps asking for authentication. 

After opening my KDE session, the first proxy-authentication window shows empty login/password fields. If I check "Remember my password", the fields are filled-in with the right values the next times the window appears. In that case, clicking "OK" is sufficient to proceed successfully.
After some time, when I access an external URL, I have a message "The proxy authentication failed." with buttons Retry/Abort. If I click Retry, I get the classic authentication window with empty fields again.

If I enter another login/password, it is stored in the kdewallet entry as login-2 / password-2.

So I have the impression that the data is stored in kwallet, but somehow not retrieved when needed.
It seems that when I access a web page, several kio slaves are started in parallel and each opens a connection to the proxy. The proxy asks authentication to each of them. Once the first one got authenticated, maybe the KIO runtime interprets the following queries as "If the Proxy asks authentication again, the login/password must be incorrect."

Distribution : Gentoo
KDE Version : 4.14.3
Comment 6 Marian Kyral 2015-05-13 10:47:28 UTC
Hi, thanks for the comment. I can confirm, that in kwallet manager I can see the proxy connection data.

The point with checking "Remember my password" in blank dialog is interesting. I'll try it, but i don't know, when I'll be again on site where ntlm proxy is used.
Comment 7 Justin Zobel 2022-11-29 05:05:59 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 8 Bug Janitor Service 2022-12-14 05:12:35 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 9 Marian Kyral 2022-12-20 12:36:07 UTC
Sorry, I'm no more using such proxy, I can't test.
Comment 10 Bug Janitor Service 2023-01-04 05:27:00 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 11 Bug Janitor Service 2023-01-19 05:17:16 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!