[Mono-bugs] [Bug 74645][Wis] Changed - Windows does not decrypt the first block correctly when decrypting some data that was encrypted using mono

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 20 Apr 2005 10:10:33 -0400 (EDT)


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 sebastien@ximian.com.

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

--- shadow/74645	2005-04-18 11:34:49.000000000 -0400
+++ shadow/74645.tmp.10157	2005-04-20 10:10:33.000000000 -0400
@@ -1,12 +1,12 @@
 Bug#: 74645
 Product: Mono: Class Libraries
 Version: 1.0
 OS: unknown
 OS Details: Linux and Windows XP
-Status: NEEDINFO   
+Status: CLOSED   
 Resolution: 
 Severity: Unknown
 Priority: Wishlist
 Component: CORLIB
 AssignedTo: sebastien@ximian.com                            
 ReportedBy: eric@extremeboredom.net               
@@ -226,6 +226,20 @@
 Hopefully you'll see something "weird" in the output.
 
 ------- Additional Comments From sebastien@ximian.com  2005-04-18 11:34 -------
 Created an attachment (id=14966)
 machine.config.diff
 
+
+------- Additional Comments From sebastien@ximian.com  2005-04-20 10:10 -------
+It's my understanding that this is solved (please re-open if I'm wrong).
+
+The problem was that ICryptoTransform.CanReuseTransform wasn't checked
+- and the same transform was re-used. Mono return false (most of the
+time) while MS returns true (most of the time).
+
+Each crypto algorithm implementation can return a different value (and
+this could change between fx versions). Even if we "fix" this in the
+future it wouldn't be safe to ignore CanReuseTransform as CryptoConfig
+can be used to remap algorithms to alternative implementation (e.g.
+hardware support) which transform could behave differently.
+