Windows CSP isn't working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Did anyone get the Windows CSP to work?

I found that the CSP's source code has a typo, which prevents
Windows from locating the DLL of the CSP.  I filed a bug report
and submitted a patch (attached below):

With the patch applied, I can sign and decrypt email in Outlook

Learn. Network. Experience open source.
Red Hat Summit San Diego  |  May 9-11, 2007
Learn more:
Index: RegDll.cpp
RCS file: /cvs/dirsec/coolkey/src/windows/csp/RegDll.cpp,v
retrieving revision 1.1
diff -p -U8 -r1.1 RegDll.cpp
--- RegDll.cpp	27 Jul 2006 22:23:07 -0000	1.1
+++ RegDll.cpp	1 Mar 2007 22:12:08 -0000
@@ -31,25 +31,25 @@
 extern HINSTANCE g_hModule;
 // Windows key values
 #define TYPE_KEY		"Type"
-#define IMAGE_KEY		"ImagePath"
+#define IMAGE_KEY		"Image Path"
 #define SIG_KEY			"Signature"
 // CSP specific key values
 #define LOG_KEY			"Logging"
 #define KEYGEN_KEY		"KeyGenHack"
 #define PIN_KEY			"PIN"
 #define MODULE_KEY		"PKCS11Module"
-#define DEFAULT_PKCS11_MODULE	"coolkey.dll"
+#define DEFAULT_PKCS11_MODULE	"coolkeypk11.dll"
 #define DEFAULT_PIN		"1234"
 // set the key value if it doesn't exist
 static LONG 
 regSetValueIf(HKEY hKey, LPCTSTR lpSubKey, 
Coolkey-devel mailing list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Women]

  Powered by Linux