[Mono-bugs] [Bug 74645][Wis] Changed - Windows does not decrypt the first block correctly when decrypting some data that was encrypted using mono
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 email@example.com.
--- 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 @@
Product: Mono: Class Libraries
OS Details: Linux and Windows XP
@@ -226,6 +226,20 @@
Hopefully you'll see something "weird" in the output.
------- Additional Comments From firstname.lastname@example.org 2005-04-18 11:34 -------
Created an attachment (id=14966)
+------- Additional Comments From email@example.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.