Bug 763242

Summary: yast's proxy module doesn't handle correctly with auth
Product: [openSUSE] openSUSE Tumbleweed Reporter: Daniel Pecka <nettezzaumanaa>
Component: YaST2Assignee: E-mail List <yast2-maintainers>
Status: RESOLVED FEATURE QA Contact: Jiri Srain <jsrain>
Severity: Enhancement    
Priority: P5 - None CC: bwiedemann, jreidinger, kanderssen, mfilka, ncutler
Version: Current   
Target Milestone: Current   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: y2logs

Description Daniel Pecka 2012-05-21 11:52:22 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20100101 Firefox/12.0

Hello,

I have found, that adding auth (user:pwd) to proxy settings via yast proxy doesn't work very well ..

the $root_home/.curlrc is added containing the password in plaintext but that's all

for all users there's needed to either specify an auths in proxy url (eg http_proxy=user:pwd@host:port) or manually supply password at each startup of any application accessing internet ..

q: id possible please to have configured proxy with auth but the password could not be read by another user then root ?

Reproducible: Always

Steps to Reproduce:
1. configure proxy 
2. supply user:pwd and hit test button - won't work and (or) save & quit
3. check, that {http,ftp,whatever}_proxy variable for users misses the auth
Actual Results:  
regards, daniel
Comment 1 Kun Kun Zhang 2012-05-22 02:13:35 UTC
Thank you for your report.could you please help to provide y2logs according to the following URL?Thank you:)
http://en.opensuse.org/openSUSE:Bugreport_YaST
Comment 2 Daniel Pecka 2012-05-22 07:33:50 UTC
Created attachment 491861 [details]
y2logs

hello,

here comes your log - bon apetit ..

btw the sane would be if the default method for connecting to proxy is ntlm or kerberos (when possible) .. this badly working basic auth is not good.

regards, daniel
Comment 3 Daniel Pecka 2012-05-24 10:46:59 UTC
ps. i suggest implementing a NTLM (cntlm package) method to this module as a good default ..

regards, daniel
Comment 4 Nathan Cutler 2017-08-14 15:47:02 UTC
Aging yast bug. openSUSE 12.2 is out of maintenance, so moving to Tumbleweed and setting needinfo to assignee. Michal, can you update the bug, please.
Comment 5 Josef Reidinger 2018-08-22 13:13:29 UTC
michal ping
Comment 6 Knut Alejandro Anderssen González 2020-01-16 12:19:35 UTC
This looks more like an enhancement than a bug, as the main behavior of the module is for setting the configuration 'system-wide'.

As documented in https://www.suse.com/support/kb/doc/?id=7006845

I will close it as a feature.

Feel free to reopen it if you still consider it worth it.