PDA

View Full Version : code-sign check



NewsArchive
12-11-2015, 02:33 AM
Hi all,

How can I check if a file (EXE or DLL) aleady code-sign or not?

The function "#code-sign application" have no Return Values.

"This preprocessor directive does not return a value."

Dirk

NewsArchive
12-11-2015, 02:34 AM
Forget it ;)
Function "Get File Info" => Verify Trust [Code-signature]

I've had still not my coffee today.

<g>

Dirk

NewsArchive
12-11-2015, 02:34 AM
But one more question:

Function "Verify Trust [Code-signing]" give me 1 - ok - File is signed,
perfect.

But because of the discussion concerning SHA1 and SHA2, I would like to
know whether the file already has - both keys, or just one.

Is there a way to see the?

Dirk

NewsArchive
12-11-2015, 09:55 AM
Dirk,

As far as I can tell, you can't programmatically check (using Windows API)
if it is a dual code-signed file.

Friedrich

NewsArchive
12-14-2015, 03:10 AM
Ok - thanks Friedrich

Dirk Büchel