473,770 Members | 4,419 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help: How to verify digital signature file in program?

Hi,
I have to verify a lot of installation packages which are digital signed.
You can verify a file on the property sheet, but I am working on southands
of files. I am planning to create a tool to do this work. Anybody have some
ideas about this?

Andy
Dec 26 '05 #1
2 8703
On Mon, 26 Dec 2005 15:02:49 +0800, "Andy Chen" <pp****@hotmail .com>
wrote:
Hi,
I have to verify a lot of installation packages which are digital signed.
You can verify a file on the property sheet, but I am working on southands
of files. I am planning to create a tool to do this work. Anybody have some
ideas about this?

Andy

I would suggest possibly contacting Microsoft at some point. I had to
do this for a company I once worked for and it was, unfortunately, not
straight forward. I would send you my work but the company had
ownership by virtue of my employment contract so I deleted it when
completed.

Depending on the certificate you are using it may contain browser
extensions which are, you guessed it, not standard. Microsoft did
provide some sample code to the company I was working at for decoding
certificates targeted at IE. You may need to learn how to walk the
file header to find the location of the various pieces of information
and the sizes. I believe you will also need to get the Authenticode
tools/sdk from Microsoft.

Here are some links that may be helpful getting you started:

http://support.microsoft.com/default...b;en-us;195724
http://msdn.microsoft.com/library/de...ml/signfaq.asp
http://msdn.microsoft.com/library/de...aphy_tools.asp

Things may have changed since I last worked with this technology so
YMMV. You might want to visit the links first and see where it takes
you, or, hopefully, someone will be able to give you something more
concrete than I was able to.

Good luck. [8-)

Ken Wilson
Seeking viable employment in Victoria, BC
Dec 26 '05 #2
Thanks a lot for your response. The links are very useful. I still don't
know how to create this tool. However I think it's not valuable if it costs
so much time to create this tool.

Thanks again.

Andy
Dec 28 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1161
by: Kim H Madsen | last post by:
I have created a .Net Service that is sending mails using SMTP Server/Exchange Server how do i put in a Digital Signature so the reciver is 100% sure that the mail i from the owner of Server where the Service is running ? It should worke something lige Outlook does it you type in your secret password and Outlook together with the code create a Mail with digital signature Thank Ki If I have to use another way of sending mails to use...
0
1903
by: Kim HM | last post by:
I Have a .NET program sending mails using CDOEX. These mail I need to sign. I god a tip that i shoud use CAPICOM. That worked fine sending a mail with signature. BUT the problem is that I have to type the password for my certificate every time my program signs a mail :o( My program is a windows service running on a server so typing passwords is bad.
5
4832
by: John Campbell | last post by:
Hi everyone I've been doing my best to understand the specifics of implimentating XML Digital Signatures, but I seem to be missing a fundamental concept. Let me start with a description of the problem I am trying to solve. In my application, people send an XML file that contains data for loans. The application then takes that data and performs various calculations returning the results in an XML file that combines both the initial data and...
1
3681
by: Marco Moioli | last post by:
Hi, I have a problem with a X509 digital signature. I want to sign a Word 2003 document saved in .xml format. the problem is that after the signature, Word 2003 don't want to open the document. If I apply a standard W3C signature to an Xml file wrote in Word 2003 I obtain: <?mso-application progid="Word.Document"?> <w:wordDocument
2
2605
by: Jim Adams | last post by:
I'm creating an XML license file and would like to add a digital signature entry to the file. My VB.Net app will use this signature to verify the file's integrity. Can anyone point to some sample code that can do this? Thanks, Jim
0
1684
by: IgorB | last post by:
Hi! Is there a way in ASP to verify digital signature by using one of public keys contained within the application's PSE (Personal Security Environment) file? Or if this is not possible, can it be verified by using the public key itself, the CRT file? Thanks in advance! Kind regards, Igor Barbaric
1
4472
by: Filips Benoit | last post by:
Dear All, From a Access 2000 Database the Labo analyses are exported in a xls-files and send to the customer as email-attachment. It is all done by code in 1 cmd.: 1. Creating a xls-file from a template. 2. Sending the xls-file as attachment. Now, my client want to send the Labo analyses as PDF with a digital signature.
2
3183
by: yxq | last post by:
Hello, I want to verify the digital signature of EXE or DLL file, in order to know if they published by Microsoft, like the software "Process Explorer", download link is below http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/ProcessExplorer.mspx Select a process, view Properties/Image, click "verify" button to view if the file has been verfied. I have searched internet, find the API WinVerifyTrust and some C++...
0
1729
by: Samuel.cyprian | last post by:
Hi guys, Do anyone of you know how to verify a signature of an executable file in C#? I would rather like to use a .net namespace instead of inporting of dlls. Thanks /SC
0
9439
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10237
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9882
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7431
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6690
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5326
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5467
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3987
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2832
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.