[Bug 1087512] Re: proxy authentication not working for HTTPS sources

Ubuntu Foundations Team Bug Bot 1087512 at bugs.launchpad.net
Fri Dec 7 04:18:24 UTC 2012


The attachment "apt-https-auth.patch" of this bug report has been
identified as being a patch.  The ubuntu-reviewers team has been
subscribed to the bug report so that they can review the patch.  In the
event that this is in fact not a patch you can resolve this situation by
removing the tag 'patch' from the bug report and editing the attachment
so that it is not flagged as a patch.  Additionally, if you are member
of the ubuntu-reviewers team please also unsubscribe the team from this
bug report.

[This is an automated message performed by a Launchpad user owned by
Brian Murray.  Please contact him regarding any issues with the action
taken in this bug report.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1087512

Title:
  proxy authentication not working for HTTPS sources

Status in “apt” package in Ubuntu:
  New

Bug description:
  How to reproduce:
  - have an APT repository over https
     deb https://my.repo/ubuntu precise main
  - have APT go though an HTTP proxy which requires HTTP authentication

     apt-get  -o
  Acquire::http::proxy="http://test:test11@localhost:3128/"  update

  Expected results:
  package lists are downloaded correctly

  Actual result:
  Failed to fetch https://my.repo/ubuntu/dists/precise/main/binary-amd64/Packages  The requested URL returned error: 407
  etc

  The problem is that the https transport mangles the proxy string
  before passing it to curl and strips the proxy credentials.

  See attached patch to fix it.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: apt-transport-https 0.8.16~exp12ubuntu10.6
  ProcVersionSignature: Ubuntu 3.2.0-32.51-generic 3.2.30
  Uname: Linux 3.2.0-32-generic x86_64
  ApportVersion: 2.0.1-0ubuntu14
  Architecture: amd64
  Date: Thu Dec  6 16:39:10 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  ProcEnviron:
   TERM=rxvt-unicode
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: apt
  UpgradeStatus: Upgraded to precise on 2012-05-16 (204 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1087512/+subscriptions




More information about the foundations-bugs mailing list