WinSignHelperV2 (gui for signtool.exe) is now available in RevOnline/LivecodeShare
matthias_livecode_150811 at m-r-d.de
matthias_livecode_150811 at m-r-d.de
Fri Sep 13 06:36:16 EDT 2024
Hello Scott,
I just had a little spare time. So I created a UTM VM with Windows 11 pro 23h2.
I installed the most current version of the Windows SDK, which contains native tools x86, x64 and ARM. I only selected "Windows SDK Signing Tools for Desktop Apps".
First I tried to code sign using signtool.exe located in the ARM64 folder. That failed.
The error was "No certificates were found that met all the given criteria" regardless if I used parameter /a or /n <certowner>
When using signtool.exe located in the X64 folder, the signing was successful. I did not have a closer look if the ARM version of signtool needs other parameter.
But using the Intel version of signtool.exe works w/o problems on Windows 11 ARM.
Is it by any chance possible that you tried to sign using the ARM version of signtool?
Regards
Matthias
> Am 13.09.2024 um 01:12 schrieb scott--- via use-livecode <use-livecode at lists.runrev.com>:
>
> Thank you, Matthias. I use your “mrSignNotarizeHelperV4.livecode” project regularly. I love how it wraps in DropDMG.
>
> I also wrote a GUI for code signing with a USB token. My project works well in a VM on an Intel Mac with Windows 10. However, I was hoping to run a VM on an ARM Mac using the new ARM version of Windows 11. I have been using UTM <https://docs.getutm.app/> and Windows 11 Pro (version 23H2) on an M2 MacBook Pro and most things work well... except that all of my attempts to code sign inside that VM fail. I was wondering if you had any thoughts about what part of this setup might be failing.
>
> Also, I noticed that WinSignHelperV2 appears to use the PowerButton widget “com.livecode.widget.powerbutton” which may not show up as expected if the user doesn’t have the additional LiveCode Enhancements bundle installed. (I didn’t have it installed on one of my VMs)
>
> --
> Scott Morrow
>
> Elementary Software
> (Now with 20% less chalk dust!)
> web https://elementarysoftware.com/
> email scott at elementarysoftware.com
> booth 1-360-734-4701
> ------------------------------------------------------
>
>
>> On Sep 12, 2024, at 1:17 PM, matthias rebbe via use-livecode <use-livecode at lists.runrev.com> wrote:
>>
>> Hi,
>>
>> WinSignHelperV2 is now available in the Sample stacks section of LC.
>> Just search for WinSignHelperV2.
>> It is also here available https://livecodeshare.runrev.com/stack/1040/WinSignHelperV2
>>
>> The tool builds the correct signtool.exe parameters and execute signtool.exe
>>
>> It was now successfully tested with Cloudbased code signing certificate and also with a code signing certificate on a USB token.
>>
>> You just drag the folder which contains the .exe and any additional .dll files to the stack and the tool creates the command with all parameters and executes signtool.exe then.
>>
>> Signtool.exe is part of the Windows sdk. A download url for the sdk can be found in the help section of the main stack.
>>
>> The main stack is password protected.
>>
>> This stack only works on Windows, regardless if on a VM or on real hardware.
>>
>> So if anyone is interested, then give it a try.
>>
>>
>> I am still working on a lesson about how to code sign Windows standalones on macOS using a cloud based certificate or a certificate on a USB token.
>> But this still takes time.
>>
>>
>> I really hope the WinSignHelperV2 is of use for someone.
>>
>> Regards,
>> Matthias
>>
>>
>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list