New test.
[mono.git] / mcs / tools / security / ChangeLog
1 2006-08-17  Sebastien Pouliot  <sebastien@ximian.com>
2
3         * sn.cs: Add support for PKCS#12/PFX password protected files (just
4         like available in fx 2.0).
5         * TESTS: Add a test sequence to verify changes in SN.
6         * Makefile: Distribute TESTS in tarballs.
7
8 2006-07-31  Sebastien Pouliot  <sebastien@ximian.com>
9
10         * sn.cs: Catch exceptions, including reporting invalid number of 
11         parameters. Fix bug #78977.
12
13 2006-06-14  Sebastien Pouliot  <sebastien@ximian.com>
14
15         * AssemblyInfo.cs: Update copyright notice.
16         * signcode.cs: Add support for -x (delayed timestamp) to fix bug 
17         #78614. Now the tool is more useful in real-life scenarios.
18         * TESTS: New. Instructions on how to test any changes related to
19         Authenticode.
20
21 2006-05-09  Sebastien Pouliot  <sebastien@ximian.com>
22
23         * sn.cs: Don't throw an exception on invalid assemblies (e.g. 
24         netmodules). Fixed some typos.
25
26 2006-03-15  Hector E. Gomez Morales  <hectorgm@ciencias.unam.mx>
27
28         * secutil.cs: Print an error when asked to display the strong name 
29         of an assembly that doesn't have an associated key.
30
31 2005-11-04  Sebastien Pouliot  <sebastien@ximian.com>
32
33         * sn.cs: Added optional keysize argument to -k (generate keypair). 
34         This is required as 2.0 allows key length from 384 to 16384 bits (i.e.
35         which are the CryptoAPI limitations on RSA).
36
37 2005-10-12  Sebastien Pouliot  <sebastien@ximian.com>
38
39         * mozroots.cs: Fix confirmations and "really" import the certificates.
40
41 2005-10-11  Sebastien Pouliot  <sebastien@ximian.com>
42
43         * Makefile: Add mozroot to the build.
44         * mozroots.cs: A new command-line tool to download and import the list
45         of Mozilla's trusted root certificates into Mono's stores.
46
47 2005-09-23  Sebastien Pouliot  <sebastien@ximian.com>
48
49         * makecert.cs: For PKCS#12, added localKeyID attribute support, for 
50         certificates and keys, so Windows can import both as a single entity.
51
52 2005-08-26  Kornél Pál  <kornelpal@hotmail.com>
53
54         * AssemblyInfo.cs: Using Consts.MonoVersion instead of MonoVersion.cs.
55         * Makefile: Using Consts.MonoVersion instead of MonoVersion.cs.
56
57 2005-06-30  Sebastien Pouliot  <sebastien@ximian.com>
58
59         * Makefile: restored version numbers in security tools;
60         * makecert.cs: Add support to generate PKCS#12 files. Changed default
61         hash algorithm to SHA1. Using MD5 now shows a warning. Fixed typos.
62
63 2005-06-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
64
65         * MakeCert.cs: renamed to makecert.cs
66         * Makefile: s/MakeCert/makecert/
67
68 2005-06-09  Sebastien Pouliot  <sebastien@ximian.com>
69
70         * AssemblyInfo.cs: Bump security tools version to 1.1.8.
71
72 2005-05-02  Sebastien Pouliot  <sebastien@ximian.com>
73
74         * AssemblyInfo.cs: Bump security tools version to 1.1.7.
75
76 2005-03-14  Raja R Harinath  <rharinath@novell.com>
77
78         * Makefile (install-local, uninstall-local): Disable when
79         NO_INSTALL is defined.
80
81 2005-02-21  Michal Moskal  <malekith@pld-linux.org>
82
83         * Makefile (PROGRAM_INSTALL_DIR): Define in terms of $(libdir).
84
85 2005-01-20  Sebastien Pouliot  <sebastien@ximian.com>
86
87         * AssemblyInfo.cs: Updated copyrights to 2005.
88         * certmgr.cs: Added --list and implemented -del options. Fix bug 70717
89         * README: Updated to reflect current situation.
90
91 2005-01-19  Sebastien Pouliot  <sebastien@ximian.com>
92
93         * permview.cs: Fixed case for empty, but unrestricted, permission 
94         sets. Help now displays a more unix-like command options. Commented
95         some currently unused code.
96
97 2004-12-22  Sebastien Pouliot  <sebastien@ximian.com>
98
99         * permview.cs: Now "works" (including /DECL) with .NET 2.0 when 
100         compiled for NET_2_0, however Nov CTP has a bug and report all 
101         security actions as LinkDemand.
102
103 2004-12-21  Sebastien Pouliot  <sebastien@ximian.com>
104
105         * Makefile: Added permview to the build.
106         * permview.cs: Fixed option /OUTPUT to close the TextWriter so that 
107         the output is available (in the file) after execution. The default
108         execution (without /DECL) works with a *very* recent Mono runtime.
109
110 2004-12-17  Sebastien Pouliot  <sebastien@ximian.com>
111
112         * permview.cs: New. Managed declarative security permission viewer for
113         assemblies. The tools isn't yet part of the build as we're missing 
114         some runtime support (for Fx 1.0/1.1).
115
116 2004-12-15  Sebastien Pouliot  <sebastien@ximian.com>
117
118         * certmgr.cs, signcode.cs, sn.cs: Fixlets to removed compilation 
119         warning (for unused variables).
120
121 2004-12-13  Sebastien Pouliot  <sebastien@ximian.com>
122
123         * certmgr.cs: Add a new -ssl action to download and add the 
124         certificates from an SSL connection into thr right stores.
125
126 2004-12-10  Sebastien Pouliot  <sebastien@ximian.com>
127
128         * AssemblyInfo.cs: Added a class to get informations from assembly
129         attributes (and remove common code from all security tools).
130         * caspol.cs: New. CAS policy management tool.
131         * cert2spc.cs: Updated to use new AssemblyInfo class.
132         * certmgr.cs: Updated to use new AssemblyInfo class.
133         * chktrust.cs: Updated to use new AssemblyInfo class.
134         * Makefile: Added caspol to the build.
135         * MakeCert.cs: Updated to use new AssemblyInfo class.
136         * secutil.cs: Updated to use new AssemblyInfo class.
137         * setreg.cs: Updated to use new AssemblyInfo class.
138         * signcode.cs: Updated to use new AssemblyInfo class.
139         * sn.cs: Updated to use new AssemblyInfo class.
140
141 2004-12-06  Atsushi Enomoto  <atsushi@ximian.com>
142
143         * Makefile : test .mdb existence (for csc build).
144
145 2004-11-26  Raja R Harinath  <rharinath@novell.com>
146
147         * Makefile (PROGRAM_INSTALL_DIR): Define using $(FRAMEWORK_VERSION).
148
149 2004-11-22  Raja R Harinath  <rharinath@novell.com>
150
151         * Makefile (all-local) [PROFILE=net_1_1_bootstrap]: Build
152         profile-specific "bootstrap" sn.exe.
153         ($(topdir)/class/lib/$(PROFILE)/sn.exe): New.
154
155 2004-10-29  Raja R Harinath  <rharinath@novell.com>
156
157         * Makefile (install-local): Install .mdb files too.
158         (uninstall-local): Remove them.
159
160 2004-10-27  Sebastien Pouliot  <sebastien@ximian.com>
161
162         * signcode.cs: -i (url) and -n (description) parameters were inverted.
163
164 2004-10-22  Sebastien Pouliot  <sebastien@ximian.com>
165
166         * signcode.cs: Better error reporting (e.g. missing files).
167
168 2004-09-23  Sebastien Pouliot  <sebastien@ximian.com>
169
170         * AssemblyInfo.cs: Updated version to 1.1.2 for next release.
171         * MakeCert.cs: Hack for date parsing problem with Mono.
172
173 2004-08-10  Sebastien Pouliot  <sebastien@ximian.com>
174
175         * certmgr.cs: Added option '-m' to add certificates to the machine 
176         stores (default to user store). Added better handling for 
177         UnauthorizedAccessException (e.g. non-root access to machine store).
178
179 2004-08-06  Sebastien Pouliot  <sebastien@ximian.com>
180
181         * AssemblyInfo.cs: Update version number for Mono 1.1.1 (HEAD ;).
182
183 2004-08-02  Sebastien Pouliot  <sebastien@ximian.com>
184
185         * AssemblyInfo.cs: Update version number for Mono 1.0.1.
186         * sn.cs: Warn for missing machine.config (if quiet isn't specified).
187
188 2004-06-21  Raja R Harinath  <rharinath@novell.com>
189
190         * sn.cs (ReSign): Return a bool indicating success or failure.
191         (Main): Return with failure if ReSign() fails.
192
193 2004-06-11  Raja R Harinath  <rharinath@novell.com>
194
195         * Makefile (PROGRAM_INSTALL_DIR): New define.
196         (install-local, uninstall-local): Use it.
197
198 2004-06-09  Sebastien Pouliot  <sebastien@ximian.com>
199
200         * StrongNameManager.cs: Fix ToString() when no verificationSettings
201         are present (used in sn -Vl).
202         * sn.cs: Fixed to match documentation.
203
204 2004-06-08  Sebastien Pouliot  <sebastien@ximian.com>
205
206         * AssemblyInfo.cs: Updated version number for post beta 2.
207         * StrongNameManager.cs: Changed XML format to be compatible with
208         machine.config. Made token uppercase.
209         * sn.cs: Now load the token remapping configuration from 
210         machine.config. Fixed some errors in help.
211
212 2004-05-28  Sebastien Pouliot  <sebastien@ximian.com>
213
214         * AssemblyInfo.cs: Update version number for beta 2.
215
216 2004-04-27  Jackson Harper  <jackson@ximian.com>
217
218         * sn.cs: Attempt to load the strongnames.config file from the GAC
219         path.
220         
221 2004-04-26  Jackson Harper  <jackson@ximian.com>
222
223         * Makefile: use profile libraries from the default profile.
224         
225 2004-04-22  Sebastien Pouliot  <sebastien@ximian.com>
226
227         * cert2spc.cs: Updated to match changes in Mono.Security.dll. Better
228         handling of files.
229         * certmgr.cs: Updated to match changes in Mono.Security.dll.
230         * signcode.cs: Updated to match changes in Mono.Security.dll.
231
232 2004-03-31  Sebastien Pouliot  <sebastien@ximian.com>
233
234         * StrongNameManager.cs: Synched with corlib version (updated graphic).
235
236 2004-03-30  Sebastien Pouliot  <sebastien@ximian.com>
237
238         * StrongNameManager.cs: New. Added a check for "*" (any) assembly
239         when the spcific assembly isn't found for skipping.
240
241 2004-03-24  Sebastien Pouliot  <sebastien@ximian.com>
242
243         * Makefile: Updated sn.exe to include StrongNameManager.cs.
244         * sn.cs: Updated to use StrongNameManager. This allows remapping a
245         public key token to another public key (e.g. ECMA key). Also added
246         support for -Vl.
247         * StrongNameManager.cs: New. First version. Allows remapping of
248         public key tokens to alternate public keys (e.g. ECMA) and disabling
249         strongname verification for specific tokens/assemblies/users combo.
250
251 2004-03-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
252
253         * sn.cs: fixed crash in -T and -Tp.
254
255 2004-02-26  Sebastien Pouliot  <sebastien@ximian.com>
256
257         * AssemblyInfo.cs: Ajusted versions, informations and copyrights.
258         * certmgr.cs: New. Very limited certificate manager. Allow to add new 
259         certificates into the Trusted certificate store.
260         * Makefile: Added certmgr and setreg to the build.
261         * README: Updated.
262         * setreg.cs: New. Allow to add/remove test root certificates from the
263         trusted certificate store.
264
265 2003-11-10  Todd Berman  <tberman@gentoo.org>
266
267         * sn.cs: Wow, gonzalo is so super s-m-a-r-t, changing up last fix to
268         make it nice and pretty.
269
270 2003-11-10  Todd Berman  <tberman@gentoo.org>
271
272         * sn.cs: No more OutOfMemoryExceptions if the GetPublicKey returns
273         a new byte[0].
274         
275 2003-10-30  Sebastien Pouliot  <spouliot@videotron.ca>
276
277         * sn.cs: Fixed strongname generation for small exponents (like 17). 
278         Part of the fixed for bug #50341.
279
280 2003-10-18  Sebastien Pouliot  <spouliot@videotron.ca>
281
282         * sn.cs: Fixed a bug when exporting the public key from a SNK file.
283
284 2003-10-11  Sebastien Pouliot  <spouliot@videotron.ca>
285
286         * AssemblyInfo.cs: changed version number to 0.28.99
287         * sn.cs: Add support for signing and verifying assemblies.
288
289 2003-09-01  Sebastien Pouliot  <spouliot@videotron.ca>
290
291         * AssemblyInfo.cs: Updated version to 0.26.99 (all tools).
292         * cert2spc.cs: Updated to use Mono.Security.X509.
293         * chktrust.cs: Tool to validate Authenticode(tm) signatures on PE 
294         files (including assemblies).
295         * signcode.cs: Tool to sign and timestamp PE files using 
296         Authenticode(tm) compatible certificates.
297         * README: Updated to include a small tutorial on how to use
298         Authenticode(tm) to sign/verify assemblies.
299         * Makefile: Updated to build chktrust.exe and signcode.exe
300
301 2003-07-30  Sebastien Pouliot  <spouliot@videotron.ca>
302
303         * AssemblyInfo.cs: Updated version to 0.25.99 (all tools).
304         * MakeCert.cs: Added support for Extended Key Usage (-eku).
305         It's now possible to create SSL certificate with the tool.
306
307 2003-06-19  Nick Drochak <ndrochak@gol.com>
308
309         * MakeCert.cs: Work around for mcs? bug 45127.
310
311 2003-03-15  Sebastien Pouliot  <spouliot@videotron.ca>
312
313         * AssemblyInfo.cs: Updated version for mono 0.23.
314         * MakeCert.cs: New. MakeCert clone utility to create X.509
315         certificates (e.g. for testing Authenticode signatures).
316         * makefile: Added cert2spc, sn & makecert to Windows build.
317         * sectools.build: Added makecert to build.
318
319 2003-03-09  Sebastien Pouliot  <spouliot@videotron.ca>
320
321         * makefile: Removed cert2spc and sn from linux build (as
322         Mono.Security assembly isn't, yet, part of the linux build).
323         * makefile.gnu: Removed (not required for tools).
324
325 2003-03-08  Sebastien Pouliot  <spouliot@videotron.ca>
326
327         * makefile: Added SN.
328         * makefile.gnu: New. Copy of makefile.
329         * sn.cs: New. (Incomplete) SN (StrongName) tool.
330         * sectools.build: Updated build for SN.
331
332 2003-03-06  Sebastien Pouliot  <spouliot@videotron.ca>
333
334         * AssemblyInfo.cs: New. Global assembly attributes (version and 
335           copyright) for security tools.
336         * cert2spc.cs: Update to use the new PKCS7 class (from Mono.Security
337         assembly) and AssemblyInfo.cs. Older version was located in /mcs/tools.
338         * makefile: New. PROTOTYPE makefile (not tested) for Linux.
339         * README: New. Important information about the Mono's security tools
340         * secutil.cs: Updated to use AssemblyInfo.cs. Older version was located
341         in /mcs/tools.
342         * sectools.build: New. NAnt build file to build all security tools.