http://bugs.winehq.org/show_bug.cgi?id=32758
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|.NET 4.0 applications using |.NET 3.5 and 4.x apps using |Microsoft SQL Server |Microsoft Enhanced RSA and |Compact Edition 4.0 report |AES Cryptographic Provider |"PlatformNotSupportedExcept |with default WinVer = |ion" (TurboTax 2012, Adicom |Windows XP report |PNV) |"PlatformNotSupportedExcept | |ion" (TurboTax 2012, Adicom | |PNV, GOG.com downloader)
--- Comment #22 from Anastasius Focht focht@gmx.net 2013-10-04 06:27:53 CDT --- Hello folks,
still present. Encountered this with GOG.com downloader when trying to log in.
Prerequisite: 'winetricks -q dotnet35sp1' and 'winetricks -q windowscodecs' (bug 33384)
--- snip --- ... fixme:crypt:SystemFunction041 (0x4c5eb34, 20, 0): stub [RtlDecryptMemory] fixme:crypt:SystemFunction040 (0x4c5eb34, 20, 0): stub [RtlEncryptMemory] fixme:shell:URL_ParseUrl failed to parse L"System.Web" Message: Exception has been thrown by the target of an invocation. Stack trace: at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.Security.Cryptography.CoreCryptoConfig.CreateFromName[T](String name) at System.Security.Cryptography.Aes.Create(String algorithmName) at System.Security.Cryptography.Aes.Create() at GOGCompanionApp.Utilities.EncryptionMethods.DecryptStringFromBytes(Byte[] cipherText) at GOGCompanionApp.OAuthRequests.GetOauthAuthorization(String email, String password) Inner exception: System.PlatformNotSupportedException: The specified cryptographic algorithm is not supported on this platform. at System.Security.Cryptography.AesCryptoServiceProvider..ctor() 1:05:10 PM init started 1:05:10 PM Worker -1 Requesting https://api.gog.com/downloader2/status/stable/3.5.8 1:05:10 PM Worker -1 Request data 1:05:10 PM Worker -1 Request https://api.gog.com/downloader2/status/stable/3.5.8 successed?:True App online: True 1:05:10 PM Init ended 1:05:10 PM Login started --- snip ---
This .NET app uses .NET 3.5 System.Security.Cryptography.AesCryptoServiceProvider functionality which lives in System.Core.dll
Refining summary to reflect that.
Setting WinVer to "Windows 2003" works around.
$ du -sh Setup_Downloader_3.5.8_stable.exe 3.6M Setup_Downloader_3.5.8_stable.exe
$ sha1sum Setup_Downloader_3.5.8_stable.exe 253c47bdc34de4a151febe4964ef0dd30b28eacf Setup_Downloader_3.5.8_stable.exe
$ wine --version wine-1.7.3-205-g5451a1e
Regards