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

pip.conf option to disable linehaul metadata in user-agent #13038

Open
1 task done
eaubin opened this issue Oct 23, 2024 · 1 comment
Open
1 task done

pip.conf option to disable linehaul metadata in user-agent #13038

eaubin opened this issue Oct 23, 2024 · 1 comment
Labels
S: needs triage Issues/PRs that need to be triaged type: feature request Request for a new feature

Comments

@eaubin
Copy link

eaubin commented Oct 23, 2024

What's the problem this feature will solve?

The user-agent string used by pip includes things such as cpu, os, os version, etc, that my network admins would prefer not be shared.

Describe the solution you'd like

Adding an option to pip.conf to disable linehaul metadata in the user-agent string.

Alternative Solutions

n/a

Additional context

n/a

Code of Conduct

@eaubin eaubin added S: needs triage Issues/PRs that need to be triaged type: feature request Request for a new feature labels Oct 23, 2024
@notatallshaw
Copy link
Member

notatallshaw commented Oct 23, 2024

I'm not against this (or for it), but FYI, this information leaks regardless, by looking at what wheel and wheel metadata the pip session downloads.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S: needs triage Issues/PRs that need to be triaged type: feature request Request for a new feature
Projects
None yet
Development

No branches or pull requests

2 participants