1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-12 23:56:13 +01:00
github.com_openSUSE_osc/osc
Michael Schroeder 784d330f20
Only prompt for a password if the server asks for it
In many cases the session cookie is already available, so there
is no need to ask for a password. To make this work with the
python authentication implementation, we add a small proxy object
for the password and only ask the credential manager if the
stringify method is called.

This approach also makes it possible to offer a non-password based
authorization type if the server allows multiple authentication
methods.
2022-04-11 11:46:08 +02:00
..
util support zst compressed control files in deb archives 2021-10-26 07:29:43 +02:00
__init__.py replace urlgrabber to enable python3 compatibility 2018-10-19 09:31:37 +02:00
.gitignore convert svn:ignore to gitignore 2009-12-03 19:19:53 +01:00
babysitter.py Report a config error when trying to load credentials_mgr_class that does't exist 2022-03-28 09:49:55 +02:00
build.py Allow formatting of the sccache uri 2022-03-04 14:10:44 +10:00
checker.py Resolve PEP8 issue W291 2014-08-12 15:01:16 +02:00
cmdln.py Merge pull request #329 from andrewshadura/master 2022-03-15 09:45:24 +01:00
commandline.py Merge pull request #747 from adrianschroeter/request_diffing 2022-03-16 14:20:20 +01:00
conf.py Only prompt for a password if the server asks for it 2022-04-11 11:46:08 +02:00
core.py Revert "Quote unicode characters in URL path" 2022-04-01 09:32:15 +02:00
credentials.py Only prompt for a password if the server asks for it 2022-04-11 11:46:08 +02:00
fetch.py Re-download file from API when hdrmd5 doesn't match 2022-02-28 09:28:32 +01:00
grabber.py fix broken URLError handling in OscMirrorGroup.urlgrab() 2018-11-06 13:29:17 +01:00
meter.py Fix crash on terminal resize during download 2022-01-03 11:47:33 +01:00
OscConfigParser.py Rename SafeConfigParser to ConfigParser 2020-02-07 12:04:49 +01:00
oscerr.py Report a config error when trying to load credentials_mgr_class that does't exist 2022-03-28 09:49:55 +02:00
oscssl.py Use correct appname for trusted-certs store 2019-07-28 14:59:14 +02:00
oscsslexcp.py - remove shebang line to make rpmlint happy 2010-03-21 22:57:06 +01:00