[Mono-devel-list] Problem with Random Number Generation on Windows

Daniel Morgan danielmorgan at verizon.net
Sat Dec 6 00:36:58 EST 2003


Hello, I get a problem trying to do security stuff on Windows.  /dev/urandom
can not be found.  How do I resolve this?

I am running cygwin on Windows XP Professional with SP1.

** (Test.exe:1492): WARNING **: Entropy problem! Can't open /dev/urandom or

Unhandled Exception: System.NotImplementedException: The requested feature
is no
t yet implemented
in (unmanaged) (wrapper managed-to-native)
System.Security.Cryptography.RNGCrypt
oServiceProvider:InternalGetBytes (byte[])
in <0x00004> (wrapper managed-to-native)
System.Security.Cryptography.RNGCryptoS
erviceProvider:InternalGetBytes (byte[])
in <0x00011> System.Security.Cryptography.RNGCryptoServiceProvider:GetBytes
(byt
e[])
in <0x00033> Mono.Security.Cryptography.KeyBuilder:IV (int)
in <0x0001a>
System.Security.Cryptography.DESCryptoServiceProvider:GenerateIV ()

in <0x00015> System.Security.Cryptography.SymmetricAlgorithm:get_IV ()
in <0x0002e> System.Security.Cryptography.SymmetricAlgorithm:CreateEncryptor
()
in <0x000ce> Mono.Security.Protocol.Ntlm.ChallengeResponse:set_Password
(string)

in <0x00018> Mono.Security.Protocol.Ntlm.ChallengeResponse:.ctor
(string,byte[])

in <0x0071f> Mono.Security.Protocol.Ntlm.Type3Message:GetBytes ()
in <0x00183> Mono.Data.Tds.Protocol.Tds:ProcessAuthentication ()
in <0x001b8> Mono.Data.Tds.Protocol.Tds:ProcessSubPacket ()
in <0x00054> Mono.Data.Tds.Protocol.Tds:NextResult ()
in <0x0000d> Mono.Data.Tds.Protocol.Tds:SkipToEnd ()
in <0x00e98> Mono.Data.Tds.Protocol.Tds70:Connect
(Mono.Data.Tds.Protocol.TdsCon
nectionParameters)
in <0x004ac> System.Data.SqlClient.SqlConnection:Open ()
in <0x00089> .Test:Main (string[])




More information about the Mono-devel-list mailing list