[Bug 10506] .NET applications which use 'System.Security.Cryptography.DSA' need crypt32 DSS provider

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Feb 25 07:31:03 CST 2018


https://bugs.winehq.org/show_bug.cgi?id=10506

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|wine crypt32 needs DSS      |.NET applications which use
                   |provider to support more    |'System.Security.Cryptograp
                   |.NET apps which use         |hy.DSA' need crypt32 DSS
                   |cryptography API            |provider

--- Comment #17 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

revisiting, still present. We've reached 10 years here _oO_  ... maybe GSoC?

Found another .NET app/game to reproduce with:

http://www.fileplanet.com/218230/210000/fileinfo/Miner-Wars-Demo

http://download.fileplanet.com/ftp1/012011/MinerWars_01_074_006_Setup.exe

Prerequisite:

'wintricks -q dotnet40 xna40'

Fails during auto-update after starting the game from launcher.

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/Keen Software House/Miner Wars

$ wine ./MinerWarsLauncher.exe 
...
--- snip ---

App log file './users/focht/Application
Data/MinerWars/MinerWarsLauncher.exe_UPDATER.log':

--- snip ---
...
2018-02-25 14:13:41.184 - Thread:    5 ->  KeenClientDLL.CLR.dll test load
succes (0)
2018-02-25 14:13:41.184 - Thread:    5 ->  P2P enabled on server, will try
using P2P download first.
2018-02-25 14:13:41.191 - Thread:    5 ->  Authorizing exe in fw: C:\Program
Files\Keen Software House\Miner Wars\MinerWarsLauncher_01_110_013.exe
2018-02-25 14:13:41.197 - Thread:    5 ->  Update from P2P enabled on server
2018-02-25 14:13:41.198 - Thread:    5 ->  Update from P2P, downloading
.torrent file: MinerWars.torrent
2018-02-25 14:13:41.198 - Thread:    5 ->  Url:
http://update2.minerwars.com/01_110_013/MinerWars.torrent
2018-02-25 14:13:41.445 - Thread:    5 ->  P2P caught exception: File already
exists.

2018-02-25 14:13:41.450 - Thread:    5 ->  P2P exception detail
System.IO.IOException: File already exists.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.__Error.WinIOError()
   at System.IO.FileInfo.MoveTo(String destFileName)
   at MinerWars.Launcher.P2PDownload.UpdateFromP2P(Stack`1& updateFiles, String
serverVersion)
   at MinerWars.Launcher.P2PDownload.TryP2PDownload(Stack`1& updateFiles,
String serverVersion)
2018-02-25 14:13:41.450 - Thread:    5 ->  P2P download terminating...
2018-02-25 14:13:41.701 - Thread:    5 ->  P2P client terminating libtorrent
library
2018-02-25 14:13:41.701 - Thread:    5 ->  P2P client waiting for worker thread
to terminate...
2018-02-25 14:13:41.701 - Thread:    5 ->  P2P client finished.
2018-02-25 14:13:41.702 - Thread:    5 ->  P2P download finished with reason:
P2P internal exception caught, see log for detail
2018-02-25 14:13:41.702 - Thread:    5 ->  Launcher will download via HTTP,
bytes to download: 1120397147
2018-02-25 14:13:41.710 - Thread:    1 ->  Exception occured:
System.Security.Cryptography.CryptographicException: Unknown error
"-2146893801".
   at System.Security.Cryptography.Utils.CreateProvHandle(CspParameters
parameters, Boolean randomKeyContainer)
   at System.Security.Cryptography.Utils.get_StaticDssProvHandle()
   at
System.Security.Cryptography.DSACryptoServiceProvider.ImportParameters(DSAParameters
parameters)
   at System.Security.Cryptography.DSA.FromXmlString(String xmlString)
   at MinerWars.Launcher.MyMainForm.RunBackgroundUpdater()
   at MinerWars.Launcher.MyMainForm.RunBackground(BackgroundWorker bw, Int32 a)
   at MinerWars.Launcher.MyMainForm.BackgroundThread_DoWork(Object sender,
DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
--- snip ---

$ wine --version
wine-3.2-168-gc073701d02

Regards

-- 
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.



More information about the wine-bugs mailing list