Digital Signature Possible for a Compiled Macro?

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
User avatar
jpuziano
Automation Wizard
Posts: 1085
Joined: Sat Oct 30, 2004 12:00 am

Digital Signature Possible for a Compiled Macro?

Post by jpuziano » Wed Nov 08, 2006 2:13 am

Hi Marcus,

- compile a macro to a standalone .exe file
- put it on a corporate website with a link to it on a web page
- user (running IE 6) clicks it to run it... it says:

The publisher could not be verified. Are you sure you want to run this software? This file does not have a valid digital signature that verifies its publisher. You should only run software from publishers you trust. etc. etc.

Doesn't inspire a lot of trust there to use a compiled macro. If one were to purchase a "valid digital signature" (no idea what that might cost)... would it be possible to compile the macro and have the signature embedded within?
jpuziano

Note: If anyone else on the planet would find the following useful...
[Open] PlayWav command that plays from embedded script data
...then please add your thoughts/support at the above post - :-)

User avatar
JRL
Automation Wizard
Posts: 3532
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Wed Nov 08, 2006 3:51 am

A little poking around on the internet and I found quite a bit of information regarding Microsoft, Verisign and the purchase of digital signatures. Did not yet find any info about the cost. The information included in this discussionmakes it sound like avoiding the unverified publisher warning can be easily accomplished by zipping the exe and posting the zipped file. The downloadee will need to unzip the file but thats easy in WinXP and apparently this warning only occurs with XP SP2. Beats sending more money to the wealthiest people on the planet.

Later,
Dick

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Wed Nov 08, 2006 8:12 am

Yes, you can sign compiled Macro Scheduler macros. You need two things:

1. An Authenticode Certificate. You can get these from Thawte, Verisign etc. The cheapest provider appears to be Comodo:
http://www.instantssl.com/code-signing/

2. The code signing tool from Microsoft which comes with Visual Studio. Can also be downloaded from:
http://www.thawte.com/dynamic/en/images ... etSDk5.zip

This page at Thawte has other useful information:
http://www.thawte.com/ssl-digital-certi ... sauth.html
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

User avatar
jpuziano
Automation Wizard
Posts: 1085
Joined: Sat Oct 30, 2004 12:00 am

Post by jpuziano » Wed Nov 08, 2006 10:38 am

Hi JRL and Marcus,

Thanks for the links and info, much appreciated. The following link inside one of the links you sent JRL... was quite enlightening: The Wacky World of Windows Internet Security Settings
jpuziano

Note: If anyone else on the planet would find the following useful...
[Open] PlayWav command that plays from embedded script data
...then please add your thoughts/support at the above post - :-)

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts