[Mono-bugs] [Bug 46143][Nor] Changed - CryptoStream.Close throws Exception when not read to end
Wed, 30 Jul 2003 15:01:42 -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 firstname.lastname@example.org.
--- shadow/46143 Fri Jul 11 06:07:23 2003
+++ shadow/46143.tmp.4124 Wed Jul 30 15:01:42 2003
@@ -1,14 +1,14 @@
Product: Mono/Class Libraries
OS: Debian Woody
@@ -47,6 +47,23 @@
It happened when deserializing objects from crypted files.
------- Additional Comments From JoergR@voelcker.com 2003-07-11 06:07 -------
Created an attachment (id=4839)
+------- Additional Comments From email@example.com 2003-07-30 15:01 -------
+Exception fixed in CVS. Close called FlushFinalBlock for read-only
+However, I'll keep this bug open because we're not returning the
+same results as MS.
+MS returns: "Please enc" (10 unicode chars == 20 bytes == length of
+stream that has been read).
+Mono returns: "Please e" (8 unicode chars == 16 bytes == AES block
+This probably means that the decryption is done by block size
+(rounded up) but only returns the specified length (the rest is
+probably cached). This is more complex than the current (quick)
+design. CryptoStream needs to be re-written.