2008-01-02 Sebastien Pouliot <sebastien@ximian.com>
[mono.git] / mcs / class / corlib / System.Security / ChangeLog
old mode 100755 (executable)
new mode 100644 (file)
index f9ac809..2fa4df4
@@ -1,3 +1,155 @@
+2008-01-02  Sebastien Pouliot  <sebastien@ximian.com> 
+
+       * SecureString.cs: Fix InsertAt buffer calculation. Fix #350820
+
+2008-01-02  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SecureString.cs: Don't forget length in Copy. Fix #350840
+
+2007-11-07  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SecurityElement.cs :
+         set_Text() should unescape the input string. get_Text() should
+         return unescaped string. It also applies to attribute value.
+         ToString() should return valid (escaped) XML.
+
+2007-10-14  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * SecurityElement.cs: In ctors, do not assign to Tag property to
+       ensure exception message match that of MS. In Tag property, set name
+       of parameter in ArgumentNullException and do not filter out
+       namespace prefixes. Modified Text property to allow null values
+       after change to IsValidText that no longer considers null value as
+       valid. Avoid NRE in Escape.
+
+2007-08-28  Mark Probst  <mark.probst@gmail.com>
+
+       * SecurityManager.cs: Changed method argument of
+       LinkDemandSecurityException to IntPtr and removed the assembly
+       argument (which can be gotten to via the method), to avoid having
+       to embed reference object values in the native code.
+
+2007-08-20  Mark Probst  <mark.probst@gmail.com>
+
+       * SecurityManager.cs: Changed arguments of MethodAccessException
+       to IntPtr, to avoid having to embed reference object values in the
+       native code.
+
+2007-08-20  Mark Probst  <mark.probst@gmail.com>
+
+       * SecurityManager.cs: Added two methods needed for CoreCLR
+       security.
+
+2007-08-08  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SecureString.cs : commenting out internal call. It somehow seems
+         to cause timeout on the buildbots :(
+
+2007-08-07  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SecureString.cs : adding notes that ProtectedMemory is not
+         implemented for non-windows environment.
+
+2007-08-07  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SecureString.cs : Decrypt() and Encrypt() now use icall wrapper
+         to ProtectedMemory in System.Security.dll.
+
+2007-02-23  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * PermissionSet.cs: Fix InvalidCastException on non-CAS permissions.
+       Fix bug #80936.
+
+2006-06-16  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SecurityContext.cs: Don't skip the calling callBack if we don't call
+       CompressedStack.Run (#78652).
+
+2006-06-15  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SecurityContext.cs: Don't call CompressedStack.Run if we don't have
+       a compressed stack in the context (which can now happen because of 
+       #78652). This should fix MWF bug #78652 (BeginInvoke under 2.0).
+
+2006-04-07  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SecurityException.cs: Show Evidence correctly (it's a collection) 
+       but avoid showing the Hash evidence (it's way too big to be useful).
+
+2005-11-11  Sebastien Pouliot  <sebastien@ximian.com> 
+
+       * SecureString.cs: Completed InsertAt, fixed Alloc not to re-alloc a
+       block of the same size. Fixed missing encryption for the char* ctor.
+       Only missing is access to ProtectedMemory do to the [en|de]cryption.
+
+2005-10-30  Sebastien Pouliot  <sebastien@ximian.com> 
+       * PermissionSet.cs: Forgot to remove virtual from 2.0 IsSubsetOf.
+
+2005-10-29  Sebastien Pouliot  <sebastien@ximian.com> 
+       * PermissionSet.cs: Another update to corcompare shows that even more
+       methods are not virtual in 2.0 final.
+
+2005-10-28  Sebastien Pouliot  <sebastien@ximian.com> 
+       * PermissionSet.cs: Some methods are no more virtual in 2.0 final.
+
+2005-10-28  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SecureString.cs: Changed the previous (and partial) managed 
+       implementation to one (that will be) based on ProtectedMemory. Work in
+       progress...
+
+2005-10-17  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * PermissionSet.cs: If the current permission set is unrestricted then
+       we must allow "permit only" for unrestricted (all other case are known
+       to be too restrictive).
+
+2005-09-22  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SecurityManager.cs: Added [Obsolete] on SecurityEnabled for 2.0 (as 
+       it cannot be turned off on MS runtime anymore). Removed dependecies
+       on PermissionSetCollection as this class (related to *Choice actions)
+       didn't make it to 2.0 RC.
+
+2005-09-02  Sebastien Pouliot  <sebastien@ximian.com>
+       * CodeAccessPermission.cs: Fix Deny for permissions that do not return
+       null for empty intersection (common on flags-based permissions).
+       * PermissionBuilder.cs: Add an helper call to create an empty 
+       (PermissionState.None) permission from a type.
+       * SecurityManager.cs: Added AppDomain support in InheritanceDemand. 
+       Fixed some another small difference between 1.x and 2.0 (wrt 
+       unrestricted permissions). Fixed error reporting for InheritanceDemand
+       (was LinkDemand).
+
+2005-06-30  Sebastien Pouliot  <sebastien@ximian.com> 
+
+       * SecurityManager.cs: Fixed inheritance demands for 1.x.
+
+2005-06-22  Sebastien Pouliot  <sebastien@ximian.com> 
+
+       * CodeAccessPermission.cs: Fix Unrestricted PermitOnly (which is like
+       a no-op). Speed up Assert if Unrestricted.
+       * HostSecurityManager.cs: Updated FIXME description.
+       * PermissionSet.cs: Remove Copy() of the permission set when non-CAS
+       permissions are used (replaced by an array of bools). Completed Assert
+       support by re-using the array of bools. Updated TODO descriptions.
+       * SecurityException.cs: Added evidence (if available) in the ToString
+       description of the exception.
+       * SecurityManager.cs: Reworked CheckExecutionRights to get the correct
+       behavior.
+
+2005-06-20  Sebastien Pouliot  <sebastien@ximian.com> 
+
+       * CodeAccessPermission.cs: Removed redundant and unrequired TODO.
+       * PermissionSet.cs: Some 2.0 optimizations (because sets are simpler
+       without the special case for identity permissions).
+       * SecurityManager.cs: Shortcut for ResolveIdentityPermissions (in 2.0)
+       and some more declarative security syntax updates.
+
 2005-06-16  Sebastien Pouliot  <sebastien@ximian.com> 
 
        * PermissionSet.cs: Added support for non-CAS permissions in the