On 2019-09-01 11:50:18 +0100 (+0100), Sorin Sbarnea wrote:
> I was trying to query gerrit using pygerrit2, requests and later
> curl just to find out that apparently our gerrit does not work
> with basic-auth.
[...]
> Am I doing something wrong or if not, can we have this fixed?
[...]

https://review.opendev.org/Documentation/rest-api.html#authentication

    By default Gerrit uses HTTP digest authentication with the HTTP
    password from the user’s account settings page. HTTP basic
    authentication is used if auth.gitBasicAuth is set to true in
    the Gerrit configuration.

It seems like turning that on is probably a reasonable choice if the
default prevents pygerrit2 from working. This would, however, need a
Gerrit restart to update.
-- 
Jeremy Stanley

Attachment: signature.asc
Description: PGP signature

_______________________________________________
OpenStack-Infra mailing list
OpenStack-Infra@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra

Reply via email to