From tonyj@suse.de Fri Mar 22 19:33:34 2019 From: Tony Jones To: buildservice@lists.opensuse.org Subject: [opensuse-buildservice] osc and gnome keyring Date: Fri, 22 Mar 2019 12:33:28 -0700 Message-ID: <645b7165-e6c3-1e5a-318e-cd0bca6e64ae@suse.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3989409239723569658==" --===============3989409239723569658== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Can anyone offer any advice on how to get this to work. In the past it worked= for me but lately I've been unable to get it to work and I've had to resort = to, ahem, clear text passwords. https://en.opensuse.org/openSUSE:OSC "There have been reports that with ... a= dd solely the line gnome_keyring=3D1 instead of keyring=3D1 to the server sec= tion." Is "instead of keyring=3D1" correct or does it mean instead of "use_keyring= =3D1"? Anyways, I've tried every version of use_keyring=3D1, keyring=3D1, gno= me_keyring=3D1, removing python2-keyring and all I get is "Server returned a= n error: HTTP Error 401: Unauthorized" This is using a basic 'osc list' query I have an entry in my gnome keyring for @api.opensuse.org= . It's unfortunate that the debug/verbose options don't provide any info abo= ut the interaction with the keyring as if I remove the opensuse entry from th= e keyring I get the exact same error so it's hard to tell what is occurring. Thanks $ rpm -q openSUSE-release openSUSE-release-20190320-77.1.x86_64 $ osc --version 0.164.2 $ osc -d -v -A https://api.opensuse.org list makeurl: https://api.opensuse.org ['source'] {} GET https://api.opensuse.org/source Server returned an error: HTTP Error 401: Unauthorized Date: Fri, 22 Mar 2019 19:24:40 GMT Server: Apache/2.4.23 (Linux/SUSE) WWW-Authenticate: Basic realm=3D"Use your novell account" Vary: accept-language,accept-charset Strict-Transport-Security: max-age=3D31536000 Upgrade: h2 Connection: Upgrade, close Accept-Ranges: bytes Transfer-Encoding: chunked Content-Type: text/html; charset=3Dutf-8 Content-Language: en Authentication required!

Authentication required!

This server could not verify that you are authorized to access the URL "/source". You either supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.

In case you are allowed to request the document, please check your user-id and password and try again.

If you think this is a server error, please contact the webmaster.

Error 401

api.opensuse.org
Apache/2.4.23 (Linux/SUSE)