PDA

View Full Version : Yet another codesigning post



NewsArchive
09-23-2015, 02:01 AM
Hello -

I have a spanking new .pfx

before the #code-sign, I have this:

#pragma CODESIGN_SHA = "12"

and see the screenshot.

I'm getting Error Code 2.

What's that?

Thanks.

Here's the log:

Compiling...
yada.sb8
Performing pre-checks...
#pragma loaded: CODESIGN_SHA
#pragma CODESIGN_SHA = 12
OK
Script format version detected: 7.0.2600
Recursive compile (0:26): Common Definitions.sbi
#pragma loaded: MINVER
Finished
Continue (0:1:27): v:\ralphmalph\Documents\SetupBuilder
Projects\yada.sb8
Adding Digital Certificate (Preprocessor)...
SIGNTOOL: C:\yada\yada.exe
SHA1: 1
SHA2: 2
Compiler error GEN1053: Code signing process failed. Error Code: 2
Script(s) processed

--------------------------------------- Done
---------------------------------------

Yada.sb8 - 1 error(s), 0 warning(s)

Compilation Time: 0.29 sec.
Date/Time: 9/22/2015 -- 7:38:28PM

------------------------------- Compilation aborted
-------------------------------


Jeff Slarve
www.jssoftware.com
www.twitter.com/jslarve
I'll search help files & Google for you.

Grammar troll's, are the worse.

NewsArchive
09-23-2015, 03:03 AM
Hi Jeff,

Are you using a signcode.exe version that supports dual code-signing?

See attached screenshots. The test dual code-signed the setup and an
external combo.exe.

BTW, in your case both code-signing processes failed.

Friedrich

NewsArchive
09-23-2015, 04:46 AM
Hi Jeff,

And please make sure that your certificate is accessible. I noticed that
your code-signing certificate is located at drive Mr. T:\ (a mapped drive?).
Perhaps signtool.exe was unable to use it (temporarily disconnected or not
accessible?).

Friedrich

NewsArchive
09-23-2015, 10:03 AM
Hi Friedrich -

Using signtool 6.3.9600.17298

The T: drive is an actual local drive.

I'll go through your screenshots and check it out.

Thank you.

Jeff Slarve
www.jssoftware.com
www.twitter.com/jslarve
I'll search help files & Google for you.

Grammar troll's, are the worse.

NewsArchive
09-23-2015, 10:04 AM
Success! I was using the wrong password.

Thanks for your help!

Jeff Slarve
www.jssoftware.com
www.twitter.com/jslarve
I'll search help files & Google for you.

Grammar troll's, are the worse.

NewsArchive
09-23-2015, 10:06 AM
> Success! I was using the wrong password.
>
> Thanks for your help!

:-) Glad it's working fine.

Friedrich

NewsArchive
09-23-2015, 10:10 AM
Aha!

I don't know that I'd trust you with your password either !!!!!

Jane Fleming

NewsArchive
09-23-2015, 12:27 PM
I had used the one that I needed to export the cert. :)

Jeff Slarve
www.jssoftware.com
www.twitter.com/jslarve
I'll search help files & Google for you.

Grammar troll's, are the worse.

NewsArchive
09-24-2015, 02:44 AM
I use sw0rdfish for all my passwords and never get confused ;-)

Jane Fleming

NewsArchive
09-24-2015, 02:45 AM
Yes, I know<g>

Jeff Slarve
www.jssoftware.com
www.twitter.com/jslarve
I'll search help files & Google for you.

Grammar troll's, are the worse.