Skip to content

Restrict access to manifests for packages #100

Closed

Description

Some software vendors will want to manage releases for manifests of their software.

Activity

  1. added
    Issue-Feature
    on May 12, 2020
  2. changed the title [-]Restrict access to manifests for commercially owned packages[/-] [+]Restrict access to manifests for packages[/+] on Jun 2, 2020
  3. denelon commented on Jun 2, 2020

    @denelon
    CollaboratorAuthor

    Some OSS producers also wish to manage releases for manifests and installers for their software.

  4. added this to the milestone on Jun 3, 2020
  5. modified the milestones: , Packages v0.6.x on Jan 6, 2021
  6. added
    Area-Validation-Pipeline
    on Jan 6, 2021
  7. ghost added
    No-Recent-Activity
    on Jan 13, 2021
  8. removed
    No-Recent-Activity
    on Jan 26, 2021
  9. 5 remaining items

  10. denelon commented on Sep 16, 2021

    @denelon
    CollaboratorAuthor

    The technical implementation for this feature is complete. We are now working on the business process for identifying verified developers. The implementation is similar to the waivers for validation stored in a .version file. The ownership metadata will be recorded in a .package file.

  11. slonopotamus commented on Mar 21, 2022

    @slonopotamus
    Contributor

    The technical implementation for this feature is complete.

    After re-reading this whole issue six times, I still fail to understand how this feature was implemented and how to use it. Could you please give a link to some docs or whatever?

  12. denelon commented on Mar 21, 2022

    @denelon
    CollaboratorAuthor

    We are still working on the business process for this feature. Once that has been completed, the technical implementation here will be further documented.

    The simple overview of the technical implementation is we will have a file in the directory (either publisher, or package) identifying the verified developers GitHub alias. When a PR is submitted by anyone other than the verified developer, they will be informed. If the verified developer submits a PR, the validation will continue down the normal process.

  13. ocdtrekkie commented on Mar 21, 2022

    @ocdtrekkie

    I'm still deeply concerned this thing is actually on real Windows PCs that actual people use prior to this being implemented.

  14. russellbanks commented on Nov 28, 2022

    @russellbanks
    Contributor

    Just a thought, what about scenarios like LF/CRLF line ending enforcement? We would need to ensure that the pull request pipeline fails if line endings are incorrect first, as we wouldn't be able to normalise the manifest at a later stage if we are restricted in changing the manifest for the package.

  15. thomaseizinger commented on May 26, 2025

    @thomaseizinger
    Contributor

    the technical implementation here will be further documented.

    Has this been done somewhere? I'd like to require an approval from specific GitHub accounts before changes can be made to our manifests.

  16. ocdtrekkie commented on May 26, 2025

    @ocdtrekkie

    This is just absolutely comical at this point. The fact this tool is live in Windows without this basic ability should be testament to the absolute clown show that is Microsoft's current approach to security.

    Half a decade has passed and Microsoft has not even bothered.

  17. christopher-rtf commented on Aug 25, 2025

    @christopher-rtf
    Contributor

    As noted by Charlie Chen (@SpecterShell) in #7836, there appears to be work in progress on this issue (via the ManualValidation tool):
    https://github.com/microsoft/winget-pkgs/blob/master/Tools/ManualValidation/Auth.csv

    We too have published our app in the WinGet library's manifests, and we're looking forward to encouraging users to use winget to install our software--but for security reasons we are very hesitant to do so until we know that our listing is read-only (i.e. manifest updates can only be submitted via a push from our GitHub org, etc.).

    We have already had one well-intentioned bot submit manifests for our product (although hopefully that has stopped now).

    Demitrius Nelon (@denelon) -- is there any guidance on how to restrict access to manifests? Thank you!

  18. ocdtrekkie commented on Aug 25, 2025

    @ocdtrekkie

    winget is not serious from a security standpoint and you should not encourage users to use it if security is remotely a concern. It has been half a decade and winget is still basically curl|bash for Windows. But at least with curl|bash you see the source URL.

  19. AsciiWolf commented on Dec 21, 2025

    @AsciiWolf
    Contributor

    winget is not serious from a security standpoint

    How is WinGet worse than end-users (including some corporate ones) manually downloading and installing/deploying binary blob *.exe installers? Do you think that majority of users actually verify if the installer is an official one, downloaded from an official website with a matching sha256 checksum?

    But I do agree with you that WinGet is not a package manager in a true sense - it can't be since most of the Windows software is unfortunately still not distributed as msi/msix.

  20. ocdtrekkie commented on Dec 21, 2025

    @ocdtrekkie

    AsciiWolf If that's the bar we're clearing, great, it clears it. But since nobody should ever be doing that and also nobody should ever be using winget, this still should not be packaged and recommended by Microsoft.

  21. AsciiWolf commented on Dec 21, 2025

    @AsciiWolf
    Contributor

    Nobody should be doing what? Using Windows? Because there's no way to avoid manually downloaded *.exe installers when using Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Area-Validation-PipelineIssue-Feature

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions