Sign in to follow this  
Followers 0
E1M1

Does anyone have script from topic: Digital Code Signing Your Script

6 posts in this topic

Does anyone have code belonged to this topic?

I am looking for way to add publisher info to my exe.


edited

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

Thanks, it's bit unclear, how do I use it?

It says

An error has been encountered

description:

: Cannot find the certificate and private key to use for decryption.

error number: 80020009

last dllerror: 0

line number: -1

source:

help file:

helpcontext: 0

I used it as follows: "signer.exe FiletoSign.exe"

Edited by E1M1

edited

Share this post


Link to post
Share on other sites

I used it as follows: "signer.exe FiletoSign.exe"

Your usage is correct. I just drag/drop files to be signed to it.

Did you change the code to reflect your certificate name?

You need to change this line

$oSigner.SignFile ($TheFile, "***Put the name of your signature here***")

Of course, you have to have a valid signature certificate as well.

Share this post


Link to post
Share on other sites

thi sway it gives error quoted above


edited

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

thi sway it gives error quoted above

Do you have a valid signing certificate installed? Did you replace the above mentioned line with your certificate's nickname?

--- Edit ---

I just noticed in your original post that you are wanting to add publisher information. Is that in addition to signing your code, or are you maybe mistaking what code signing is?

You can set various information, such as version#, copyright, publisher, etc. using the AutoIt3Wrapper that installs with SciTe4AutoIt.

Edited by willichan

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0