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

Using apt-offline behind a proxy requiring a username and password #76

Open
fosslinux opened this issue Oct 8, 2017 · 4 comments
Open
Assignees
Labels

Comments

@fosslinux
Copy link

Whenever I try to use apt-offline under a proxy that requires authentication, I tried the following command:
apt-offline get apt-offline.sig --bundle apt-offline.zip
which obviously didn't work because it was behind a proxy. So then I tried:
apt-offline get apt-offline.sig --bundle apt-offline.zip --proxy-host proxy.myproxy.com --proxy-port 8080
This said ERROR: Proxy Authentication Required. So I tried the same syntax as I use whenever I want to use a username and a password in a URL:
apt-offline get apt-offline.sig --bundle apt-offline.zip --proxy-host username:[email protected] --proxy-port 8080
which still gave the same ERROR: Proxy Authentication Required.

So how can I get apt-offline to work with a proxy needing a username and password?

@fosslinux
Copy link
Author

I wasn't trying it with the latest git version; I have now and can confirm the issue is still in the latest commit.

@rickysarraf
Copy link
Owner

Yes. That is because Proxy Authentication is something not supported yet. There's a similar PR peding, #69 , for https auth. Maybe that's something that'll be needed to extend for Proxy auth too.

But I won't be able to do it any time soon. Even that PR has been too long pending. I'm just very occupied with personal life priorities. If you have a patch to contribute, please do so. Otherwise, this'll have to wait a couple of months. Thanks.

@rickysarraf rickysarraf self-assigned this Oct 9, 2017
@jeffedelsten
Copy link

Is anyone reading this able to provide a hint towards implementing proxy authentication?

@jeffedelsten
Copy link

FYI, http_proxy and https_proxy environment variables DO appear to be honoured, so one can always set the authentication credentials here instead.

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