How to setup my CSP as windows default CSP?
From: Faisal Masood (faisalmasood@hotmail.com)
Date: 03/28/03
- Next message: Kelsey Bjarnason: "Re: Why we don't use homebrew crypto"
- Previous message: Big Boy: "Information on block Lanczos?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: faisalmasood@hotmail.com (Faisal Masood) Date: 27 Mar 2003 19:34:57 -0800
Hi,
It's a bit lengthy description of my problem, but I really appreciate
if someone can guide me.
I have developed a CSP and have tested it under Windows 2000, SP2 with
my own
test applications which seems to be working fine. I have done the
following
to install and test my CSP:
1. Replaced advapi32.dll with the one in the CSP DK.
2. Added an entry in the register
"HKEY_LOCAL_MACHINE\software\microsoft\cryptography\default\provider"
for my CSP
3. Added an entry in the register
"HKEY_LOCAL_MACHINE\software\microsoft\cryptography\default\provider
Type" for my CSP
The provider type for my CSP is 800.
My test application works fine when I do CryptAcquiteContext with the
provider type 800.
In order to make my CSP as windows default CSP, I changed the
registery to replace one of the windows default CSP (PROV_RSA_FULL =
001) with my CSP, and set the provider type of my CSP as 001. i.e.
1. HKEY_LOCAL_MACHINE\software\microsoft\cryptography\default\provider
- entry of my CSP with type 001
2. HKEY_LOCAL_MACHINE\software\microsoft\cryptography\default\provider
Type\Type 001 - my CSP
Now, when I reboot windows, it gives me an error message:
"Files that are required for windows to run properly have been
replaced by unrecognized
versions. To maintain system stability, windows must restore the
original versions of these
files. Insert your service pack 2 CD now."
I know that windows is using my CSP as I log all the operations in a
file. It seems that
one of the CPVerifySignature is failing, causing the above message. [I
think windows checks
the integrity of some files by maintaining a sign which it verifies at
startup].
Does this message is coming because I have replaced windows default
CSP with mine, and
now windows is trying to verify the signature of the new CSP DLL?
Or, is there something wrong with my setup?
I really appreciate if someone can look at the configuration and help
me to locate where the problem is as I have spent good time trying to
figure out the problem without any luck.
Thanks in advance.
Faisal
- Next message: Kelsey Bjarnason: "Re: Why we don't use homebrew crypto"
- Previous message: Big Boy: "Information on block Lanczos?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|