Re: Programmatically Signing DLL
From: Richard Parker (googlegroups@expressive.ltd.uk)
Date: 01/15/03
- Next message: Karl Levinson [x y] mvp: "Re: Firewall and Internet sharing using cable modem and bridge"
- Previous message: Karl Levinson [x y] mvp: "Re: Firewall and Internet sharing using cable modem and bridge"
- In reply to: Michel Gallant (MVP): "Re: Programmatically Signing DLL"
- Next in thread: Michel Gallant (MVP): "Re: Programmatically Signing DLL"
- Reply: Michel Gallant (MVP): "Re: Programmatically Signing DLL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: googlegroups@expressive.ltd.uk (Richard Parker) Date: 15 Jan 2003 08:52:03 -0800
"Michel Gallant (MVP)" <neutron@istar.ca> wrote in message news:<3E244972.D63E19CD@istar.ca>...
> I assume you *don't* want to invoke a separate process via ShellExecute(..) or system(...) with
> signcode -spc etc.... ??
Well no I don't, I want someone who may not be that technical to be
able to take a floppy or CD from a safe somewhere with certificate and
key on it and sign a .DLL before it goes into production. The
application that does the signing would upload the DLL to the server
after it had been signed. I don't want anyone to have to install the
INETSDK or be able to replace signcode deliberately, or accidentally
(why is signcode.exe NOT SIGNED???).
> I think that spc and pvk (proprietary format) are ONLY supported by the signcode.exe
> tool.
Well someone must have had a subroutine at least to write signcode.exe
in the first place. Don't Microsoft use their own SDKs?
> If you insist on using local files (instead of direct access of keys/cert in system stores)
> for the keys/cert, then probably a better approach is to use a .pfx (pkcs12) file, which
> holds both keys and cert. CAPICOM, again, has excellent support for this;
> e.g. some relevant VBScript code:
> Dim Signer, SignedCode
> Set SignedCode = CreateObject("CAPICOM.SignedCode")
> Set Signer = CreateObject("CAPICOM.Signer")
> ....
> Signer.Load PFXFileName, PFXPassword
> SignedCode.FileName = filetosign
> ' set other SignedCode properties ....
> SignedCode.Sign Signer
Yes, I've seen that code. What I need is to know:
What kind of certificate do we need to buy to allow programmatic
signing and validation of a DLL using VC++. There can be no additional
components needed for validation (this is going to be deployed on over
100,000 desktop PCs) and ideally no additional components needed for
signing. The OS is W2K and XP.
We are about to embark on the process of buying certificates from
Thawte - I don't want to advise my client incorrectly.
Regards,
Richard Parker
- Next message: Karl Levinson [x y] mvp: "Re: Firewall and Internet sharing using cable modem and bridge"
- Previous message: Karl Levinson [x y] mvp: "Re: Firewall and Internet sharing using cable modem and bridge"
- In reply to: Michel Gallant (MVP): "Re: Programmatically Signing DLL"
- Next in thread: Michel Gallant (MVP): "Re: Programmatically Signing DLL"
- Reply: Michel Gallant (MVP): "Re: Programmatically Signing DLL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|