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?
http://directory.fedora.redhat.com/wiki/CoolKey#Windows_CSP

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):
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=230651

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

Wan-Teh
--
Learn. Network. Experience open source.
Red Hat Summit San Diego  |  May 9-11, 2007
Learn more: http://www.redhat.com/promo/summit/2007
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;
 
 
 #define WINDOWS_CSP_PROVIDER \
 	"SOFTWARE\\Microsoft\\Cryptography\\Defaults\\Provider"
 // 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
Coolkey-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/coolkey-devel

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

  Powered by Linux