apt doesn't support "@" in usernames

Bug #788010 reported by Carsten Jacobi on 2011-05-25
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)

Bug Description

Binary package hint: apt-transport-https

We want to set up a repository for confidential packages and use E-Mail addresses as usernames (because E-Mail addresses are mostly unique, also in enterprise like corporations). However, it seems currently being impossible to get apt to deliver the username correctly over HTTP to the server with the packages (neither directly by writing it into the URL with escaping nor using the builtin netrc mechanism of apt).

A similar problem was reported to the Debian-project with a solution proposal:

That solution also utilizes the netrc mechanism. But in contrast to the current apt-implementation shipped by Ubuntu that solution lets libcurl itself parse the netrc config (that way the "@" character in the username does not mess up the apt-source URL). So, that implementation would compete against the builtin netrc parser of apt (see also Blueprint https://blueprints.launchpad.net/ubuntu/+spec/foundations-lucid-apt-netrc-mechanism). IMHO this is still an option to consider since apt is utilizing libcurl for all HTTP transactions anyways.

Tags: apt Edit Tag help
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers