Improve proxy credential configuration and warn on credential-bearing URLs

Open
#6,660 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
cpp
Domain
cli, security

Research direction

Start by reading microsoft/winget-cli#6659 and trace how proxy credentials enter configuration, logs, parsing errors, DSC JSON, and command-line handling. Explore the existing proxy configuration and Windows Credential Manager integration points; define how separate credentials and migration warnings preserve current configurations and useful errors. Done means a concrete credential approach addresses the remaining exposure paths while retaining compatibility.

Written by the indexing model from the issue text.

Description

Issue-Feature
Relevant area(s)

WinGet CLI

Description of the new feature / enhancement

microsoft/winget-cli#6659 addresses common cases where proxy credentials appear in logs. Parsing errors, malformed DSC JSON, and unusual command-line quoting can still expose them.

Instead of adding more special-case masking, explore supplying credentials separately from proxy URLs through Windows Credential Manager or environment variables. Keep useful error messages and existing configurations working, and warn users about URLs containing credentials, with guidance on migrating.

Environment variables are not secure storage, and warnings alone do not fix the remaining exposure.

Proposed technical implementation details

No response

Dominant language
C++
Stars
26.6k
Forks
1.8k
Avg merge
3d 10h
Merged PRs (30d)
41

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/winget-cli

All issues in microsoft/winget-cli

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.