[Mono-bugs] [Bug 40689][Maj] Changed - DESCryptoServiceProvider() throws a Exception and do no depadding

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Thu, 3 Apr 2003 22:16:38 -0500 (EST)

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.


--- shadow/40689	Wed Apr  2 16:16:22 2003
+++ shadow/40689.tmp.9174	Thu Apr  3 22:16:38 2003
@@ -1,14 +1,14 @@
 Bug#: 40689
 Product: Mono/Class Libraries
 Version: unspecified
+OS: unknown
 OS Details: Gentoo Linux 1.4, Kernel 2.4.20
-Status: NEW   
+Status: ASSIGNED   
+Severity: Unknown
 Priority: Major
 Component: CORLIB
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: henning@skalatan.de               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -91,7 +91,17 @@
 Testet my code and the example with the MS Runtime, no problems.
 ------- Additional Comments From henning@skalatan.de  2003-04-02 16:16 -------
 Created an attachment (id=3898)
 testcode Exception DESCryptoServiceProvider
+------- Additional Comments From spouliot@videotron.ca  2003-04-03 22:16 -------
+Currently the Write mode is buggy for decrypting a file.
+Easiest workaround is to:
+1. Read the encrypted data using the CryptoStream (in read mode).
+2. Write to a new file using a FileStream (or another stream).
+A re-design of the CryptoStream will be required to fix this issue.