1 2007-05-08 Randolph Chung <tausq@debian.org>
3 * DSACryptoServiceProviderTest.cs: Remove "NotWorking" annotation
4 for the blob tests that should now pass.
6 2007-05-08 Sebastien Pouliot <sebastien@ximian.com>
8 * DSATest.cs: Add test case where we import a key that has a null Y
9 (public part) but where X (private part) is available - and usable
12 2007-03-22 Sebastien Pouliot <sebastien@ximian.com>
14 * CryptoConfigTest.cs: Fix upper/lower/mixed cases tests as they work
16 * CryptoStreamTest.cs: Fixed some test cases to work properly on MS
18 * DSACryptoServiceProviderTest.cs: Normalize line endings.
19 * PasswordDeriveBytesTest.cs: Fix test case that used Reset (as the
20 method was fixed to reset the state in fx 2.0).
21 * Rfc2898DeriveBytesTest.cs: Add test case to trigger an endian bug.
22 * RSACryptoServiceProviderTest.cs: Normalize line endings.
23 * SymmetricAlgorithmTransformTest.cs: Change/split test cases so that
24 they work properly under both MS 1.1 and 2.0. In some cases tests are
25 marked as NotWorking because Mono implements the, more consistent, 2.0
26 behavior for all transforms.
28 2007-03-15 Roei Erez <roeie@mainsoft.com>
30 * Adding some TARGET_JVM tags.
32 2007-03-05 Sebastien Pouliot <sebastien@ximian.com>
34 * SymmetricAlgorithmTransformTest.cs: Add test cases for #81008 by
35 looking at the encrypted/decrypted block length when TransformBlock is
36 called with different MoO and paddings.
38 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
40 * HashAlgorithmTest.cs: Convert to NUnit 2.2 format.
41 * HMACMD5Test.cs: Convert to NUnit 2.2 format.
42 * HMACRIPEMD160Test.cs: Convert to NUnit 2.2 format.
43 * HMACSHA1Test.cs: Convert to NUnit 2.2 format.
44 * HMACSHA256Test.cs: Convert to NUnit 2.2 format.
45 * HMACSHA384Test.cs: Convert to NUnit 2.2 format. Add test cases from
46 RFC4231 using the correct block size (128) and the "legacy" size (64).
47 * HMACSHA512Test.cs: Convert to NUnit 2.2 format. . Add test cases from
48 RFC4231 using the correct block size (128) and the "legacy" size (64).
49 * KeyedHashAlgorithmTest.cs: Convert to NUnit 2.2 format.
50 * SHA1CryptoServiceProviderTest.cs: Convert to NUnit 2.2 format.
51 * SHA1Test.cs: Convert to NUnit 2.2 format.
52 * SHA256ManagedTest.cs: Convert to NUnit 2.2 format.
53 * SHA256Test.cs: Convert to NUnit 2.2 format.
54 * SHA384ManagedTest.cs: Convert to NUnit 2.2 format.
55 * SHA384Test.cs: Convert to NUnit 2.2 format.
56 * SHA512ManagedTest.cs: Convert to NUnit 2.2 format.
57 * SHA512Test.cs: Convert to NUnit 2.2 format.
59 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
61 * CryptoConfigTest.cs: Adjust line-endings.
62 * CryptoStreamTest.cs: Adjust line-endings.
63 * DESTest.cs: Adjust line-endings.
64 * DSACryptoServiceProviderTest.cs: Adjust line-endings.
65 * DSATest.cs: Adjust line-endings.
66 * RSACryptoServiceProviderTest.cs: Adjust line-endings.
68 2007-01-08 Sebastien Pouliot <sebastien@ximian.com>
70 * DESCryptoServiceProviderTest.cs: Remove test cases for bug #80439
71 as they are more general than DES and the default padding.
72 * SymmetricAlgorithmTransformTest.cs: New. Extensive test cases for
73 bug #80439, all symmtric ciphers (all block size), all mode of
74 operations and all supported padding modes.
76 2007-01-04 Sebastien Pouliot <sebastien@ximian.com>
78 * DESCryptoServiceProviderTest.cs: Update and add new test cases for
81 2007-01-03 Sebastien Pouliot <sebastien@ximian.com>
83 * DESCryptoServiceProviderTest.cs: Add tests for bug #80439 where
84 inputCount is reduced to fit into the output buffer (for any mode).
86 2006-11-24 Sebastien Pouliot <sebastien@ximian.com>
88 * CryptoConfigTest.cs: Added test case for X509Chain.
90 2006-11-16 Sebastien Pouliot <sebastien@ximian.com>
92 * PasswordDeriveBytesTest.cs: Added test case for bug #79499
94 2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
96 * CryptoConfigTest.cs: Added test cases to ensure lower/mixed-case of
97 algorithm names are supported by CreateFromName and MapNameToOID (fix
98 bug #79641). Updated some OID that were changed (well nulled) in the
99 final 2.0 release of MS framework.
101 2006-09-08 Sebastien Pouliot <sebastien@ximian.com>
103 * RSACryptoServiceProviderTest.cs: Added test cases for decoding bad
104 PKCS1 and OAEP padding - both resulting in a CryptographicException.
105 * RSAOAEPKeyExchangeDeformatterTest.cs: Add test case for bad padding.
106 * RSAPKCS1KeyExchangeDeformatterTest.cs: Add test case for bad padding
108 2006-09-05 Sebastien Pouliot <sebastien@ximian.com>
110 * RSACryptoServiceProviderTest.cs: Test case for #79269 where we
111 ensure a CryptographicException (not a NRE) when decrypting without a
114 2006-07-01 Sebastien Pouliot <sebastien@ximian.com>
116 * RSAPKCS1SignatureDeformatterTest.cs: Added test case where
117 SetHashAlgorithm isn't called and the hash algorithm name is derived
118 from the hash instance. From bug #78744 by Diego Mesa Tabares.
120 2006-06-15 Sebastien Pouliot <sebastien@ximian.com>
122 * HashAlgorithmTest.cs: Added new test cases wrt the output buffer
123 used in TransformBlock (e.g. bug #78647). Updated existing test case
124 to work under 2.0 final.
125 * HMACMD5Test.cs: Fix SetUp to allow new inherited test cases to work
127 * HMACRIPEMD160Test.cs: Fix SetUp to allow new inherited test cases to
129 * HMACSHA1Test.cs: Fix SetUp to allow new inherited test cases to
131 * HMACSHA256Test.cs: Fix SetUp to allow new inherited test cases to
133 * HMACSHA384Test.cs: New. Basic test cases that, cheaply, inherits
134 the HashAlgorithm tests.
135 * HMACSHA512Test.cs: New. Basic test cases that, cheaply, inherits
136 the HashAlgorithm tests.
137 * KeyedHashAlgorithmTest.cs: Ensure we're always using the same key
138 (required for new, inherited, test cases). Fix ToString to match
139 KeyedHashAlgorithm (and not an inherited class).
141 2006-06-01 Sebastien Pouliot <sebastien@ximian.com>
143 * RandomNumberGeneratorTest.cs: Don't forget the last run in Runs.
144 Track both 0 and 1 runs. Changed runs ranges to match FIPS140-2 Change
145 Notice #1 (fixes bug #78560). Updated test cases to NUnit 2.2 format.
147 2005-12-15 Sebastien Pouliot <sebastien@ximian.com>
149 * RijndaelTest.cs: Add test cases for cycling key sizes and block
151 * SymmetricAlgorithm2Test.cs: Added test case for re-setting the
152 BlockSize. Keeping the same value *doesn't* change the current IV
153 (while doing the same on the KeySize *does* change the key).
155 2005-11-22 Sebastien Pouliot <sebastien@ximian.com>
157 * DSATest.cs: Added test case where J isn't imported. In this case we
158 don't export (our internally calculated) J and it's also not part of
161 2005-10-21 Sebastien Pouliot <sebastien@ximian.com>
163 * RC2CryptoServiceProviderTest.cs: New. Unit tests specific to this
164 implementation (not algorithm specific but required to match MS
166 * RijndaelManagedTest.cs: Added unit tests specific to this
167 implementation (not algorithm specific but required to match MS
169 * DESCryptoServiceProviderTest.cs: Added unit tests specific to this
170 implementation (not algorithm specific but required to match MS
172 * TripleDESCryptoServiceProviderTest.cs: New. Unit tests specific to
173 this implementation (not algorithm specific but required to match MS
176 2005-09-29 Sebastien Pouliot <sebastien@ximian.com>
178 * HMACSHA1Test.cs: Use the new ctor(byte[],bool) introduced in 2.0 RC
179 in some of the existing tests (under 2.0).
181 2005-04-27 Sebastien Pouliot <sebastien@ximian.com>
183 * DSACryptoServiceProviderTest.cs: Catch UnauthorizedAccessException
184 directly in UseMachineKeyStore (not just wrapped inside a
185 CryptographicException).
186 * RSACryptoServiceProviderTest.cs: Catch UnauthorizedAccessException
187 directly in UseMachineKeyStore (not just wrapped inside a
188 CryptographicException).
190 2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
192 * CryptoConfigTest.cs: Check that ArgumentNullException is throw in
193 EncodeOID for 2.0. Comment test for RSA OID (2.0).
194 * DESTest.cs: Check that null keys throws CryptographicException in
195 IsWeakKey and IsSemiWeakKey for 2.0.
196 * TripleDESTest.cs: Check that null keys throws CryptographicException
197 in IsWeakKey for 2.0.
198 * SymmetricAlgorithm2Test.cs: Check that a FeedbackSize of zero throws
199 a CryptographicException in 2.0.
201 2005-04-18 Sebastien Pouliot <sebastien@ximian.com>
203 * SymmetricAlgorithm2Test.cs: Added a test case where the FeedBackSize
204 is set to 0 before starting encryption.
206 2005-03-30 Sebastien Pouliot <sebastien@ximian.com>
208 * CryptoStreamTest.cs: Added test case when when no padding is used.
210 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
212 * CryptoConfigCas.cs: New. CAS unit tests for CryptoConfig.
213 * CryptoAPITransformCas.cs: New. CAS unit tests for CryptoAPITransform.
215 2005-02-10 Sebastien Pouliot <sebastien@ximian.com>
217 * DSATest.cs: Added unit test for Counter == 0. Actualized test cases
218 for NET_2_0 now that we can inherit from DSA outside corlib.
220 2005-01-30 Sebastien Pouliot <sebastien@ximian.com>
222 * PasswordDeriveBytesTest.cs: Changed [Ignore] to [Category
223 ("NotWorking")] to reduce nunit logs.
225 2005-01-19 Sebastien Pouliot <sebastien@ximian.com>
227 * CryptoStreamTest.cs: Added [ExpectedException] for [Ignored] unit
228 tests that were converted to [Category]
230 2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
232 * CryptoConfigTest.cs: Added new RIPEMD160 hash algorithm and new HMAC
233 algorithms (HMACMD5, HMACRIPEMD160, HMACSHA256, HMACSHA384 and
234 HMACSHA512) to the tests.
235 * DSACryptoServiceProviderTest.cs: Fixed VerifySignatureWithoutKey to
236 ensure that Mono didn't create the key before starting verification.
237 * RSACryptoServiceProviderTest.cs: Added tests for PublicOnly in the
238 constructor tests and for VerifyHash with a null OID.
239 * RSAPKCS1SignatureFormatterTest.cs: Fixed signatures values for
240 SHA256, SHA384 and SHA512 for NET_2_0 profile. The older signatures
241 (working only in Mono) can't be used because 2.0 use new OID for those
242 hash algorithms. Note that this still only works with Mono in 2.0!
244 2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
246 * CryptoStreamTest.cs, DSACryptoServiceProviderTest.cs,
247 HashAlgorithmTest.cs, PKCS1MaskGenerationMethodTest.cs,
248 RSAPKCS1KeyExchangeFormatterTest.cs, ToBase64TransformTest.cs:
249 Use [Category ("NotDotNet")] for tests failing only on the MS runtime
250 (so they are now executed on Mono).
252 2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
254 * TripleDESTest.cs: Testing weak key with null throws a NRE.
256 2005-01-06 Sebastien Pouliot <sebastien@ximian.com>
258 * DESTest.cs: Updated weak key and semi-weak key tests with more
260 * TripleDESTest.cs: Added tests when including a DES weak key into
263 2005-01-04 Sebastien Pouliot <sebastien@ximian.com>
265 * CryptoStreamTest.cs: Undo some previous fixes that have changed from
266 2.0 Nov CTP. Stream chaining was working on Nov CTP but are failing
269 2004-12-23 Sebastien Pouliot <sebastien@ximian.com>
271 * CryptoStreamTest.cs: Fixed tests to execute properly on 2.0 Nov CTP.
272 * DSACryptoServiceProviderTest.cs: Fixed tests to execute properly on
274 * PaddingModeTest.cs: Fixed tests to execute properly on 2.0 Nov CTP.
275 * RSACryptoServiceProviderTest.cs: Fixed tests to execute properly on
278 2004-12-23 Sebastien Pouliot <sebastien@ximian.com>
280 * ProtectedDataTest.cs: Moved in System.Security.dll
281 * ProtectedMemoryTest.cs: Moved in System.Security.dll
283 2004-12-06 Sebastien Pouliot <sebastien@ximian.com>
285 * RSACryptoServiceProviderTest.cs: Adjusted unit tests to show that
286 RSACryptoServiceProvider doesn't support private keys without CRT
287 parameters available - except to import the keys.
289 2004-11-09 Sebastien Pouliot <sebastien@ximian.com>
291 * PasswordDeriveBytesTest.cs: Removed test for 69036. This is a MS
292 bug that will be fixed in 2.0 beta 2.
294 2004-11-03 Sebastien Pouliot <sebastien@ximian.com>
296 * DSACryptoServiceProviderTest.cs: Fixed UseMachineKeyStore not to
297 fail if the key container directory wasn't yet created (root).
298 * PasswordDeriveBytesTest.cs: Added tests for NET_2_0, more tests
299 for all constructors, tests for properties and a test for bug 69036.
300 * RSACryptoServiceProviderTest.cs: Fixed UseMachineKeyStore not to
301 fail if the key container directory wasn't yet created (root).
303 2004-08-31 Nick Drochak <ndrochak@gol.com>
305 * DSACryptoServiceProviderTest.cs:
306 * RSACryptoServiceProviderTest.cs: Feed csc smaller bite sizes.
308 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
310 * DESTest.cs: Added a new test case to check default values.
311 * HMACSHA1.cs: Fixed bad test (and renamed it).
312 * RC2Test.cs: Added a new test case to check default values.
313 * RijndaelTest.cs: Added a new test case to check default values.
314 Convert tests from NUnit 1 to 2.2.
315 * TripleDESTest.cs: Added a new test case to check default values.
316 Convert tests to NUnit 2.2.
318 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
320 * AllTests2.cs: Updated to NUnit 2.2 Assert.
321 * CipherModeTest.cs: New. Tests supported CipherMode for all
322 SymmetricAlgorithm included in the framework (enum contains two more
323 modes that aren't implemented in any Fx version).
324 * CryptoConfigTest.cs: Ajusted new OID (for old names) in Fx 2.0.
325 * CryptoStreamTest.cs: Fixed different reported exception in Fx 2.0.
327 * CspProviderFlagsTest.cs: New. Test the values of the enum.
328 * DSACryptoServiceProviderTest.cs: Added new tests for new public
329 properties and methods added in Fx 2.0. Duplicated test to import a
330 key pair into a disposed instance (works in Fx 2.0). Removed all
331 [Ignore]s in NET_2_0 as the MS class/runtime has been fixed.
332 * DSASignatureDeformatterTest.cs: Converted from NUnit 1 to 2.2. Fixed
333 different reported exception in Fx 2.0.
334 * DSASignatureFormatterTest.cs: Converted from NUnit 1 to 2.2. Fixed
335 different reported exception in Fx 2.0.
336 * HMACRIPEMD160Test.cs: Fixed tests using TransformFinalBlock.
337 * HMACSHA1Test.cs: Fixed tests so they work on both NET_1_1 and
338 NET_2_0 profiles (as HMACSHA1 changed it's base class).
339 * HashAlgorithmTest.cs: Fixed different reported exception in Fx 2.0.
340 Removed [Ignore] in NET_2_0 as the MS class/runtime has been fixed.
341 * MACTripleDESTest.cs: Fixed tests so they work on both NET_1_1 and
343 * PKCS1MaskGenerationMethodTest.cs: Removed [Ignore] in NET_2_0 as the
344 MS class has been fixed.
345 * PaddingModeTest.cs: Added new tests for the two new padding mode
346 introduced in Fx 2.0. Converted to NUnit 2.2.
347 * PasswordDeriveBytesTest.cs: Removed [ExpectedException] for
348 StrangeBehaviour test as it is fixed in Fx 2.0.
349 * RC2Test.cs: Changed exception from CryptographicException to
350 CryptographicUnexpectedOperationException for Fx 1.1/2.0.
351 * RIPEMD160Test.cs: Fixed tests using TransformFinalBlock.
352 * RSACryptoServiceProviderTest.cs: Added new tests for new public
353 properties and methods added in Fx 2.0. Duplicated test to import a
354 key pair into a disposed instance (works in Fx 2.0). Duplicated test
355 to sign with a null OID (Fx 2.0 use SHA1 oid in this case).
356 * RSAOAEPKeyExchangeDeformatterTest.cs: Changed exception for a key
357 exchange with no key (to match Fx 2.0).
358 * RSAOAEPKeyExchangeFormatterTest.cs: Changed exception for a key
359 exchange with no key (to match Fx 2.0).
360 * RSAPKCS1KeyExchangeFormatterTest.cs: Changed exception for a key
361 exchange with no key (to match Fx 2.0). Removed [Ignore] in NET_2_0 as
362 the MS class/runtime has been fixed.
363 * RSAPKCS1SignatureDeformatterTest.cs: Null keys, in constructor or in
364 SetKey method, now throw an ArgumentNullException in Fx 2.0.
365 * RSAPKCS1SignatureFormatterTest.cs: Null keys, in constructor or in
366 SetKey method, now throw an ArgumentNullException in Fx 2.0.
367 * Rfc2898DeriveBytesTest.cs: Typecasted a null as a string.
368 * SymmetricAlgorithm2Test.cs: In Fx 2.0 an empty IV now throws a
369 CryptographicException.
370 * ToBase64TransformTest.cs: Fixed different reported exception in Fx 2.0.
371 Removed [Ignore] in NET_2_0 as the MS class/runtime has been fixed.
373 2004-06-23 Sebastien Pouliot <sebastien@ximian.com>
375 * CryptoStreamTest.cs: Added two tests for bug #60573. One shows that
376 an encryptor doesn't reduce the number of block on Write while the
377 second shows that a decryptor does reduce the number of blocks on
380 2004-06-16 Sebastien Pouliot <sebastien@ximian.com>
382 * SignatureDescriptionTest.cs: Added missing [TestFixture] :( and
383 cases for the previously undocumented .ctor(SecurityElement) - which
384 is now, backwardly, documented in VS.NET 2005.
386 2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
388 * HashAlgorithmTest.cs: Added new tests to check for more exceptions.
390 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
392 * CryptoStreamTest.cs: Added new unit tests for overflows.
393 * FromBase64Transform.cs: Added new unit tests for undocumented
394 exceptions (null, overflows...).
395 * ToBase64TransformTest.cs: Added new unit tests for negatives and
398 2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
400 * CryptoStreamTest.cs, DESCryptoServiceProviderTest.cs,
401 DSACryptoServiceProviderTest.cs, DSATest.cs, FromBase64Transform.cs,
402 HMACRIPEMD160Test.cs, MD5Test.cs, PKCS1MaskGenerationMethodTest.cs,
403 RIPEMD160ManagedTest.cs, RNGCryptoServiceProviderTest.cs,
404 RSACryptoServiceProviderTest.cs, RSAOAEPKeyExchangeDeformatterTest.cs,
405 RSAOAEPKeyExchangeFormatterTest.cs, RSAPKCS1KeyExchangeDeformatterTest.cs,
406 RSAPKCS1KeyExchangeFormatterTest.cs, RSAPKCS1SignatureDeformatterTest.cs,
407 RSAPKCS1SignatureFormatterTest.cs, RSATest.cs: SetUp/TearDown are now
408 public (required for new nunit).
410 2004-05-17 Sebastien Pouliot <sebastien@ximian.com>
412 * RNGCryptoServiceProviderTest.cs: Added new tests to see how the
413 constructor behave with null seeds or if they modify the seed.
415 2004-05-07 Sebastien Pouliot <sebastien@ximian.com>
417 * DSACryptoServiceProviderTest.cs: Added a new unit test for SignData
418 (was badly tested) and simplified test to reduce key pair generations.
419 * PasswordDerivceBytesTest.cs: Added new tests to complete
421 * RSACryptoServiceProviderTest.cs: Added new tests to complete
423 * ToBase64TransformTest.cs: Added a (legal) test where the final
424 transform receive data smaller than it's input block (padding).
426 2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
428 * RC2Test.cs: Converted to NUnit 2. Uncommented some tests that throw
429 exceptions to test exception handling (and get more coverage).
430 * RNGCryptoServiceProviderTest.cs: Updated unit tests for exception
432 * RSAOAEPKeyExchangeDeformatterTest.cs: Updated unit tests to complete
434 * RSAOAEPKeyExchangeFormatterTest.cs: Updated unit tests to complete
436 * RSAPKCS1KeyExchangeDeformatterTest.cs: Updated unit tests to
438 * RSAPKCS1KeyExchangeFormatterTest.cs: Updated unit tests to complete
440 * RSAPKCS1SignatureDeformatterTest.cs: Updated unit tests to complete
442 * RSAPKCS1SignatureFormatterTest.cs: Updated unit tests to complete
444 * RSATest.cs: Updated unit tests for importing XML key pairs.
445 * SHA256Test.cs: Corrected Setup attribtue (was [Test]).
446 * SignatureDescriptionTest.cs: Removed unimplemented constructor from
447 tests. Converted to NUnit2.
448 * SymmetricAlgorithm2Test.cs: New. Non generated unit test for better
449 coverage (like exception testing).
450 * ToBase64TransformTest.cs: New. Unit tests to complete coverage of
452 * TripleDESTest.cs: New. Unit tests to complete coverage of TripleDES.
454 2004-04-29 Sebastien Pouliot <sebastien@ximian.com>
456 * DSACryptoServiceProviderTest.cs: New unit tests fo better coverage.
457 * FromBase64Transform.cs: New unit tests for better coverage.
458 * HashAlgorithmTest.cs: New unit tests for better coverage.
459 * HMACSHA1Test.cs: New unit tests for better coverage. Updated to
461 * KeyedHashAlgorithmTest.cs: Coverage already complete. Updated to
463 * SHA1Test.cs: Coverage already complete. Updated to NUnit2.
464 * SHA1CryptoServiceProviderTest.cs: Coverage almost complete. Updated
466 * SHA256Test.cs: Coverage already complete. Updated to NUnit2.
467 * SHA256ManagedTest.cs: Coverage already complete. Updated to NUnit2.
468 * SHA384Test.cs: Coverage already complete. Updated to NUnit2.
469 * SHA384ManagedTest.cs: Coverage almost complete. Updated to NUnit2.
470 * SHA512Test.cs: Coverage already complete. Updated to NUnit2.
471 * SHA512ManagedTest.cs: Coverage almost complete. Updated to NUnit2.
473 2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
475 * DESCryptoServiceProviderTest.cs: New. Completes coverage for
476 DESCryptoServiceProvider class. Calls the FIPS 81 tests for this
478 * DESTest.cs: Added test vectors from FIPS 81.
480 2004-04-26 Sebastien Pouliot <sebastien@ximian.com>
482 * DESTest.cs: New. Unit tests for DES including checks for weak and
483 semi-weak keys (with and without parity applied on keys). Completes
484 coverage for DES class.
486 2004-04-02 Bernie Solomon <bernard@ugsolutions.com>
488 * PasswordDeriveBytesTest.cs: Add ToInt32LE so
489 it works on big endian machines.
491 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
493 * FromBase64Transform.cs: Two new unit tests showing that the
494 transform doesn't care if it's data is invalid base64. Convert class
497 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
499 * FromBase64Transform.cs: Converted to NUnit2 format. New unit tests
500 for properties, Dispose, Reuse and ignored characters.
502 2004-03-09 Atsushi Enomoto <atsushi@ximian.com>
504 * DSATest.cs : Added ToXmlString test that checks if input without
505 Seed and PgenCounter elements pass or not.
507 2004-02-12 Sebastien Pouliot <spouliot@videotron.ca>
509 * CryptoStreamTest.cs: Added new tests for [From|To]Base64Transform
510 (InputBlockSize != OutputBlockSize) and for cascading CryptoStreams.
512 2004-02-09 Sebastien Pouliot <sebastien@ximian.com>
514 * DSACryptoServiceProvider.cs: Added new unit tests for key pair
516 * RSACryptoServiceProvider.cs: Added new unit tests for key pair
519 2004-02-04 Sebastien Pouliot <spouliot@videotron.ca>
521 * CryptoStreamTest.cs: Added many more tests for every problem found
522 with CryptoStream using code samples from the internet.
524 2003-12-15 Sebastien Pouliot <spouliot@videotron.ca>
526 * CryptoConfigTest.cs: Converted unit tests to NUnit2.
527 * PaddingModeTest.cs: New. Unit tests to check every padding modes for
528 symmetric algorithms.
529 * MACTripleDESTest.cs: Updated unit tests for NUnit2 and to work for
530 both 1.0 and 1.1 framework.
532 2003-11-13 Sebastien Pouliot <spouliot@videotron.ca>
534 * ProtectedDataTest.cs: New. Unit tests for ProtectedData (1.2).
535 * ProtectedMemoryTest.cs: New. Unit tests for ProtectedMemory (1.2).
537 2003-11-11 Sebastien Pouliot <spouliot@videotron.ca>
539 * Rfc2898DeriveBytesTest.cs: More tests for Reset and keys longer than
542 2003-11-10 Sebastien Pouliot <spouliot@videotron.ca>
544 * Rfc2898DeriveBytesTest.cs: New. Unit tests for Rfc2898DeriveBytes
545 and test vectors from RFC3211.
547 2003-11-09 Sebastien Pouliot <spouliot@videotron.ca>
549 * HMACMD5Test.cs: New. Unit test for HMAC-MD5 with test vectors from
551 * HMACRIPEMD160Test.cs: New. Unit test for HMAC-RIPEMD160 with test
552 vectors from http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html.
553 * HMACSHA256Test.cs: New. Unit test for HMAC-SHA256.
555 2003-11-08 Sebastien Pouliot <spouliot@videotron.ca>
557 * RIPEMD160Test.cs: New. Unit test using RIPEMD160 test vectors.
558 * RIPEMD160Managed.cs: New. Unit tests running RIPEMD160Test using the
559 RIPEMD160Managed implementation.
561 2003-10-04 Sebastien Pouliot <spouliot@videotron.ca>
563 * CryptoStreamTest.cs: Added test case from bugzilla #49323 from
564 Carlos Guzmán Álvarez and some small tests for empty stream with
565 different PaddingMode (as found by Lluis Sanchez Gual).
567 2003-08-05 Sebastien Pouliot <spouliot@videotron.ca>
569 * CryptoStreamTest.cs: Added test case from bugzilla #40689 from
572 2003-07-31 Sebastien Pouliot <spouliot@videotron.ca>
574 * CryptoStreamTest.cs: New. Very basic test for CryptoStream + the
575 test case from bugzilla #46143 from Joerg Rosenkranz.
576 * RSACryptoServiceProviderTest.cs: Fixed some exceptions that are
577 different from .NET 1.0 and 1.1.
579 2003-07-05 Sebastien Pouliot <spouliot@videotron.ca>
581 * DSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear
582 and better test coverage (based on Zoltan's logs).
583 * DSATest.cs: Converted to NUnit2 format. Added new tests for better unit
584 test coverage (import incomplete public keys).
585 * RSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear
586 and better test coverage (based on Zoltan's logs).
587 * RSATest.cs: Converted to NUnit2 format. Added new tests for better unit
588 test coverage (import incomplete public keys).
590 2003-06-23 Nick Drochak <ndrochak@gol.com>
592 * MACTripleDESTest.cs: Adjust for .NET 1.1.
594 2003-06-11 Sebastien Pouliot <spouliot@videotron.ca>
596 * AllTests2.cs: Converted tests to NUnit2 format.
597 * RSACryptoServiceProviderTest.cs: Converted tests to NUnit2 format.
598 * RSAPKCS1KeyExchangeDeformatterTest.cs: Converted tests to NUnit2 format.
599 * RSAPKCS1KeyExchangeFormatterTest.cs: Converted tests to NUnit2 format.
600 * RSAPKCS1SignatureDeformatterTest.cs: Converted tests to NUnit2 format.
601 * RSAPKCS1SignatureFormatterTest.cs: Converted tests to NUnit2 format.
603 2003-05-29 Sebastien Pouliot <spouliot@videotron.ca>
605 * PKCS1MaskGenerationMethodTest.cs: Added [Ignore] to vector test
606 (as it's result isn't valid on both framework 1.0 and 1.1).
607 * RSAPKCS1SignatureDeformatter.cs: Splitting the test for NUnit2
608 cloned the previous error into many more tests. Hopefully fixed.
610 2003-05-28 Sebastien Pouliot <spouliot@videotron.ca>
612 * RSAPKCS1SignatureDeformatter.cs: Fixed (well I hope so) a test
613 which doesn't throw the same exception under 1.1. Also converted
614 the tests to NUnit2 format.
616 2003-05-12 Sebastien Pouliot <spouliot@videotron.ca>
618 * PKCS1MaskGenerationMethodTest.cs: Uncommented PKCS#1 v.2.1 vector
619 unit test (will work on Mono but fails with MS implementation).
620 * RSAOAEPKeyExchangeDeformatterTest.cs: Updated tests vectors for
621 both Mono and MS (under Windows XP) generated OAEP results.
622 * RSAOAEPKeyExchangeFormatterTest.cs: Update exception handling.
624 2003-04-17 Nick Drochak <ndrochak@gol.com>
626 * DSATest.cs: Use nunit version 2 style to test throw.
627 * HMACSHA1Test.cs: Eliminate compiler warning.
629 2003-03-04 Sebastien Pouliot <spouliot@videotron.ca>
631 * CryptoConfigTest.cs: Added new tests for algorithms
632 documented in book ".NET Framework Security".
634 2003-02-03 Sebastien Pouliot <spouliot@videotron.ca>
636 * PasswordDeriveBytesTest.cs: Added some new tests to complete
638 * RSAPKCS1SignatureDeformatterTest.cs: Added test for null and
639 invalid hash algorithm.
641 2003-01-19 Sebastien Pouliot <spouliot@videotron.ca>
643 * HMACSHA1Test.cs: Added tests for constructors.
644 * MACTripleDESTest.cs: Added tests for constructors.
646 2003-01-12 Sebastien Pouliot <spouliot@videotron.ca>
648 * HashAlgorithmTest.cs: Added new test for null streams.
649 * MACTripleDESTest.cs: New. Test suite par MAC using 3DES.
651 2002-12-21 Nick Drochak <ndrochak@gol.com>
653 * all: make tests build and run under nunit2
655 2002-12-21 Nick Drochak <ndrochak@gol.com>
657 * AllTests2.cs: Helper file for unit tests
659 2002-11-20 Sebastien Pouliot <spouliot@videotron.ca>
661 * RSAPKCS1SignatureDeformatterTest.cs: Removed patch from Nick -
662 as it doesn't seems to work on my system and the exception behavior
663 isn't logical (only MD5 not SHA1, ...).
665 2002-11-18 Nick Drochak <ndrochak@gol.com>
667 * RSAPKCS1SignatureDeformatterTest.cs: MS .NET throws an exception when
668 verifying a bad signature. Test for that.
670 2002-11-17 Sebastien Pouliot <spouliot@videotron.ca>
672 * AllTests.cs: Added a common RSA keypair for tests and all RSA
673 suites for new tests.
674 * RSACryptoServiceProviderTest.cs: Include tests for keygen,
675 import/export and signature (no encryption yet).
676 * RSAOAEPKeyExchangeDeformatterTest.cs: Compare results with
677 pre-generated vectors from Mono/Windows (cannot yet compare
678 with CryptoAPI/Windows as OAEP isn't available on my system).
679 * RSAOAEPKeyExchangeFormatterTest.cs: Test that the Formatter output
680 is compatible with the Deformatter.
681 * RSAPKCS1KeyExchangeDeformatterTest.cs: Compare results with
682 pre-generated vectors from Mono/Windows and CryptoAPI/Windows.
683 * RSAPKCS1KeyExchangeFormatterTest.cs: Test that the Formatter output
684 is compatible with the Deformatter.
685 * RSAPKCS1SignatureDeformatterTest.cs: Compare results with
686 pre-generated vectors from Mono/Windows and CryptoAPI/Windows.
687 * RSAPKCS1SignatureFormatterTest.cs: Test that the Formatter output
688 is compatible with the Deformatter.
690 2002-11-16 Sebastien Pouliot <spouliot@videotron.ca>
692 * AllTests.cs: Added suites for DSASignatureDeformatter,
693 DSASignatureFormatter.
694 * CryptoConfigTest.cs: Tests new URLs. This test will fail
695 if System.Security.dll isn't present (or not yet compiled).
696 * DSACryptoServiceProviderTest.cs: New. Key generation (limited
697 because it's too slow), Import/Export, Signature and Verification.
698 * DSASignatureDeformatterTest.cs: New. Test signature verification.
699 * DSASignatureFormatterTest.cs: New. Test signature creation.
700 * DSATest.cs: Comment DSA-derived test class as DSA constructor
701 is internal. Reworked the test suite.
702 * SignatureDescriptionTest.cs: Added tests for
703 DSASignatureDescription and RSAPKCS1SHA1SignatureDescription.
705 2002-11-02 Sebastien Pouliot <spouliot@videotron.ca>
707 * AllTests.cs: Added suites for SignatureDescription and
708 activated suites for SHA384Managed and SHA512Managed.
709 * SignatureDescriptionTest.cs: New. Basic tests (because I don't
710 know the context in which the class is used).
712 2002-10-28 Sebastien Pouliot <spouliot@videotron.ca>
714 * AllTests.cs: Added test suites for SHA256, SHA384 and SHA512
715 (last two partly commented until implementation is commited).
716 * SHA256Test.cs: New. Generic FIPS180-2 tests for SHA-256.
717 * SHA256ManagedTest.cs: New. Implementation tests (inherits
719 * SHA384Test.cs: New. Generic FIPS180-2 tests for SHA-384.
720 * SHA384ManagedTest.cs: New. Implementation tests (inherits
722 * SHA512Test.cs: New. Generic FIPS180-2 tests for SHA-512.
723 * SHA512ManagedTest.cs: New. Implementation tests (inherits
726 2002-10-25 Sebastien Pouliot <spouliot@videotron.ca>
728 * AllTests.cs: Added suite for PasswordDeriveBytes
729 * PasswordDeriveBytesTest.cs: New. Tests against pre-generated vectors -
730 only works for short runs (keys < HashSize) not long runs
732 2002-10-20 Sebastien Pouliot <spouliot@videotron.ca>
734 * AllTests.cs: Added suite for Rjindael
735 * RjindaelTest.cs: New. Test vectors from FIPS PUB 197 appendix.
737 2002-10-19 Sebastien Pouliot <spouliot@videotron.ca>
739 * AllTests.cs: Renabled most tests after commenting all code causing a
740 cyclic dependency (corlib->System.Xml->corlib). Some tests will fail
741 until commented code is replaced.
742 * SymmetricAlgorithm.cs: New (189) generated test cases for all default
743 algorithm implementation, all cipher modes, all padding modes, all key
744 sizes, all block sizes, feedback...
745 * PKCS1MaskGenerationMethodTest.cs: Commented vector test. Added new
746 tests to check for various exceptions
748 2002-10-16 Nick Drochak <ndrochak@gol.com>
750 * CryptoConfigTest.cs (TestCreateFromName): Disable tests for
751 algorithms that aren't in the build yet.
753 2002-10-16 Nick Drochak <ndrochak@gol.com>
755 * AllTests.cs: Disable tests that use components were are excluding
759 2002-10-14 Sebastien Pouliot <spouliot@videotron.ca>
761 * AllTests.cs: Added suite for PKCS1MaskGenerationMethod
762 * PKCS1MaskGenerationMethodTest.cs: New. Test work as per PKCS#1 but
763 result isn't the same as MS implementation !?! is MS using this class ?
765 2002-10-13 Sebastien Pouliot <spouliot@videotron.ca>
767 * AllTests.cs: Added suite for HashAlgorithm, KeyedHashAlgorithm and
769 * HashAlgorithmTest.cs: New. Test for Create and Clear
770 * KeyedHashAlgorithmTest.cs: New. Test for Create and key assignation
771 * HMACSHA1Test.cs: New. Test vectors from FIPS 198 and RFC2202
773 2002-10-12 Sebastien Pouliot <spouliot@videotron.ca>
775 * AllTests.cs: Added suite for RandomNumberGenerator, SHA1 and
776 SHA1CryptoServiceProvider
777 * RandomNumberGeneratorTest.cs: New. Tests for Create and generic
778 random quality tests (FIPS140-2)
779 * SHA1Test.cs: New. Tests for Create and generic SHA1 tests (FIPS180-1)
780 * SHA1CryptoServiceProviderTest.cs: New. Inherited SHA1Tests tests +
783 2002-10-10 Sebastien Pouliot <spouliot@videotron.ca>
785 * DSATest.cs: Added non-abstract DSA class to test To/FromXmlString()
786 * RSATest.cs: Added non-abstract RSA class to test To/FromXmlString()
787 * AllTests.cs: Added DSATest.cs and RSATest.cs in suite
789 2002-10-09 Sebastien Pouliot <spouliot@videotron.ca>
791 * CryptoConfigTest.cs: New tests
792 * AllTests.cs: Added CryptoConfigTest in suite
794 2002-10-05 Andrew Birkett <andy@nobugs.org>
796 * RC2Test.cs: New test. Only three cases are enabled - the other
797 five work fine under mono, but fail under MS corlib, so I've
800 * AllTests.cs: Added RC2Test.
802 2002-09-23 Andrew Birkett <andy@nobugs.org>
804 * RijndaelManagedTest.cs: Fixed initialization order problem
805 to match MS behaviour.
807 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
809 * MD5Test.cs: new test from Eduardo García Cebollero (kiwnix@yahoo.es).
810 * AllTests.cs: added new test.