Jump to content

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


E1M1
 Share

Recommended Posts

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

Link to comment
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.

Link to comment
Share on other sites

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...