[corlib] Improve CancellationTokenSource test
[mono.git] / mcs / class / Mono.Security / Mono.Security.Authenticode / ChangeLog
index 0e1b07e15aa6467bf35fc2fe4a4445d44c333b10..b6b94272fce3306faf605ba09f77d95f3a23b70e 100644 (file)
@@ -1,8 +1,106 @@
+2008-12-23  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SoftwarePublisherCertificate.cs: Support PKCS7 files that with 
+       PEM headers around the base64 content.
+       [Fix bug #457658]
+
+2008-05-16  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * AuthenticodeFormatter.cs: Throw an NotSupportedException if we're
+       trying to sign a non-PE (portable executable) file. We do not support
+       signing CAB and MSI files (nor does mono generates them).
+       [Partial fix for #388602, kept open as Enhancement]
+
+2008-01-10  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * AuthenticodeDeformatter.cs: Use RSAManaged and the new overloaded
+       PKCS1.Verify_v15 with tryNonStandardEncoding == true when verifying
+       timestamping certificate signatures. Fix for #350958
+
+2007-11-01  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * AuthenticodeFormatter.cs: Allow signature of very big files (e.g. a
+       1.5Gb EXE). Original patch from Ondrej Kelle;
+
+2007-04-26  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * AuthenticodeDeformatter.cs: Don't reset an existing reason inside
+       IsTrusted.
+
+2007-01-12  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * AuthenticodeFormatter.cs: The ASN.1 structure must be padded to a
+       multiple of 8 bytes, else the signature is invalid - even if the hash 
+       is correct!
+
+2006-12-14  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * AuthenticodeBase.cs: Support (strip) COFF symbol table when 
+       calculating the hash value of a PE file.
+       * AuthenticodeDeformatter.cs: Adapt to changes in base class.
+       * AuthenticodeFormatter.cs: Reuse more code from base class. Strip
+       COFF symbol table (if present). Fix alignment (on 8 bytes) for the
+       signature location.
+
+2006-11-08  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * AuthenticodeDeformatter.cs: Return (find) the SigningCertificate 
+       even if the signature isn't verifiable. This is the behaviour required
+       for 2.0.
+
+2006-06-14  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * AuthenticodeBase.cs: Fix destination offset. Note that this works 
+       under MS but not under Mono.
+       * AuthenticodeDeformatter.cs: Report a more useful error if the file
+       hash doesn't match the signed hash.
+       * AuthenticodeFormatter.cs: Implemented support for Timestamp method.
+
+2005-04-18  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * AuthenticodeFormatter.cs: Commented unused private constants to 
+       remove compiler warnings.
+
+2005-04-08  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * AuthenticodeDeformatter.cs: In synch with corlib version.
+
+2004-11-05  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * AuthenticodeFormatter.cs: Now use BitConverterLE for explicit 
+       little-endian convertion.
+       * PrivateKey.cs: Now use BitConverterLE for explicit little-endian
+       convertion for PVK files.
+
+2004-10-29  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * AuthenticodeFormatter.cs: Fixed spcSpOpusInfo attribute (it wasn't 
+       added) and contentType attribute (was added 2 times). Also fixed the
+       case where we signed an already Authenticode signed file (re-signing).
+       * SoftwarePublisherCertificate.cs: Support for base64 encoded ASN.1 
+       files (either Unicode or ASCII).
+
+2004-10-22  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * AuthenticodeFormatter.cs: Fixed case where Url is null (broken since
+       we switched from string to Uri). Now use "using" for FileStream.
+
+2004-09-17  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * AuthenticodeDeformatter.cs: In synch with corlib version. Fixed all 
+       level 4 compilation warnings.
+       * AuthenticodeFormatter.cs: Fixed all level 4 compilation warnings.
+       * PrivateKey.cs: Fixed all level 4 compilation warnings.
+
 2004-09-07  Sebastien Pouliot  <sebastien@ximian.com>
 
-       * AuthenticodeBase.cs: Merge optimizations from HEAD.
-       * AuthenticodeDeformatter.cs: Merge optimizations from HEAD.
-       * AuthenticodeFormatter.cs: Merge optimizations from HEAD.
+       * AuthenticodeBase.cs: Reworked not to load the entire file into 
+       memory before hashing it (now in 4kb blocks). Splitted code in many
+       methods to allow "lighter" use by the deformatter.
+       * AuthenticodeDeformatter.cs: Less memory hungry so it can be used to
+       create Publisher evidences. No hash instance are created if the file
+       isn't signed.
+       * AuthenticodeFormatter.cs: Adapted to API changes.
 
 2004-05-11  Sebastien Pouliot  <sebastien@ximian.com>