Skip to content
This repository was archived by the owner on Apr 9, 2026. It is now read-only.

Add hash checking of ARM64 getfilesiginforedist.dll binary#5

Closed
Hernan Martinez (hmartinez82) wants to merge 1 commit intoDevolutions:mainfrom
hmartinez82:ARM64
Closed

Add hash checking of ARM64 getfilesiginforedist.dll binary#5
Hernan Martinez (hmartinez82) wants to merge 1 commit intoDevolutions:mainfrom
hmartinez82:ARM64

Conversation

@hmartinez82
Copy link
Copy Markdown

The new hash was calculated with the file used in Devolutions/UniGetUI#4564
which in turn was copied from https://www.nuget.org/packages/Microsoft.Security.Extensions, version 1.4.0, runtime win-arm64

Relates to Devolutions/UniGetUI#2407

@hmartinez82 Hernan Martinez (hmartinez82) changed the title Add support for checking ARM64 getfilesiginforedist.dll hash Add hash checking of ARM64 getfilesiginforedist.dll binary Apr 8, 2026
@mamoreau-devolutions
Copy link
Copy Markdown

The gsudo fork is now built from https://github.com/Devolutions/gsudo-distro - it's a set of patches on top of upstream gsudo. I'll see about updating the readme on this repo before archiving it. This being said, I'll look into porting those changes in the right place tomorrow. I assume I'd have to update UniGetUI Elevator before the corresponding fix in UniGetUI can be merged properly

@hmartinez82
Copy link
Copy Markdown
Author

Is UniGetUI Elevator in another repository?

@mamoreau-devolutions
Copy link
Copy Markdown

Is UniGetUI Elevator in another repository?

Yes, it's in that gsudo-distro repository. It's structured differently, the master branch is an orphaned branch containing all the custom workflows and packaging done downstream of gsudo, and there is a release branch with the patched gsudo sources to build for each release version. The current one is here: https://github.com/Devolutions/gsudo-distro/tree/release/v2.6.1

Once a new version of gsudo is out, this will be a lot easier to port the patches on top of the new release tag, and keep source changes to gsudo to a minimum. The UniGetUI Elevator is basically gsudo built from that patched branch with the "unielevate" build option, and then published to nuget.org: https://www.nuget.org/packages/Devolutions.UniGetUI.Elevator

@mamoreau-devolutions
Copy link
Copy Markdown

ok, I've looked at the code for the UniGetUI Elevator variant of gsudo, it's checking for getfilesiginforedist.dll alongside UniGetUI Elevator.exe, but the DLL is copied by UniGetUI itself into the build output. Now that I know where that DLL is coming from, I'll write a script to pull it from the nuget, update the hash checks, and simply package the DLL from the nuget package instead of leaving a copy inside UniGetUI. I'm on this today.

@mamoreau-devolutions
Copy link
Copy Markdown

I made a new release of the UniGetUI Elevator nuget package with the required fixes, and it now includes the DLL inside the nuget so it doesn't need to be copied separately. Next is making the changes in UniGetUI: https://github.com/Devolutions/gsudo-distro

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants