[Mono-bugs] [Bug 30256][Wis] Changed - Sample requires generating a key (which requires RNG)

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
12 Oct 2002 01:33:20 -0000


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by spouliot@videotron.ca.

http://bugzilla.ximian.com/show_bug.cgi?id=30256

--- shadow/30256	Thu Sep 12 13:04:24 2002
+++ shadow/30256.tmp.26350	Fri Oct 11 21:33:20 2002
@@ -2,22 +2,23 @@
 Product: Mono/Class Libraries
 Version: unspecified
 OS: other
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Wishlist
 Component: CORLIB
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: duncan@ximian.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
-Summary: DESCore.SetKey throws NullRefEx (DES.cs)
+Summary: Sample requires generating a key (which requires RNG)
+BugsThisDependsOn: 32179
 
 This exception is thrown when we try to run fileencrypt.cs from the
 quickstart tutorials.
 
 duncan:~/src/testing/Cryptography $ mono fileencrypt.exe 
 Enter Some Text to be stored in encrypted file:
@@ -34,6 +35,13 @@
 in <0x00128> 00 .FileEncrypt:Main ()
 
 ------- Additional Comments From duncan@ximian.com  2002-09-12 13:04 -------
 Created an attachment (id=2249)
 Example from quickstart tutorial
 
+
+------- Additional Comments From spouliot@videotron.ca  2002-10-11 21:33 -------
+The class RNGCryptoServiceProvider doesn't work on Windows.
+This means that we can't generate secret keys (and IV) for all 
+symmetric algorithms.
+However the sample should work normally under Linux (and other OS for 
+which the current RNG is supported).