Sysinternals Homepage
Forum Home Forum Home > Windows Discussions > Development
  New Posts New Posts RSS Feed - Discuss: HOWTO: Verify digital signature of a file
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Discuss: HOWTO: Verify digital signature of a file

 Post Reply Post Reply Page  12>
Author
Message
Anonymous View Drop Down
Newbie
Newbie
Avatar

Joined: 10 May 2009
Status: Offline
Points: 33
Post Options Post Options   Thanks (0) Thanks(0)   Quote Anonymous Quote  Post ReplyReply Direct Link To This Post Topic: Discuss: HOWTO: Verify digital signature of a file
    Posted: 10 June 2009 at 8:32am
Thanks for sharing this.
Back to Top
molotov View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 04 October 2006
Status: Offline
Points: 17516
Post Options Post Options   Thanks (0) Thanks(0)   Quote molotov Quote  Post ReplyReply Direct Link To This Post Posted: 10 June 2009 at 11:19am
Thanks, AD. Thumbs Up

Another related example here:
SigCheck functionality

Daily affirmation:
net helpmsg 4006
Back to Top
Bruce9 View Drop Down
Groupie
Groupie


Joined: 30 May 2008
Status: Offline
Points: 47
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bruce9 Quote  Post ReplyReply Direct Link To This Post Posted: 10 June 2009 at 2:22pm
Originally posted by a_d_13 a_d_13 wrote:

  I found out that there's not any good examples of how to do this out on the Internet. 
???
Complete C samples have been posted on Compuserve, Usenet and Underground boards many years ago.
(and your code is not correct, see the old samples...)
Back to Top
molotov View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 04 October 2006
Status: Offline
Points: 17516
Post Options Post Options   Thanks (0) Thanks(0)   Quote molotov Quote  Post ReplyReply Direct Link To This Post Posted: 10 June 2009 at 2:40pm
Quote Complete C samples have been posted on Compuserve, Usenet and Underground boards many years ago.
And where are they now?  This type of inquiry is not uncommon, and many with searching skills that apparently are no match for yours have had no luck finding anything.

Forum participation is voluntary and encouraged, but please provide something of value when you post. Ermm
Daily affirmation:
net helpmsg 4006
Back to Top
GamingMasteR View Drop Down
Senior Member
Senior Member
Avatar

Joined: 10 August 2008
Status: Offline
Points: 245
Post Options Post Options   Thanks (0) Thanks(0)   Quote GamingMasteR Quote  Post ReplyReply Direct Link To This Post Posted: 10 June 2009 at 4:23pm
what's the wrong with this code ?
Back to Top
wj32 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 16 January 2009
Location: Australia
Status: Offline
Points: 1016
Post Options Post Options   Thanks (0) Thanks(0)   Quote wj32 Quote  Post ReplyReply Direct Link To This Post Posted: 11 June 2009 at 6:37am
Originally posted by GamingMasteR GamingMasteR wrote:

what's the wrong with this code ?


Nothing is wrong with it (apart from excessive structure initialization). Bruce9 is just a little... confusing.
PH, a free and open source process viewer.
Back to Top
molotov View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 04 October 2006
Status: Offline
Points: 17516
Post Options Post Options   Thanks (0) Thanks(0)   Quote molotov Quote  Post ReplyReply Direct Link To This Post Posted: 24 June 2009 at 11:51am
Note: the purpose of this topic is to discuss the sticky topic "HOWTO: Verify the digital signature of a file".  The original HOWTO has been locked, and discussion should take place here.
Daily affirmation:
net helpmsg 4006
Back to Top
himanshup View Drop Down
Senior Member
Senior Member
Avatar

Joined: 16 July 2008
Location: India
Status: Offline
Points: 127
Post Options Post Options   Thanks (0) Thanks(0)   Quote himanshup Quote  Post ReplyReply Direct Link To This Post Posted: 12 August 2009 at 9:21am
use winverify trust


// from sdk

The WinVerifyTrust function performs a trust verification action on a specified object. The function passes the inquiry to a trust provider, if one exists, that supports the action identifier.



Back to Top
molotov View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 04 October 2006
Status: Offline
Points: 17516
Post Options Post Options   Thanks (0) Thanks(0)   Quote molotov Quote  Post ReplyReply Direct Link To This Post Posted: 12 August 2009 at 10:10am
Hi Himanshu,

If you review the code that is meant to be discussed in this topic, you will find that WinVerifyTrust is indeed used; a complete example of its use is given.
Daily affirmation:
net helpmsg 4006
Back to Top
himanshup View Drop Down
Senior Member
Senior Member
Avatar

Joined: 16 July 2008
Location: India
Status: Offline
Points: 127
Post Options Post Options   Thanks (0) Thanks(0)   Quote himanshup Quote  Post ReplyReply Direct Link To This Post Posted: 12 August 2009 at 11:32am
yes it is, but there is a simpler mechanism given in sdk.
Back to Top
 Post Reply Post Reply Page  12>
  Share Topic   

Forum Jump Forum Permissions View Drop Down