Winget COM API - Allow lower trust registration#2714
Winget COM API - Allow lower trust registration#2714Martí Climent (marticliment) merged 3 commits intoDevolutions:mainfrom
Conversation
…y allowing lower trust registration
|
From my limited understanding of the windows registry, light research and personal testing it seems that winget COM API only registers as a lower than admin trust (or current user, i.e. not local machine wide), because of this allowing lower trust registration is needed when running as admin. |
|
Do you think enabling this setting by default is a security concern? I couldn't find any docs on microsoft learn, I'll continue my research though |
|
I don't feel I can confidently say since I don't know all the ins and outs of the windows registry and user privileges in windows. The first search result in google and the only usage I could find was in ComUtils.cs from the WingetCLI github repo. |
Any user suspected of farming GitHub activity with crypto purposes will get banned. Submitting broken code wastes the contributors' time, who have to spend their free time reviewing, fixing, and testing code that does not even compile breaks other features, or does not introduce any useful changes. Thank you for your understanding.
Fixes winget class registration failing when running as admin by allowing lower trust registration.
Adds a toggle for allowing lower trust registration in winget section of UnigetUI settings.
Closes #XXXX
Relates to #XXXX