[Bug 60286] New: crypt32: CryptDecodeObjectEx has no decoder for X509_DSS_SIGNATURE (struct type 40)
http://bugs.winehq.org/show_bug.cgi?id=60286 Bug ID: 60286 Summary: crypt32: CryptDecodeObjectEx has no decoder for X509_DSS_SIGNATURE (struct type 40) Product: Wine Version: 11.16 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: crypt32 Assignee: wine-bugs@list.winehq.org Reporter: mail.haufen@gmail.com Target Milestone: --- Distribution: --- Created attachment 82026 --> http://bugs.winehq.org/attachment.cgi?id=82026 reproducer CryptDecodeObjectEx fails for lpszStructType = X509_DSS_SIGNATURE ((LPCSTR)40), emitting: fixme:cryptasn:CryptDecodeObjectEx Unimplemented decoder for lpszStructType OID 40 Microsoft documents this structure as a pointer to a 40-byte array, the lower 20 bytes being the DSA R value and the higher 20 bytes the S value, ordered as output by the DSS CSP's CryptSignHash. The returned error, 0x2 (ERROR_FILE_NOT_FOUND), matches the documented result for "a decoding function could not be found for the specified dwCertEncodingType and lpszStructType". Steps to reproduce ------------------ 1. Compile the attached dss.c: x86_64-w64-mingw32-gcc dss.c -o dss.exe -lcrypt32 2. Run it: WINEDEBUG=fixme+cryptasn wine dss.exe Actual result: ok=0 err=0x2, with the fixme above. Expected result: returns TRUE, writing 40 bytes. Real-world impact ----------------- Retail FIFA 15, launched via EA Desktop under GE-Proton11-6, acquires the DSS CSP (dssenh.dll) and then fails this decode during startup validation. The launcher relaunches the game six times at roughly six-second intervals; each fifa15.exe process hits this fixme exactly once and then exits cleanly via LdrUnloadDll with no exception. The game never reaches its menu. Tested on wine-staging 11.16 (x86_64). -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60286 --- Comment #1 from mail.haufen@gmail.com --- Created attachment 82027 --> http://bugs.winehq.org/attachment.cgi?id=82027 logs from reproducer -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60286 mail.haufen@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |ArchLinux Keywords| |testcase -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60286 Ken Sharp <imwellcushtymelike@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|crypt32: |crypt32: |CryptDecodeObjectEx has no |CryptDecodeObjectEx has no |decoder for |decoder for |X509_DSS_SIGNATURE (struct |X509_DSS_SIGNATURE (struct |type 40) |type 40) [FIFA 15 fails to | |launch] -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla