MS Base Encryption Providers are missing
I have designed a program that uses the microsoft base, advanced Encryption Providers. These cryptography providers should show up in anther software as well. For instance, Autocad--security options. On a few of my computers Windows 7 64bit, they do not show up as available providers inside the Autocad software or my software that uses the Autodesk SDK. Autodesk has reviewed the issue and claims it is not on their end; it is a software issue. Now, when I search the registry for the cryptography keys, they appear to be installed correctly. I belive the package we are talking about is the CryptoAPI. Below is a snippet from the Autodesk Engineer. First of all, it seems that AutoCAD does NOT use the CAPICOM API. The CAPICOM API is a COM wrapper around the Microsoft Cryptography API or CryptoAPI for short, and it’s the CryptoAPI that we use directly inside of AutoCAD. About your specific problem, my machine is a Windows 7 64bit machine on which I am using raw AutoCAD 2012; I see all of the providers listed in my SECURITYOPTIONS dialog – here’s a shot We don’t install any Crypto specific drivers as they come with the operating system already. In my tests, I noticed that there is actually a Cryptographic Services service in the Control Panel\All Control Panel Items\Administrative Tools\Services panel – is this enabled on the problematic machine? Finally, we created a little exe for you in order to test the Cryptographic Services away from AutoCAD (attached). If you run the application, it will list all of the Crypto providers using the CryptEnumProviders() of the CryptoAPI and allow you to round trip test a password to see if the providers are working This CryptEnumProviders() crashes on the problematic machines, but works on the others that list the providers correctly.
August 9th, 2011 5:47pm

Hi, You could try to set Cryptographic Services to Automatic, and then try to install the program again. To set Cryptographic Services to Automatic, follow these steps: 1. Start the Administrative Tools utility in Control Panel. 2. Double-click Services. 3. Right-click Cryptographic Services and then click Properties. 4. Click Automatic for Startup type, and then click Start. Alex ZhaoPlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
August 11th, 2011 12:06pm

Thanks Alex, The Cryptographic Services are running and set to Automatic. I have two Applications using the CryptoAPI. One being the AutoCAD software, and the other being my custom application. Unistalling and reinstalling my custom application does not repair the issue. I did re-register the cryptoAPI dll's and that did not help as well. Also, I do implement hashes MD5 and SH1 hashes. They work correctly. However, I believe these are part of the NET framework.There are updates to your question.
August 16th, 2011 10:49pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics