Add hash checking of ARM64 getfilesiginforedist.dll binary#5
Add hash checking of ARM64 getfilesiginforedist.dll binary#5Hernan Martinez (hmartinez82) wants to merge 1 commit intoDevolutions:mainfrom
Conversation
|
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 |
|
Is |
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 |
|
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. |
|
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 |
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-arm64Relates to Devolutions/UniGetUI#2407