PDA

View Full Version : Couple of signing questions



NewsArchive
02-13-2016, 01:34 AM
1. Sometimes signing fails for a file with error 2 and then I wait a few
minutes and it signs with out error.

2. Which time server should I use in #Pragma

http://timestamp.globalsign.com/?signature=sha2

http://timestamp.comodoca.com/authenticode

Dan Scott

NewsArchive
02-13-2016, 01:34 AM
> 1. Sometimes signing fails for a file with error 2 and then I wait a few
> minutes and it signs with out error.

I see that once and a while Dan. Usually it is the AV getting in the way.



> 2. Which time server should I use in #Pragma

This one.

> http://timestamp.globalsign.com/?signature=sha2



Charles


--
-------------------------------------------------------------------------------------------------------
Charles Edmonds

cjeByteMeSpammers@lansrad.com (remove the "ByteMeSpammers" to email me)
www.clarionproseries.com - ProScan, ProImage, ProPath and other Clarion
developer tools!
www.solidsoftware.com - ImageEx and RichReport templates!
www.seal-soft.com - The xProduct Clarion templates - xWordCOM, xToolTip,
xDataBackup Manager and more!
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.pagesnip.com - "Print and Save the Web, just the way you want it!"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms - Now with PNG support!
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------

NewsArchive
02-13-2016, 04:14 AM
Hi Dan,

> 1. Sometimes signing fails for a file with error 2 and then I wait a few
> minutes and it signs with out error.

What Charles said. That simply means your protection software blocks access
to the timestamp server. Try to put your signtool.exe to the exclusion list
of your anti-virus/anti-spyware/firewall software. If this does not help,
also add the SetupBuilder output folder and the SB10.EXE to the exclusion
list. Authenticode signing manipulates the binary contents of an existing
file. Buggy protection software products interpret this (from time to time;
it depends on the binary contents) as a malicious action (false-positive).

Friedrich

NewsArchive
02-13-2016, 12:26 PM
I don't use any anti virus software

Dan Scott

NewsArchive
02-13-2016, 12:26 PM
>
> I don't use any anti virus software
>

Then it's caused by a firewall (computer, router) or the Internet
connection. It simply means that the timestamp server returned a security
warning. It's not safe to continue the signing process and so it's aborted.
I see that once and a while too.

Friedrich

NewsArchive
02-13-2016, 12:27 PM
> I don't use any anti virus software

Hopefully your machine is NOT connected to the Internet or your network
then<g>.

Even the built-in stuff that comes with Windows can cause that problem Dan.

Charles


--
-------------------------------------------------------------------------------------------------------
Charles Edmonds

cjeByteMeSpammers@lansrad.com (remove the "ByteMeSpammers" to email me)
www.clarionproseries.com - ProScan, ProImage, ProPath and other Clarion
developer tools!
www.solidsoftware.com - ImageEx and RichReport templates!
www.seal-soft.com - The xProduct Clarion templates - xWordCOM, xToolTip,
xDataBackup Manager and more!
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.pagesnip.com - "Print and Save the Web, just the way you want it!"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms - Now with PNG support!
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------

NewsArchive
02-13-2016, 12:27 PM
>
> Even the built-in stuff that comes with Windows can cause that problem
> Dan.
>

I agree! I have a Windows 10 test VM with no 3rd-party protection
installed. Sometimes, Windows Defender and/or Windows Firewall block the
timestamping action. I recompile (this changes the binary contents of the
executable) and Windows Defender and/or Windows Firewall are happy again
<g>.

Friedrich

NewsArchive
02-13-2016, 12:27 PM
Well, I guess we've ruled out adware and viruses.<g>

Jeff Slarve
www.jssoftware.com
Twitter free since Jan 11, 2016
I'll search help files & Google for you.

Grammar troll's, are the worse.