microsoft / microsoft/winget-cli

Winget not work if used in a Network with CISCO Umbrella

Open
#2,109 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Bug
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Brief description of your issue

Discussion: https://github.com/microsoft/winget-cli/discussions/1903#discussion-3855105

If I run winget list it spins shortly and then the command line turns blue, without any output.
grafik

If I remove this source Winget works. https://winget.azureedge.net/cache

I suppose a problem with a pinned Certificate

Steps to reproduce

Use Cisco Umbrella, or Is suppose a kind of SSL MITM

Expected behavior

Best case:
SSL Certificate Error. We suppose a Man-in-the-middle attack If you wish to procceed type "yes"

Second best:
SSL Certificate Error. We suppose a Man-in-the-middle attack If you wish to procceed enter "winget settings" and add "SSL": {"AllowMITM":TRUE}

Worse case:
Windwos Dialog Popup: Error XXXXX do you want proceed? 😉

Actual behavior

Command prompt turns blue

Environment
Windows-Paket-Manager v1.2.10271
Copyright (c) Microsoft Corporation. Alle Rechte vorbehalten.

Windows: Windows.Desktop v10.0.19044.1586
Paket: Microsoft.DesktopAppInstaller v1.17.10271.0

Protokolle: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Links
-----------------------------------------------------------------------------------------
Datenschutzerklärung              https://aka.ms/winget-privacy
Lizenzvereinbarung                https://aka.ms/winget-license
Hinweise von Drittanbietern       https://aka.ms/winget-3rdPartyNotice
Startseite                        https://aka.ms/winget
Windows Store Nutzungsbedingungen https://www.microsoft.com/en-us/storedocs/terms-of-sale

Contributor guide

Open the contributing guide

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.

Research direction

Start by reproducing winget list with Cisco Umbrella enabled and the https://winget.azureedge.net/cache source configured; review diagnostics under %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir. Done means the command reports a clear certificate or MITM-related error instead of turning the command prompt blue, while preserving normal behavior when the source is removed.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.