doc update
[platform/upstream/libtasn1.git] / NEWS
1 GNU Libtasn1 NEWS                                     -*- outline -*-
2
3 * Noteworthy changes in release 3.6 (unreleased) [stable]
4 - Corrected an off-by-one error in ASN.1 DER tag decoding.
5 - Several improvements and new safety checks on DER decoding.
6 - asn1_der_decoding_element() is an alias to asn1_der_decoding().
7
8 * Noteworthy changes in release 3.5 (released 2014-05-01) [stable]
9 - Correctly handle decoding of recursive CHOICE options.
10 - Allow deleting elements of SET OF. Patch by Jean-Louis Thekekara.
11 - Several small bug fixes found by coverity.
12 - Code improvements contributed by Kurt Roeckx.
13
14 * Noteworthy changes in release 3.4 (released 2013-11-25) [stable]
15 - Added asn1_delete_structure2() which allows zeroizing the contents
16   of all values in the structure prior to deinitialization.
17 - The parser accepts negative numbers in an INTEGER range (but
18   still does no enforce them).
19
20 * Noteworthy changes in release 3.3 (released 2013-03-23) [stable]
21 - More precise overflow checks using gnulib's intprops module.
22 - Updates to compile in Android systems.
23
24 * Noteworthy changes in release 3.2 (released 2012-11-30) [stable]
25 - Corrected buffer overflow in the error reporting of the parser (reported
26   by Andreas Metzler).
27
28 * Noteworthy changes in release 3.1 (released 2012-11-24) [stable]
29 - Completed rename of types:
30   ASN1_ARRAY_TYPE -> asn1_static_node (was asn1_static_node_t)
31 - Added new types: VisibleString, NumericString, IA5String, TeletexString,
32   PrintableString, UniversalString, BMPString, UTF8String. When re-defined
33   a warning is being print instead of failing.
34 - Parser outputs more detailed syntax error messages.
35 - Added asn1_decode_simple_der() and asn1_encode_simple_der().
36 - Added asn1_read_value_type() to return value and type.
37 - Introduced ASN1_ETYPE_UTC_TIME and ASN1_ETYPE_GENERALIZED_TIME
38
39 * Noteworthy changes in release 3.0 (2012-10-28) [stable]
40 - Added tool in tests/ to benchmark X.509 structure decoding.
41 - Added asn1_read_node_value() to obtain a node's value.
42 - Optimizations in internal tree allocation.
43 - Optimizations in tree search.
44 - libtasn1.h no longer exports internal structures.
45 - Types were renamed for consistency:
46   ASN1_DATA_NODE -> asn1_data_node_st
47   ASN1_ARRAY_TYPE -> asn1_static_node
48   ASN1_TYPE -> asn1_node
49   ASN1_TYPE_EMPTY -> NULL
50   static_struct_asn -> asn1_static_node_st
51   node_asn_struct -> asn1_node_st
52   node_asn -> asn1_node_st
53   (the old types are still available as definitions)
54
55 * Noteworthy changes in release 2.13 (2012-05-31) [stable]
56 - Updated fix for DER decoding issue to not depend on specific compilers.
57 - Updated DER decoding check to apply to short form integers as well.
58
59 * Noteworthy changes in release 2.12 (2012-03-19) [stable]
60 - Cleanup license headers.
61 - build: Update gnulib files.
62 - Corrected DER decoding issue (reported by Matthew Hall).
63   Added self check to detect the problem, see tests/Test_overflow.c.
64   This problem can lead to at least remotely triggered crashes, see
65   further analysis on the libtasn1 mailing list.
66
67 * Noteworthy changes in release 2.11 (2011-11-25) [stable]
68 - qa: Now builds without compiler warnings with Solaris CC.
69 - qa: Added clang analysis.  Fixed cyclomatic complexity output.
70 - tests: Added self-test of bit string functions.
71 - build: Added windows/libtasn14win.mk rules to produce Windows binaries.
72 - build: Don't hard code path to perl in doc/gdoc.
73 - Various minor fixes.
74
75 * Noteworthy changes in release 2.10 (2011-10-25) [stable]
76 - lib: Small optimization, possibly working around gcc/valgrind issue.
77 - build: Update gnulib files.
78 - asn1Coding: actually implement the -c parameter.
79 - asn1Decoding: the -c parameter serves no purpose, remove it.
80 - doc: Add examples to asn1Coding and asn1Decoding description.
81
82 * Noteworthy changes in release 2.9 (2010-12-06) [stable]
83 - tests: Link to gnulib to avoid build error related to 'rpl_ftello' on Solaris.
84   Reported by Dagobert Michelsen.
85 - doc: Fix bug reporting address to point at help-libtasn1@gnu.org.
86 - doc: Fix Returns: documentation in Texinfo.  Reported by Jeffrey Walton.
87 - build: Update gnulib files.
88
89 * Noteworthy changes in release 2.8 (2010-09-25) [stable]
90 - Update gnulib files.
91 - Use Libtool 2.2.10 to ease MinGW64 builds.
92
93 * Noteworthy changes in release 2.7 (2010-05-20) [stable]
94 - Doc: Build a PDF manual using GTK-DOC.
95 - Doc: Fix of asn1_check_version, documentation was missing from last release.
96 - Build: Avoid warnings about ignored visibility attributes on Windows.
97
98 * Noteworthy changes in release 2.6 (2010-04-20) [stable]
99 - Fix build failure on platforms without support for GNU LD version scripts.
100 - libtasn1: Simplified implementation of asn1_check_version.
101 - tests: Improved self-checks.
102 - Update gnulib files, fix many syntax-check nits, indent code,
103   fix license templates.
104
105 * Noteworthy changes in release 2.5 (2010-03-15) [stable]
106 - doc: Improve GTK-DOC comments.
107 - misc: Updated gnulib files.
108
109 * Noteworthy changes in release 2.4 (2010-01-18) [stable]
110 - Doc fixes.
111 - Updated gnulib files.
112 - Clean up copyright notices.
113
114 * Noteworthy changes in release 2.3 (2009-07-29) [stable]
115 - Libtasn1 is now an official GNU project.
116 - Solve build problem on Tru64 related to TRUE/FALSE.
117 - More careful decoding of OIDs.
118 - Fixed warning in ASN1.y.
119 - Use "Software libraries" info dircategory.
120 - Drop GPL/LGPL copies from the manual (not needed there).
121 - New configure parameters to set packaging specific information.
122   The parameters are --with-packager, --with-packager-version, and
123   --with-packager-bug-reports.  See
124   <http://article.gmane.org/gmane.comp.lib.gnulib.bugs/17791> for more
125   details.
126
127 * Noteworthy changes in release 2.2 (2009-05-20) [stable]
128 - Change how the ASN1_API decorator is used in libtasn1.h, for GTK-DOC.
129 - Changed license of libtasn1.pc from GPLv3+ to LGPLv2.1+.
130   Reported by Jeff Cai <Jeff.Cai@Sun.COM>.
131 - Building with many warning flags now requires --enable-gcc-warnings.
132 - Some warnings fixed.
133
134 * Noteworthy changes in release 2.1 (2009-04-17) [stable]
135 - Fix compilation failure on platforms that can't generate empty archives,
136   e.g., Mac OS X.  Reported by David Reiser <dbreiser@gmail.com>.
137
138 * Noteworthy changes in release 2.0 (2009-04-13) [stable]
139 - Optimized tree generation.
140 - ASN1 parser code re-generated using Bison 2.4.1.
141 - Build with more warning flags.  Many compiler warnings fixed.
142 - Compiled with -fvisibility=hidden by default if supported.
143   See http://gcc.gnu.org/wiki/Visibility
144 - The libtasn1-config tool has been removed.
145   For application developers, please stop using libtasn1-config for
146   finding libtasn1, use proper autoconf checks or pkg-config instead.
147   For users that need a libtasn1 that provides a libtasn1-config
148   script (for use with older applications), use libtasn1 v1.x instead.
149   Version 1.x is still supported.
150
151 * Noteworthy changes in release 1.8 (2009-01-16) [stable]
152 - Fix crlf self-test under Mingw+Wine.
153 - Fix build problems on platforms that lack stdint.h.
154   Reported by Dagobert Michelsen <dam@opencsw.org> in
155   <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3377>.
156
157 * Noteworthy changes in release 1.7 (2008-11-17) [stable]
158 - Add libtasn1-config for compatibility.
159   Please stop use it as it will disappear in v2.0!
160   Use standard AC_CHECK_FUNCS autoconf tests or pkg-config instead.
161 - Read PKCS#12 blob as binary file, fixes self-tests under Mingw.
162 - Fix use of __attribute__ ((deprecated)) to work on non-GCC (#106548).
163
164 * Noteworthy changes in release 1.6 (2008-11-10) [stable]
165 - Fixed namespace violation for MAX_NAME_SIZE and MAX_ERROR_DESCRIPTION_SIZE.
166   The new names are ASN1_MAX_NAME_SIZE and ASN1_MAX_ERROR_DESCRIPTION_SIZE.
167 - Fixed namespace violation for libtasn1_perror and libtasn1_strerror.
168   The new names are asn1_perror and asn1_strerror.
169 - Fix namespace violation for LIBASN1_VERSION.
170   The new name is ASN1_VERSION.
171 - Decoder can now decode BER encoded octet strings.
172 - doc: Change license on the manual to GFDLv1.3+.
173 - doc: Sync gdoc script with GnuTLS, changes license on man-pages to GAP.
174 - doc: Improve gtk-doc manual.
175 - Assumes system has strdup and string.h.
176 - Remove libtasn1-config and libtasn1.m4,
177   use standard AC_CHECK_FUNCS autoconf tests or pkg-config instead.
178 - Change detection of when to use a linker version script,
179   use --enable-ld-version-script or --disable-ld-version-script to
180   override auto-detection logic.
181 - API and ABI changes since last version:
182   asn1_get_length_ber: New function.
183   ASN1_VERSION: New symbol, replaces LIBTASN1_VERSION.
184   asn1_strerror: New function, replaces libtasn1_strerror.
185   asn1_perror: New function, replaces libtasn1_perror.
186   libtasn1_strerror: Marked as deprecated.
187   libtasn1_perror: Marked as deprecated.
188   LIBTASN1_VERSION: Deprecated.
189
190 * Noteworthy changes in release 1.5 (2008-07-29) [stable]
191 - Update gnulib files.
192 - Fix memory leaks, from Christian Grothoff <christian@grothoff.org>.
193
194 * Noteworthy changes in release 1.4 (2008-04-21) [stable]
195 - Update gnulib files.
196 - Replace uses of alloca with malloc.
197
198 * Noteworthy changes in release 1.3 (2008-02-01) [stable]
199 - Handle 'INTEGER { ... } (a..b)' regression.
200   Revert parts of earlier fix.  asn1Parser can now again parse src/pkix.asn1.
201   The ASN1.c file was generated using Bison 2.3.
202 - Move examples from src/ to new directory examples/.
203 - Duplicate copy of divergated pkix.asn removed.
204 - Merge unnecessary lib/defines.h into lib/int.h.
205 - Configure no longer tries to use gcc -pipe.
206 - Update gnulib files.
207 - Fix mem leak in self-test.
208
209 * Noteworthy changes in release 1.2 (2007-12-10) [stable]
210 - Update gnulib files.
211
212 * Noteworthy changes in release 1.1 (2007-08-31) [stable]
213 - Fix bug that made asn1_check_version believe that 1.0 is older than 0.3.10.
214
215 * Noteworthy changes in release 1.0 (2007-08-31) [stable]
216 - The self-tests, command line tools and build infrastructure have
217   been re-licensed from GPLv2 to GPLv3.
218 - Doc fixes.
219 - Update gnulib files.
220
221 * Noteworthy changes in release 0.3.10 (2007-05-25)
222 - Update gnulib files.
223
224 * Noteworthy changes in release 0.3.9 (2007-03-02)
225 - In generated code, config.h is pulled in if HAVE_CONFIG_H.
226 - Development changes: changed from CVS to GIT as an experiment.
227   I push my changes to <http://repo.or.cz/w/libtasn1.git>.
228 - Autoconf 2.61 and automake 1.10 is required.
229
230 * Noteworthy changes in release 0.3.8 (2006-11-16)
231 - Fix reading of binary files in asn1Decoding, for Windows.
232
233 * Noteworthy changes in release 0.3.7 (2006-10-19)
234 - When asn1_der_coding encoded a TYPE_NULL and the output buffer is
235   NULL, it would not increment the counter properly, so the size of
236   the required buffer would be off by one.  Fixed.  Reported by
237   Stephen Wrobleski <steve@localtoast.org>.
238 - Fix configure to respect user-definable flags.  Reported by "Diego
239   'Flameeyes' Pettenò" <flameeyes@gentoo.org>.
240 - The --help and --version outputs from the tools have been improved.
241
242 * Noteworthy changes in release 0.3.6 (2006-08-13)
243 - Fix man pages to use \- instead of - for negative signs (as in "-1").
244 - Add -I's when building in src/, so that unistd.h etc is found on
245   systems that doesn't have them.
246 - Valgrind isn't used for cross-compilation by default, and there is
247   also --disable-valgrind-tests to unconditionally disable it.
248 - Valgrind is invoked without parameters, put things you like into
249   ~/.valgrindrc instead.
250
251 * Noteworthy changes in release 0.3.5 (2006-06-27)
252 - Fix asn1_octet_der to handle writes of zero-length buffers, before
253   it did not write the ASN.1 length for a zero-length buffer.  This caused
254   ASN.1 encodings to be incorrect on 64-bit platforms.
255 - Add self test that attempt to trigger the above bug.
256 - Fix test of -Wno-pointer-sign.
257 - Improve cross-compilation to MinGW by using AC_LIBTOOL_WIN32_DLL.
258
259 * Noteworthy changes in release 0.3.4 (2006-05-10)
260 - Really fix encodings.
261 - Add new self test, tests/Test_encoding.c.
262 - Self tests are ran under valgrind, if it is available.
263 - We test for the -Wno-pointer-sign parameter before using it.
264
265 * Noteworthy changes in release 0.3.3 (2006-05-07)
266 - Add some 'const' to prototypes.
267 - Remove some 'unsigned' keywords.
268 - Corrected asn1_der_coding() bug introduced when it became reentrant.
269   Now it produces correct encodings.
270
271 * Noteworthy changes in release 0.3.2
272 - Corrected bug in asn1_der_coding() which overwrited some
273   data in the original structure.
274 - The asn1Parser, asn1Coding and asn1Decoding programs are now installed.
275
276 * Noteworthy changes in release 0.3.1
277 - Support constant size bit strings, as in 'BIT STRING (SIZE(42))'.
278   Reported by Cyril Holweck <cyril.holweck@q-free.com>.
279 - Add two more APIs required by GnuTLS.
280 - New public APIs:
281   asn1_find_node function
282   asn1_copy_node
283
284 * Noteworthy changes in release 0.3.0
285 - Export DER utility functions, mostly so that GnuTLS can avoid using
286   libtasn1 internals.
287 - The _asn1* symbols are not exported in the shared library file (when
288   using GNU ld).
289 - The library can now be built using Visual Studio, and the project
290   files are included in windows/.
291 - New public APIs:
292   asn1_get_tag_der
293   asn1_octet_der
294   asn1_get_octet_der
295   asn1_bit_der
296   asn1_get_bit_der
297   asn1_get_length_der
298   asn1_length_der
299
300 * Noteworthy changes in release 0.2.18
301 - Fix out-of-bounds access in DER decoding, reported by Evgeny Legerov.
302 - Add 'const' keyword to some prototypes, thanks to Frediano ZIGLIO.
303 - Fixed typo in src/Makefile.am to make it build with objdir != srcdir,
304   thanks to Bernard Leak.
305 - Update of gnulib files.
306 - Typo fixes in comments, e.g. finish libasn1 to libtasn1 renaming,
307   use LGPL boiler plate on some files in lib/.
308
309 * Noteworthy changes in release 0.2.17
310 - Fixed typo to make it build.
311
312 * Noteworthy changes in release 0.2.16
313 - * Noteworthy changes in release script added again.
314
315 * Noteworthy changes in release 0.2.15
316 - Gnulib is used to implement memmove if your system does not have it.
317 - Simplified assert/error handling slightly.
318
319 * Noteworthy changes in release 0.2.14
320 - Some build fixes.
321 - Pkg-config script 'libtasn1.pc' added.
322 - Postal address to FSF in license updated.
323
324 * Noteworthy changes in release 0.2.13
325 - * Noteworthy changes in release number in libtasn1.h updated properly.
326
327 * Noteworthy changes in release 0.2.12
328 - Manual converted to Texinfo format.
329 - Manual in GTK-DOC and DevHelp formats added.
330 - Man pages for all functions added.
331 - Various internal cleanups.
332
333 * Noteworthy changes in release 0.2.11
334 - Added the self test with "make check" target
335 - Added management of ANY type with null length
336 - Corrected some writes to invalid data.
337
338 * Noteworthy changes in release 0.2.10
339 - Added scripts to assist in libtasn1 version detection
340   from configure scripts.
341 - Corrected a DER decoding bug which was reported
342   by Max Vozeler <max@hinterhof.net>.
343
344 * Noteworthy changes in release 0.2.9
345 - Accept negative numbers as range in INTEGER declarations
346
347 * Noteworthy changes in release 0.2.8
348 - Add asn1_delete_element function
349
350 * Noteworthy changes in release 0.2.7
351 - Added versioned symbols.
352
353 * Noteworthy changes in release 0.2.6
354 - ASN.1 parser accepts these kinds of integer definitions:
355   "INTEGER (5 | 10)" and
356   "INTEGER (5)"
357 - Comments start at "--" and finish at the "end of line" or
358   with another "--".
359
360 * Noteworthy changes in release 0.2.5
361 - Bug fix in ordering procedure for SET OF and SEQUENCE OF
362   types coding.
363 - Manage structured format (BER encoding) in
364   asn1_der_decoding, asn1_decoding_element and
365   asn1_der_decoding_startEnd for OCTET STRING type.
366 - Manage SEQUENCE and SET empty structure.
367 - Manage "indefinite length method" in asn1_der_decoding,
368   asn1_decoding_element and asn1_der_decoding_startEnd
369   for the following types:
370   SEQUENCE, SEQUENCE OF, SET, and SET OF.
371 - Bug fix in asn1_read_value with NULL parameter in case
372   of BIT STRING
373
374 * Noteworthy changes in release 0.2.4
375 - Bug fix in asn1_der_coding with NULL parameter
376 - Manage DEFAULT option with OBJECT IDENTIFIER
377
378 * Noteworthy changes in release 0.2.3
379 - Chenge asn1_find_structure_from_oid prototype
380 - Chenge asn1_find_structure_from_oid prototype
381 - Add ASN1_MEM_ALLOC_ERROR return value
382
383 * Noteworthy changes in release 0.2.2
384 - Add vector length check in asn1_der_coding function
385 - Add vector length check in asn1_der_coding function
386 - Add vector length check in asn1_read_value function
387 - Add asn1_check_version function
388
389 * Noteworthy changes in release 0.2.1
390 - Add asn1_find_structure_from_oid function
391 - Add asn1_read_tag function
392
393 * Noteworthy changes in release 0.2.0
394 - Support for other platforms
395 - Change asn1_create_element function interface (dest_name not needed any more)
396 - Change OBJECT IDENTIFIER syntax: numbers must be separated by dot in
397   asn1_write_element and asn1_read_element functions (e.g. "1.2.3.4")
398
399 * Noteworthy changes in release 0.1.2
400 - Added GeneralString type
401 - Fixed a DER encoding bug when nested tags are used
402
403 * Noteworthy changes in release 0.1.1
404 - Renamed to libtasn1
405 - Functions which return a string for error description
406   now accept a NULL argument.
407 - License is now GNU Lesser GPL
408
409 * Noteworthy changes in release 0.1.0
410 - Initial release
411
412 ----------------------------------------------------------------------
413 Copyright (C) 2002-2014 Free Software Foundation, Inc.
414 Copying and distribution of this file, with or without modification,
415 are permitted in any medium without royalty provided the copyright
416 notice and this notice are preserved.