Re: signcode vs signtool
From: Michel Gallant (neutron_at_istar.ca)
Date: 08/31/05
- Previous message: lookingforhelp: "Re: RE: Problem with .NET Passport"
- In reply to: Scott Zabolotzky: "Re: signcode vs signtool"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 31 Aug 2005 09:15:54 -0400
Yes I forgot about that script PVKCertsWMI.vbs :)
I also forgot to mention that the KeyContainerTool utility uses a SIGNED Java applet
to acquire permissions (prompting the user) to read the registry to get the storenames
(identical to the VBScript below). I wrote it at a time when almost everyone had the
MS JVM installed by default, so it worked with no further downloads required :).
However, that applet implements registry reads (very easily) using Microsoft's own
JVM which as we know is being phased out now and is not recommended and won't be supported.
So the reason it probably did not run for you is that you have IE configured to point to
another JVM (like the recommended Sun JVM). In fact, you may not even have Microsoft's
JVM installed on your OS (later XP systems or higher).
However, the following utility can show you if you have that JVM and can toogle back and forth
quickly (from Sun to Microsoft's JVM):
http://www.jensign.com/JavaScience/SelectIEJVM
(implemented as an hta .. right-click to download and execute).
Also, that KeyContainerTool requires CAPICOM 2. to be installed and registered.
Cheers,
- Mitch Gallant
MVP Security
www.jensign.com
"Scott Zabolotzky" <zabolots@ripco.com> wrote in message news:df36fr$ejl$1@e250.ripco.com...
> Thank you!Thank you!Thank you!Thank you!Thank you! :-)
>
> Although I couldn't get the tool on the URL to run (for some reason
> the applet wouldn't init properly in IE) the author of that tool
> had a sample VB script that does the same thing:
>
> http://www.jensign.com/JavaScience/cryptoutils/PVKCertsWMI.txt
>
> This printed out the GUID for the key container name and I can now
> sign the CAB file using signcode with the /k parameter!!
>
> Thanks again!
>
> Scott
>
> "Michel Gallant" <neutron@istar.ca> writes:
>
>>Here's a utility to list all CrypoAPI store names (as enumerated via the registry) for either
>>the CU or LM stores . It also lists all keycontainer names for certs containing
>>associated private keys, as well as orphaned keypairs:
>> http://www.jensign.com/JavaScience/KeyContainerTool
>
- Previous message: lookingforhelp: "Re: RE: Problem with .NET Passport"
- In reply to: Scott Zabolotzky: "Re: signcode vs signtool"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|