2007-01-12 Sebastien Pouliot <sebastien@ximian.com>
[mono.git] / mcs / class / Mono.Security / Mono.Security.Authenticode / ChangeLog
1 2007-01-12  Sebastien Pouliot  <sebastien@ximian.com>
2
3         * AuthenticodeFormatter.cs: The ASN.1 structure must be padded to a
4         multiple of 8 bytes, else the signature is invalid - even if the hash 
5         is correct!
6
7 2006-12-14  Sebastien Pouliot  <sebastien@ximian.com>
8
9         * AuthenticodeBase.cs: Support (strip) COFF symbol table when 
10         calculating the hash value of a PE file.
11         * AuthenticodeDeformatter.cs: Adapt to changes in base class.
12         * AuthenticodeFormatter.cs: Reuse more code from base class. Strip
13         COFF symbol table (if present). Fix alignment (on 8 bytes) for the
14         signature location.
15
16 2006-11-08  Sebastien Pouliot  <sebastien@ximian.com>
17
18         * AuthenticodeDeformatter.cs: Return (find) the SigningCertificate 
19         even if the signature isn't verifiable. This is the behaviour required
20         for 2.0.
21
22 2006-06-14  Sebastien Pouliot  <sebastien@ximian.com>
23
24         * AuthenticodeBase.cs: Fix destination offset. Note that this works 
25         under MS but not under Mono.
26         * AuthenticodeDeformatter.cs: Report a more useful error if the file
27         hash doesn't match the signed hash.
28         * AuthenticodeFormatter.cs: Implemented support for Timestamp method.
29
30 2005-04-18  Sebastien Pouliot  <sebastien@ximian.com>
31
32         * AuthenticodeFormatter.cs: Commented unused private constants to 
33         remove compiler warnings.
34
35 2005-04-08  Sebastien Pouliot  <sebastien@ximian.com>
36
37         * AuthenticodeDeformatter.cs: In synch with corlib version.
38
39 2004-11-05  Sebastien Pouliot  <sebastien@ximian.com>
40
41         * AuthenticodeFormatter.cs: Now use BitConverterLE for explicit 
42         little-endian convertion.
43         * PrivateKey.cs: Now use BitConverterLE for explicit little-endian
44         convertion for PVK files.
45
46 2004-10-29  Sebastien Pouliot  <sebastien@ximian.com>
47
48         * AuthenticodeFormatter.cs: Fixed spcSpOpusInfo attribute (it wasn't 
49         added) and contentType attribute (was added 2 times). Also fixed the
50         case where we signed an already Authenticode signed file (re-signing).
51         * SoftwarePublisherCertificate.cs: Support for base64 encoded ASN.1 
52         files (either Unicode or ASCII).
53
54 2004-10-22  Sebastien Pouliot  <sebastien@ximian.com>
55
56         * AuthenticodeFormatter.cs: Fixed case where Url is null (broken since
57         we switched from string to Uri). Now use "using" for FileStream.
58
59 2004-09-17  Sebastien Pouliot  <sebastien@ximian.com>
60
61         * AuthenticodeDeformatter.cs: In synch with corlib version. Fixed all 
62         level 4 compilation warnings.
63         * AuthenticodeFormatter.cs: Fixed all level 4 compilation warnings.
64         * PrivateKey.cs: Fixed all level 4 compilation warnings.
65
66 2004-09-07  Sebastien Pouliot  <sebastien@ximian.com>
67
68         * AuthenticodeBase.cs: Reworked not to load the entire file into 
69         memory before hashing it (now in 4kb blocks). Splitted code in many
70         methods to allow "lighter" use by the deformatter.
71         * AuthenticodeDeformatter.cs: Less memory hungry so it can be used to
72         create Publisher evidences. No hash instance are created if the file
73         isn't signed.
74         * AuthenticodeFormatter.cs: Adapted to API changes.
75
76 2004-05-11  Sebastien Pouliot  <sebastien@ximian.com>
77
78         * PrivateKey.cs: Better exception reporting. Added globalization to 
79         exceptions.
80         * SoftwarePublisherCertificate.cs: Better exception reporting. Added 
81         globalization to exceptions. 
82
83 2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>
84
85         * AuthenticodeBase.cs: Added missing (overwritten) #if INSIDE_CORLIB
86         directives to hides type and enum in corlib.
87
88 2004-04-22  Sebastien Pouliot  <sebastien@ximian.com>
89
90         * AuthenticodeBase.cs: FxCop-ized. CLS compliance. Also includes
91         endian fixes from Bernie Solomon.
92         * AuthenticodeDeformatter.cs: FxCop-ized. CLS compliance.
93         * AuthenticodeFormatter.cs: FxCop-ized. CLS compliance.
94         * PrivateKey.cs: Replaced Array.Copy with Buffer.BlockCopy.
95         * SoftwarePublisherCertificate.cs: FxCop-ized.
96
97 2004-02-23  Sebastien Pouliot  <sebastien@ximian.com>   
98
99         * PrivateKey.cs: Adjusted to catch exceptions from CryptoConvert.
100         FromCapiPrivateKeyBlob when dealing with weakly encrypted keys.
101
102 2004-02-20  Sebastien Pouliot  <sebastien@ximian.com>   
103
104         * AuthenticodeDeformatter.cs: Updated to use the new X509Chain syntax. 
105
106 2003-12-15  Sebastien Pouliot  <spouliot@videotron.ca>  
107
108         * AuthenticodeDeformatter.cs: Now throw a COMException for invalid 
109         signature. Added a SigningCertificate property (to be independant of
110         the certificate collection ordering).
111
112 2003-09-01  Sebastien Pouliot  <spouliot@videotron.ca>  
113
114         * AuthenticodeBase.cs: New. Base class including how to hash a
115         PE file.
116         * AuthenticodeDeformatter.cs: New. Class to decode Authenticode(tm)
117         signatures.
118         * AuthenticodeFormatter.cs: New. Class to encode a Authenticode(tm)
119         signature, and optionally a timestamp, into a PE file.
120         * SoftwarePublisherCertificate.cs: Now use Mono.Security.X509.
121         X509Certificate class.
122
123 2003-06-19  Nick Drochak <ndrochak@gol.com>
124
125         * PrivateKey.cs: Work around for mcs? bug 45127.
126
127 2003-03-15  Sebastien Pouliot  <spouliot@videotron.ca>
128
129         * PrivateKey.cs: New. Class to load or create PVK (PriVate Key)
130         files (a Microsoft specific file format for private keys).
131
132 2003-03-06  Sebastien Pouliot  <spouliot@videotron.ca>
133
134         * SoftwarePublisherCertificate.cs: New. Class to load or create
135         SPC files (which are PKCS#7 files containing only certificates 
136         and CRL).
137