[Bug 6194] BITS Service fails to install

Wine Bugs wine-bugs at winehq.org
Sat May 26 14:23:47 CDT 2007


http://bugs.winehq.org/show_bug.cgi?id=6194





------- Additional Comments From hans at it.vu.nl  2007-26-05 14:23 -------
With an improved stub for CryptCATOpen the installer crashes
in a call to CryptCATGetCatAttrInfo, which is unimplemented and
also undocumented. I arrived at the following prototype based
on trial and error and some tests: 

 CRYPTCATATTRIBUTE * WINAPI CryptCATGetCatAttrInfo(HANDLE catalog,
                                                   LPWSTR attr)

To make these functions work we will need to parse catalog files
which are also undocumented. Looking at hexdumps I recognized
fragments of digital certificates and indeed the catalog file
at hand embeds PKCS7 encoded certificates in DER format. This can
be shown by the following command:

$ openssl pkcs7 -inform DER -text -print_certs -noout < catalog.cat

There is a viewer for catalog files that reveals more. Start it by right
clicking -> Open on a catalog file or from the command line like this:

$ rundll32.exe cryptext.dll,CryptExtOpenCAT catalog.cat


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the wine-bugs mailing list