Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic auth access fails with libcurl #1198

Open
ebassi opened this issue Sep 20, 2017 · 5 comments
Open

Basic auth access fails with libcurl #1198

ebassi opened this issue Sep 20, 2017 · 5 comments
Labels

Comments

@ebassi
Copy link
Contributor

ebassi commented Sep 20, 2017

Attempting to access an ostree repo with basic auth fails with using ostree compiled with libcurl, but using libsoup works.

@ebassi
Copy link
Contributor Author

ebassi commented Sep 20, 2017

Simple reproducer:

  • create a repository on a server and put the location under HTTP basic auth
  • point ostree to http://user:pass@server.name/path/to/ostree/repo
  • get a 401 access denied

@cgwalters cgwalters added the bug label Sep 20, 2017
@cgwalters
Copy link
Member

Will need looking at the libcurl code; in a quick glance I see a CURLOPT_USERPWD.

@cgwalters
Copy link
Member

I started on this in #1221

@ebassi
Copy link
Contributor Author

ebassi commented Nov 13, 2017

Any news on this? I am running flatpak inside a jhbuild shell with ostree built against libsoup in order to pull from our staging repository…

@palvarez89
Copy link

I just hit this problem. Sad that the patch to fix this was a bit abandoned :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants