Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-07-14Security fix for CVE-2009-0217Sebastien Pouliot
svn path=/trunk/mcs/; revision=137886
2009-06-262009-06-26 Robert Jordan <robertj@gmx.net>Robert Jordan
* *.cs: Upgrade to new NUnit style. svn path=/trunk/mcs/; revision=136968
2009-06-262009-06-26 Robert Jordan <robertj@gmx.net>Robert Jordan
* *.cs: Upgrade to new NUnit style. svn path=/trunk/mcs/; revision=136962
2008-11-022008-11-01 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* EncryptedXmlTest.cs: Add null check test cases for many methods. * SignedXmlTest.cs: New. Check that GetIdElement returns null when either parameter is null. * TransformTest.cs: New. Check null check behavior. * XmlDecryptionTransformTest.cs: New. Check null check behavior. * XmlDsigC14NTransformTest.cs: Confirm MS.NET NRE behavior inside GetDigestedOutput method. * XmlDsigExcC14NTransformTest.cs: Confirm MS.NET NRE behavior inside GetDigestedOutput method. svn path=/trunk/mcs/; revision=117620
2008-11-022008-11-01 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* CmsRecipientCollectionTest.cs: Verify NRE behavior of ctor. svn path=/trunk/mcs/; revision=117619
2008-10-14* XmlDsigXsltTranformTest.cs: Added test for .ctor (bool).Gert Driesen
* XmlDsigEnvelopedTransformTest.cs: Added test for .ctor (bool). Use Assert class. Improved properties tests. * XmlDsigC14TransformTest.cs: Added test for .ctor (bool). * XmlDsigExcC14NTransformTest.cs: Added .ctor tests and added asserts IncludsiveNamespacesPrefixList * XmlDsigExcC14NWithCommentsTransformTest.cs: Added basic .ctor and properties tests. * XmlDsigC14NWithCommentsTransformTest.cs: Fixed line endings. * XmlLicenseTransformTest.cs: Added basic .ctor and properties tests. * XmlDsigBase64Transform.cs: Use constant for Algorithm namespace. * XmlDsigExcC14NTransform.cs: Fixed ctors to use WithComments algorithm if includeComments is true. Assign includeNamespacesPrefixList to instance field. * XmlDsigExcC14NWithCommentsTransform.cs: Remove unnecessary assignment to Algorithm now that base ctor is fixed. * XmlDsigC14NWithCommentsTransform.cs: Remove unnecessary assignment to Algorithm now that base ctor is fixed. * XmlDsigC14NTransform.cs: In default ctor, just invoke .ctor (bool). In .ctor (bool), assign WithComments algorithm if includeComments is true. Use constants for Algorithm namespace. * XmlDsigEnvelopedSignatureTransform.cs: Use constant for Algorithm namespace. * XmlDsigXPathTransform.cs: Use constant for Algorithm namespace. * XmlDsigXsltTransform.cs: Use constant for Algorithm namespace. * XmlLicenseTransform.cs: Assign Algorithm in ctor. * XmlSignature.cs: Added constant for XmlLicenseTransform algorithm. * System.Security_test.dll.sources: Added XmlLicenseTransformTest.cs and XmlDsigExcC14NWithCommentsTransformTest.cs. svn path=/trunk/mcs/; revision=115803
2008-10-082008-10-08 Zoltan Varga <vargaz@gmail.com>Zoltan Varga
* Makefile */Makefile build/profiles/*.make: Rename the 'default' profile to 'net_1_1'. svn path=/trunk/mcs/; revision=115166
2008-09-172008-09-17 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* SignedXmlTest.cs: Add test cases for HMACSHA[256|384|512] and HMACRIPEMD160 which are supported in 2.0. Based on test case from Fredrik Olsson on bug #425724. svn path=/trunk/mcs/; revision=113345
2008-08-14* KeyInfoX509DataTest.csGert Driesen
* SignedInfoTest.cs * XmlDsigC14NTransformTest.cs * XmlDsigExcC14NTransformTest.cs * XmlDsigC14NWithCommentsTransformTest.cs * ReferenceTet.cs * SignatureTest.cs: Fixed line endings. svn path=/trunk/mcs/; revision=110463
2008-05-262008-05-25 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* XmlDsigBase64TransformTest.cs: Add test case for InputTypes * XmlDsigExcC14NTransformTest.cs: Add test case for InputTypes svn path=/trunk/mcs/; revision=104038
2007-03-222007-03-22 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlCanonicalizer.cs : fill prefixes which should be actually written. It must be actually done before canonicalization (so that node list filtering still takes spec-conformant effect). * Transform.cs, XmlDsigC14NTransform.cs, XmlDsigExcC14NTransform.cs : handle PropagatedNamespaces. * XmlDsigC14NTransformTest.cs : added test for xmlns attribute completion for input nodes, as well as test for PropagatedNamespaces (ignored so far). svn path=/trunk/mcs/; revision=74812
2007-01-252007-01-25 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* SignedXml.cs : for DataObject, copy namespaces in Data into Object element itself. I haven't solved the puzzle on why it is needed though. * SignedXmlTest.cs : enable SignElementWithPrefixedNamespace(). svn path=/trunk/mcs/; revision=71658
2007-01-232007-01-23 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* SignedXmlTest.cs : fixed ambiguous variable name in previous tests. svn path=/trunk/mcs/; revision=71530
2007-01-232007-01-23 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlCanonicalizer.cs : it should be reset before being reused. * SignedXmlTest.cs : run the transformation in yesterday's test twice. svn path=/trunk/mcs/; revision=71529
2007-01-222007-01-22 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlDsigExcC14NTransformTest.cs, XmlDsigC14NTransformTest.cs, SignedXmlTest.cs : added some more tests which blocks indigo. svn path=/trunk/mcs/; revision=71462
2007-01-172007-01-17 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlCanonicalizer.cs : don't output default namespace when the node's namespace is not empty. Check "visibly utilized" namespace nodes in exc-c14n. Also, in exc-c14n, rendered namespaces are not written. Added InclusiveNamespaces PrefixList field (not in use yet). * XmlDsigExcC14NTransform.cs : re-imported from XmlDsigC14NTransform.cs. * System.Security_test.dll.sources : added XmlDsigExcC14NTransformTest.cs. * XmlDsigExcC14NTransformTest.cs : new tests, mostly copied from non-exc test. * xmldsig.cs : exc-c14n tests could be run under 2.0 profile (and they are not working correctly yet). * Makefile : Added net_2_0 profile support. svn path=/trunk/mcs/; revision=71220
2007-01-122007-01-12 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* SignedXml.cs : when there is an envelope document and no referenced DataObject was found, then look for the target element from the envelope. * SignedXmlTest.cs : added DataReferenceToNonDataObject(). * xmldsig.cs : signature-big.xml also depends on the input document. svn path=/trunk/mcs/; revision=70919
2007-01-122007-01-12 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* DataObject.cs : don't clear attributes or children unnecessarily. * DataObjectTest.cs : test to make sure to not clear attributes or children unnecessarily. svn path=/trunk/mcs/; revision=70916
2007-01-122007-01-12 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* SignedXml.cs : actually ComputeSignature() itself does not raise silly exception. It always use CryptographicException. Added another check; malformed reference object. * SignedXmlTest.cs : fixed ComputeSignatureNoSigningKey() to not expect silly exception. Added test for malformed reference. svn path=/trunk/mcs/; revision=70911
2007-01-122007-01-12 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* SignedXml.cs : ComputeSignature() should check empty key. * SignedXmlTest.cs : added ComputeSignatureNoSigningKey(). svn path=/trunk/mcs/; revision=70909
2006-12-152006-12-15 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* PkitsTest.cs: New. Common test code to use the PKITS test data. * Pkits_4_01_SignatureVerification.cs: New. Test signature on S/MIME using the PKITS test data (if available). svn path=/trunk/mcs/; revision=69541
2006-11-082006-11-08 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* X509Certificate2UICas.cs: New (2.0) CAS tests for X509Certificate2UI * X509Certificate2UITest.cs: New (2.0) unit tests for X509Certificate2UI svn path=/trunk/mcs/; revision=67534
2006-11-012006-11-01 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* SignedXmlTest.cs : added Ignore for failing wrong test by design. svn path=/trunk/mcs/; revision=67193
2006-10-112006-10-11 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* SignedXml.cs : when SigningMethod does not match the algorithm that the key actually supports, it raises an error. * SignedXmlTest.cs : added a test for signature method mismatch. svn path=/trunk/mcs/; revision=66535
2006-09-26* SignedXmlTest.cs: Added tests for bug #79454 and #79483 (marked NotWorking).Gert Driesen
Set eol-style to native. svn path=/trunk/mcs/; revision=65894
2006-09-222006-09-22 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* EncryptedXml.cs : use Padding member instead of const ISO10126 (though I doubt it should be there). Use it in DecryptData(). * EncryptedXmlTest.cs, EncryptedXmlSample3.xml : another decryption test for padding sanity. * Makefile: Added Test/S.S.C.Xml/EncryptedXmlSample3.xml to EXTRA_DISTFILES. svn path=/trunk/mcs/; revision=65804
2006-09-222006-09-21 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* EncryptedXml.cs : implement orthodox padding on encryption. * EncryptedXmlTest.cs : added roundtrip sample i.e. encryption test. svn path=/trunk/mcs/; revision=65800
2006-09-212006-09-21 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* EncryptedXml.cs : Handle orthodox padding (xmlenc spec section 5.2). However, like EncryptedXmlSample1, it might not exist, so make it optional. * EncryptedXmlTest.cs, EncryptedXmlSample2.xml : Added another case that expects correct padding processing which is specified in W3C xmlenc spec section 5.2. * Makefile: Added Test/S.S.C.Xml/EncryptedXmlSample2.xml to EXTRA_DISTFILES. svn path=/trunk/mcs/; revision=65766
2006-09-212006-09-21 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* EncryptedXmlTest.cs : removed problematic culture change (was for debugging). svn path=/trunk/mcs/; revision=65760
2006-09-212006-09-21 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* EncryptedXml.cs : True fix for DecryptData(). It indeed uses block size (or possibly IV size) in Transform(), but only for stripping the heading n bytes garbage. * EncryptedXmlTest.cs : new file. Added practical example. * EncryptedXmlSample1.xml, sample.pfx : support files for the above test. * System.Security_test.dll.sources: added EncryptedXmlTest.cs. * Makefile: added some extra test support files as EXTRA_DISTFILES. svn path=/trunk/mcs/; revision=65750
2006-09-062006-09-06 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* CipherReference.cs, EncryptedReference.cs : unify duplicate code. Remove incorrect name check in the latter class so that it works for DataReference and KeyReference as well. * DataReferenceTest.cs : new test. * System.Security_test.dll.sources: added DataReferenceTest.cs. svn path=/trunk/mcs/; revision=64990
2006-09-05Converted source files to UTF-8 (without byte order mark). Use UTF-8 as the ↵Kornél Pál
default encoding for compilers. svn path=/trunk/mcs/; revision=64941
2005-10-202005-10-20 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* CryptographicAttributeObjectCas.cs: New. CAS unit tests. * CryptographicAttributeObjectEnumeratorCas.cs: New. CAS unit tests. * CryptographicAttributeObjectEnumeratorTest.cs: New. Unit tests. * CryptographicAttributeObjectCollectionCas.cs: New. CAS unit tests. * CryptographicAttributeObjectCollectionTest.cs: New. Unit tests. * ProtectedDataCas.cs: New. CAS unit tests. * ProtectedDataTest.cs: Reworked/complete unit tests. * ProtectedMemoryCas.cs: New. CAS unit tests. * ProtectedMemoryTest.cs: Reworked/complete unit tests. svn path=/trunk/mcs/; revision=51996
2005-09-272005-09-27 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* KeyInfoX509DataTest.cs: Fixed tests case for 2.0 RC. * XmlDsigXPathTransformTest.cs: Fixed tests case for 2.0 RC. svn path=/trunk/mcs/; revision=50853
2005-09-272005-09-27 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* Pkcs9AttributeTest.cs: Added new tests case for new overriden CopyFrom (added in 2.0 RC). * Pkcs9ContentTypeTest.cs: Fixed tests case for 2.0 RC. * Pkcs9MessageDigestTest.cs: Fixed tests case for 2.0 RC. svn path=/trunk/mcs/; revision=50852
2005-09-26In Test/System.Security.Cryptography:Sebastien Pouliot
2005-09-26 Sebastien Pouliot <sebastien@ximian.com> * Asn*.cs, Oid*.cs: Moved to System.dll In Test/System.Security.Permissions: 2005-09-26 Sebastien Pouliot <sebastien@ximian.com> * StorePermissionAttributeTest.cs: Moved in System.dll In Test/System.Security.Cryptography.X509Certificates: 2005-09-26 Sebastien Pouliot <sebastien@ximian.com> * All tests moved to System.dll assembly. In System.Security.Cryptography: 2005-09-26 Sebastien Pouliot <sebastien@ximian.com> * Asn*.cs, Oid*.cs: Moved to System.dll In System.Security.Permissions: 2005-09-26 Sebastien Pouliot <sebastien@ximian.com> * Store*.cs: Moved in System.dll In .: 2005-09-26 Sebastien Pouliot <sebastien@ximian.com> * System.Security.dll.sources: Remove all X509 related classes. * System.Security_test.dll.sources: Remove all X509 related tests. * System.Security.Cryptography.X509Certificates/*.cs: moved to System.dll assembly. * Test/System.Security.Cryptography.X509Certificates/*.cs: moved to System.dll assembly. In System.Security.Cryptography.X509Certificates: 2005-09-26 Sebastien Pouliot <sebastien@ximian.com> * All classes moved in System.dll svn path=/trunk/mcs/; revision=50770
2005-09-222005-09-22 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* DataProtectionPermissionAttributeTest.cs: Removed *Choice security actions. * StorePermissionAttributeTest.cs: Removed *Choice security actions. svn path=/trunk/mcs/; revision=50477
2005-06-27more executable bitsBen Maurer
svn path=/trunk/mcs/; revision=46569
2005-06-27remove .cvsignore from everywhere, as it is useless on svnBen Maurer
svn path=/trunk/mcs/; revision=46564
2005-06-27remove executable bit from changelogsBen Maurer
svn path=/trunk/mcs/; revision=46563
2005-06-27remove svn:executable from .cs filesBen Maurer
svn path=/trunk/mcs/; revision=46562
2005-05-312005-05-31 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlDsigC14NWithCommentsTransformTest.cs : added File.Delete() sanity check on CleanUp(). svn path=/trunk/mcs/; revision=45261
2005-05-182005-05-18 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* DataProtectionPermissionAttributeTest.cs: Added tests to check for individual removal of flags. * StorePermissionAttributeTest.cs: New. Unit tests for StorePermissionAttribute. svn path=/trunk/mcs/; revision=44672
2005-05-052005-05-05 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* ReferenceTest.cs: Changed AddAllTransforms from Ignored to category NotDotNet as the test seems to fail only under NUnit. svn path=/trunk/mcs/; revision=44077
2005-05-042005-05-04 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* AssertCrypto.cs: Added method to compare somewhat different but ok XML fragments (when the xmlns for xmldsig is on a different element). * KeyInfoTest.cs, KeyInfoRetrievalMethodTest.cs, ReferenceTest.cs, SignedInfoTest.cs, SignatureTest.cs, SignedXmlTest.cs, XmlDsigC14NTransformTest.cs, XmlDsigC14NWithCommentsTransformTest.cs, XmlDsigXPathTransformTest.cs: Make all tests works under Fx 2.0 beta 2 svn path=/trunk/mcs/; revision=44035
2005-05-032005-05-03 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* ContentInfoTest.cs: Addd test cases for data, envelopedData and other "bad" cases. * EnvelopedCmsTest.cs: Added [Category ("NotWorking")] to tests for which Mono isn't complete enough to execute. * KeyTransRecipientInfoTest.cs: Added test for EncryptedKey (reference not copy). * Pkcs9ContentTypeTest.cs: Removed FIXME (fixed in beta2). Added CopyFrom tests. * Pkcs9DocumentDescriptionTest.cs: Removed FIXME (fixed in beta2). * Pkcs9MessageDigestTest.cs: Added CopyFrom tests. * SignerInfoCollectionTest.cs: New. Tests for SignerInfoCollection. * SignerInfoTest.cs: Mark some method/data internal so they can be reused for other tests. svn path=/trunk/mcs/; revision=43962
2005-05-022005-05-02 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* SignedXmlTest.cs: AddObject and AddReference now throws ArgumentNullException in 2.0. * XmlDsigC14NWithCommentsTransformTest.cs: InputType was fixed in 2.0. * XmlDsigC14NTransformTest.cs: InputType was fixed in 2.0. * XmlDsigXsltTransformTest.cs: Fixed tests for 2.0, InputType, Empty XSLT and invalid XSLT (new exception). svn path=/trunk/mcs/; revision=43877
2005-04-282005-04-28 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* XmlDsigXPathTransformTest.cs: Marked FunctionHereObsolete (ignored) and LoadInputAsXmlNodeList (failure) as [Category("NotWorking")] as they both pass under MS 1.x runtime (for bad and/or good reasons). svn path=/trunk/mcs/; revision=43740
2005-04-272005-04-27 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* ProtectedDataTest.cs: Updated to NUnit 2.2 API to use Ignore it the platform doesn't support ProtectedData. * ProtectedMemoryTest.cs: Updated to NUnit 2.2 API to use Ignore it the platform doesn't support ProtectedData. svn path=/trunk/mcs/; revision=43653
2005-04-262005-04-26 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* AlgorithmIdentifierTest.cs: Complete some test cases. Updated to NUnit 2.2 API. * SignedCmsTest.cs: Added [Ignore] to 3 tests that now also fails on beta2. svn path=/trunk/mcs/; revision=43616