https://bugs.winehq.org/show_bug.cgi?id=39681
Bug ID: 39681 Summary: Unimplemented function crypt32.dll.CryptMsgVerifyCountersignatureEncoded Product: Wine Version: 1.7.53 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: crypt32 Assignee: wine-bugs@winehq.org Reporter: htl10@users.sourceforge.net Distribution: ---
MS dotnet's SignedCms.CheckSignature() depends on crypt32.dll.CryptMsgVerifyCountersignatureEncoded .
I found this out while running a test program which does exactly that:
Unhandled Exception: System.Runtime.InteropServices.SEHException: External component has thrown an exception. at System.Security.Cryptography.CAPISafe.CryptMsgVerifyCountersignatureEncoded(IntPtr hCryptProv, UInt32 dwEncodingType, IntPtr pbSignerInfo, UInt32 cbSignerInfo, IntPtr pbSignerInfoCountersignature, UInt32 cbSignerInfoCountersignature, IntPtr pciCountersigner) at System.Security.Cryptography.Pkcs.SignerInfo.Verify(X509Certificate2Collection extraStore, X509Certificate2 certificate, Boolean verifySig natureOnly) at System.Security.Cryptography.Pkcs.SignerInfo.CheckSignature(X509Certificate2Collection extraStore, Boolean verifySignatureOnly) at System.Security.Cryptography.Pkcs.SignedCms.CheckSignatures(SignerInfoCollection signers, X509Certificate2Collection extraStore, Boolean v erifySignatureOnly) at System.Security.Cryptography.Pkcs.SignedCms.CheckSignatures(SignerInfoCollection signers, X509Certificate2Collection extraStore, Boolean v erifySignatureOnly) at System.Security.Cryptography.Pkcs.SignedCms.CheckSignature(X509Certificate2Collection extraStore, Boolean verifySignatureOnly) at System.Security.Cryptography.Pkcs.SignedCms.CheckSignature(Boolean verifySignatureOnly) ... wine: Unimplemented function crypt32.dll.CryptMsgVerifyCountersignatureEncoded called at address 0x7b83e9b0 (thread 0009), starting debugger... Unhandled exception: unimplemented function crypt32.dll.CryptMsgVerifyCountersignatureEncoded called in 32-bit code (0x7b83e9b0).
(Apologies the wine version may not be accurate if this report is version sensitive - I kept a note on this error on Nov 2, but I upgraded wine to 1.7.55 on No 20; so the actual error would have been observed approximately with 1.7.54/1.7.53/1.7.52)
https://bugs.winehq.org/show_bug.cgi?id=39681
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Confirming, it's not implemented in 1.8-rc1. So your slightly older versions are not a problem. Is it possible to download a demo/full version of this application?
https://bugs.winehq.org/show_bug.cgi?id=39681
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |9fd90749c2c635573c234aba7b9 | |2064f7bc5ffc0 Resolution|--- |FIXED
--- Comment #2 from Austin English austinenglish@gmail.com --- A stub was committed https://source.winehq.org/git/wine.git/commitdiff/9fd90749c2c635573c234aba7b...
https://bugs.winehq.org/show_bug.cgi?id=39681
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.7.
https://bugs.winehq.org/show_bug.cgi?id=39681
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.8.x CC| |mstefani@redhat.com
https://bugs.winehq.org/show_bug.cgi?id=39681
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |---
--- Comment #4 from Michael Stefaniuc mstefani@redhat.com --- Removing 1.8.x milestone from bugs included in 1.8.3.