Google Answers Logo
View Question
 
Q: Digital Signing Windows Binary on Unix/Linux Machine ( No Answer,   1 Comment )
Question  
Subject: Digital Signing Windows Binary on Unix/Linux Machine
Category: Computers > Security
Asked by: npg6-ga
List Price: $50.00
Posted: 04 Mar 2005 06:49 PST
Expires: 03 Apr 2005 07:49 PDT
Question ID: 484599
First some background:

We have a Windows XP application which we distribute from our
Unix/Linux (I don't recall which flavor) server. In the binary .exe
file, we have two "placeholder" constants which are replaced with a
unique download code and tracking code whenever the file is
downloaded.

This is done by reading the file in Perl (using binmode) and then
using a "$line =~ s/PLACEHOLDER/$value/;" command to insert the unique
value in place of the placeholder.

Now we would like to "sign" the binary file before sending it out, but
after embedding the download and tracking codes. (If we sign the file
with the placeholders, and then embed our unique data in place of
those placeholders, that changes the value of the signing hash,
leading to a security warning on the client machine.)

So the question is this -- HOW can we sign a Windows binary .exe file
in a Unix/Linux environment? Is there some flavor of "signfile.exe"
out there for Unix/Linux machines?
Answer  
There is no answer at this time.

Comments  
Subject: Re: Digital Signing Windows Binary on Unix/Linux Machine
From: daryn-ga on 21 Apr 2005 18:41 PDT
 
You can do this by installing Mono on the linux box, then using it's
signcode utility (which is nearly identical to the windows
command-line version: signcode.exe)

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy