0x80090006 (Invalid Signature. )

"Chris Bender" <[email protected]> Thu, 13 Oct 2005 12:12:56 -0400
Newsgroups gmane.comp.encryption.cryptoapi
Message-ID <[email protected]>
This is a multi-part message in MIME format.

--===============1026111247==
Content-Transfer-Encoding: 7bit
content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C5D010.F937BD65"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C5D010.F937BD65
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable


Hey everyone,

Im new to the list, and I have a feeling this may be a common problem
that I am having some trouble diagnosing with google, etc.

I have created a csp dll that currently just forwards all calls to the
default provider on my machine.

I registered the csp in my registry, as it appears in the list of
providers when I run csptestsuite.exe

I sign it by=20
C:\cspdk>cspSign.exe c C:\p4_sandbox\dev\cbender\MyCSP.dll

Then it verifies properly with
C:\cspdk>cspSign.exe d C:\p4_sandbox\dev\cbender\MyCSP.dll


Now, when I run (ie test CryptAquireContext)
C:\cspdk\testSuite\x86>csptestsuite.exe  -c "Benders Test Cryptographic
Service Provider" -f 0

I get=20
[  API]    CryptAcquireContext
[ INFO]    Returned: False
[ INFO]    Error type: API failed unexpectedly
[ INFO]    Known error: No
[ INFO]    Actual error code: 0x80090006 (Invalid Signature. )



I am running WinXP and when I go to Internet Explorer->Help->About my
cipher strength is 128, so I am pretty sure I have the newest crypto
dlls installed.



Has anyone been able to solve this problem?


Thanks
Chris



---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential =
information, privileged material (including material protected by the =
solicitor-client or other applicable privileges), or constitute =
non-public information. Any use of this information by anyone other than =
the intended recipient is prohibited. If you have received this =
transmission in error, please immediately reply to the sender and delete =
this information from your system. Use, dissemination, distribution, or =
reproduction of this transmission by unintended recipients is not =
authorized and may be unlawful.

------_=_NextPart_001_01C5D010.F937BD65
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7226.0">
<TITLE> 0x80090006 (Invalid Signature. )</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">Hey everyone,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Im new to the list, and I have a =
feeling this may be a common problem that I am having some trouble =
diagnosing with google, etc.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I have created a csp dll that currently =
just forwards all calls to the default provider on my machine.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I registered the csp in my registry, as =
it appears in the list of providers when I run csptestsuite.exe</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I sign it by </FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">C:\cspdk&gt;cspSign.exe c =
C:\p4_sandbox\dev\cbender\MyCSP.dll</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Then it verifies properly with</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">C:\cspdk&gt;cspSign.exe d =
C:\p4_sandbox\dev\cbender\MyCSP.dll</FONT>
</P>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">Now, when I run (ie test =
CryptAquireContext)</FONT>

<BR><FONT SIZE=3D2 =
FACE=3D"Arial">C:\cspdk\testSuite\x86&gt;csptestsuite.exe&nbsp; -c =
&quot;Benders Test Cryptographic Service Provider&quot; -f 0</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I get </FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">[&nbsp; API]&nbsp;&nbsp;&nbsp; =
CryptAcquireContext</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">[ INFO]&nbsp;&nbsp;&nbsp; Returned: =
False</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">[ INFO]&nbsp;&nbsp;&nbsp; Error type: =
API failed unexpectedly</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">[ INFO]&nbsp;&nbsp;&nbsp; Known error: =
No</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">[ INFO]&nbsp;&nbsp;&nbsp; Actual error =
code: 0x80090006 (Invalid Signature. )</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">I am running WinXP and when I go to =
Internet Explorer-&gt;Help-&gt;About my cipher strength is 128, so I am =
pretty sure I have the newest crypto dlls installed.</FONT></P>
<BR>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">Has anyone been able to solve this =
problem?</FONT>
</P>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">Chris</FONT>
</P>

<p><hr>This transmission (including any attachments) may contain =
confidential information, privileged material (including material =
protected by the solicitor-client or other applicable privileges), or =
constitute non-public information. Any use of this information by anyone =
other than the intended recipient is prohibited. If you have received =
this transmission in error, please immediately reply to the sender and =
delete this information from your system. Use, dissemination, =
distribution, or reproduction of this transmission by unintended =
recipients is not authorized and may be unlawful.</BODY>
</HTML>
------_=_NextPart_001_01C5D010.F937BD65--

--===============1026111247==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
CryptoAPI mailing list
[email protected]
http://cypherpunks.to/mailman/listinfo/cryptoapi

--===============1026111247==--