[Mono-bugs] [Bug 81008][Maj] Changed - Exception thrown, Bad PKCS7 padding.
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon Mar 5 11:10:18 EST 2007
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 at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=81008
--- shadow/81008 2007-03-02 15:45:35.000000000 -0500
+++ shadow/81008.tmp.25775 2007-03-05 11:10:18.000000000 -0500
@@ -1,13 +1,13 @@
Bug#: 81008
Product: Mono: Class Libraries
Version: 1.2
OS: GNU/Linux [Other]
OS Details:
-Status: ASSIGNED
-Resolution:
+Status: RESOLVED
+Resolution: FIXED
Severity: Unknown
Priority: Major
Component: CORLIB
AssignedTo: sebastien at ximian.com
ReportedBy: dtemes at infoco.es
QAContact: mono-bugs at ximian.com
@@ -140,6 +140,17 @@
and gmcs.
In mcs case (fx 1.x) no exception is thrown for bad padding so you get
a padded string (i.e. in this case plain != plainAgain). gmcs use the
fx 2.0 behaviour and throws if bad padding is found (which is the case
here).
+
+------- Additional Comments From sebastien at ximian.com 2007-03-05 11:10 -------
+This was a bug *between* CryptoStream and SymmetricTransform that
+occurs in very specific circumstances (write/decryption/ecb). In most
+case the ICryptoTransform (supplied by SymmetricTransform) deals with
+this issue, except for the ECB.
+
+Thanks for the sample code.
+
+Fixed in SVN r73710-2
+Unit tests in SVN r73713
More information about the mono-bugs
mailing list