| 1 |
GNU Libtasn1 NEWS -*- outline -*- |
| 2 |
|
| 3 |
# Noteworthy changes in release 4.21.0 (2026-01-08) [stable] |
| 4 |
- Undocumented asn1Decoding --debug flag removed, thanks to Andrew Hamilton. |
| 5 |
- Code coverage for src/ went from 35% to 82%, thanks to Andrew Hamilton. |
| 6 |
- Fix of ASN.1 typo in manual, thanks to Masatake YAMATO. |
| 7 |
- NEWS renamed to NEWS.md and uses markdown syntax. |
| 8 |
- Update gnulib files and various build/maintenance fixes. |
| 9 |
- Fix for vulnerability CVE-2025-13151 Stack-based buffer overflow |
| 10 |
|
| 11 |
# Noteworthy changes in release 4.20.0 (2025-02-01) [stable] |
| 12 |
- The release tarball is now reproducible. |
| 13 |
- We publish a minimal source-only tarball generated by 'git archive'. |
| 14 |
- Update gnulib files and various build/maintenance fixes. |
| 15 |
- Fix CVE-2024-12133: Potential DoS in handling of numerous SEQUENCE OF or SET OF elements |
| 16 |
|
| 17 |
# Noteworthy changes in release 4.19.0 (2022-08-23) [stable] |
| 18 |
- Clarify libtasn1.map license. Closes: #38. |
| 19 |
- Fix ETYPE_OK out of bounds read. Closes: #32. |
| 20 |
- Update gnulib files and various maintenance fixes. |
| 21 |
|
| 22 |
# Noteworthy changes in release 4.18.0 (2021-11-09) [stable] |
| 23 |
- Improve GTK-DOC manual. Closes: #35. |
| 24 |
- Improve --help and --version for tools with gnulib. Closes: #37. |
| 25 |
- Update gnulib files and various maintenance fixes. |
| 26 |
|
| 27 |
# Noteworthy changes in release 4.17.0 (2021-05-13) [stable] |
| 28 |
- Print deprecation messages for deprecated macros, thanks to Tim Rühsen. |
| 29 |
- Fix some clang issues due to illegal pointers, thanks to Stefan Weil. |
| 30 |
- Restore handling of SIZE nodes, thanks to Dmitry Baryshkov. |
| 31 |
- Fix memory leak caught by oss-fuzz, thanks to Dmitry Baryshkov. |
| 32 |
- Gtk-doc fixes, thanks to Dmitry Baryshkov. |
| 33 |
- Fix bugs unveiled by Static Analysis, reported by Simo Sorce. |
| 34 |
- Update gnulib files and many build fixes. |
| 35 |
|
| 36 |
# Noteworthy changes in release 4.16.0 (released 2020-02-01) [stable] |
| 37 |
- asn1_decode_simple_ber: added support for constructed definite |
| 38 |
octet strings. This allows this function decode the whole set of |
| 39 |
BER encodings for OCTET STRINGs. |
| 40 |
- asn1_get_object_id_der: enhance the range of decoded OIDs (#25). |
| 41 |
This also makes OID encoding and decoding more strict on invalid |
| 42 |
input. This may break gnutls' test suite before 3.6.12 as it was |
| 43 |
relying on decoding some invalid OIDs. |
| 44 |
- asn1_object_id_der: New function |
| 45 |
|
| 46 |
|
| 47 |
# Noteworthy changes in release 4.15.0 (released 2019-11-21) [stable] |
| 48 |
- The generated tree no longer contains ASN.1 built-in types even |
| 49 |
if they are explicitly defined in the description. Previously |
| 50 |
a warning was printed when these types were seen, now they are |
| 51 |
ignored. |
| 52 |
- Several fixes in ASN.1 definition parser, preventing several |
| 53 |
crashes and leaks in the tools due to improper ASN.1. |
| 54 |
- Switched to semantic versioning. |
| 55 |
|
| 56 |
|
| 57 |
# Noteworthy changes in release 4.14 (released 2019-07-21) [stable] |
| 58 |
- New #defines for version checking: ASN1_VERSION_MAJOR, ASN1_VERSION_MINOR, |
| 59 |
ASN1_VERSION_PATCH, ASN1_VERSION_NUMBER. The next release will switch |
| 60 |
to semantic version semantics. |
| 61 |
- Simplify ordering of SET OF elements by using qsort(). |
| 62 |
- Marked explicitly const uses of asn1_node with the introduction |
| 63 |
of the (compatible) asn1_node_const type. |
| 64 |
- Limit recursion in _asn1_expand_object_id() to detect infinite |
| 65 |
recursion in incorrect .asn files (#4). |
| 66 |
- asn1_array2tree(): fixed thread safety issues. |
| 67 |
- Several fixes in gtk-doc generation. |
| 68 |
|
| 69 |
|
| 70 |
# Noteworthy changes in release 4.13 (released 2018-01-16) [stable] |
| 71 |
- On indefinite string decoding, set a maximum level of allowed recursions |
| 72 |
(3) to protect the BER decoder from a stack exhaustion. |
| 73 |
|
| 74 |
# Noteworthy changes in release 4.12 (released 2017-05-29) [stable] |
| 75 |
- Corrected so-name version |
| 76 |
|
| 77 |
# Noteworthy changes in release 4.11 (released 2017-05-27) [stable] |
| 78 |
- Introduced the ASN1_TIME_ENCODING_ERROR error code to indicate |
| 79 |
an invalid encoding in the DER time fields. |
| 80 |
- Introduced flag ASN1_DECODE_FLAG_ALLOW_INCORRECT_TIME. This flag |
| 81 |
allows decoding errors in time fields even when in strict DER mode. |
| 82 |
That is introduced in order to allow toleration of invalid times in |
| 83 |
X.509 certificates (which are common) even though strict DER adherence |
| 84 |
is enforced in other fields. |
| 85 |
- Added safety check in asn1_find_node(). That prevents a crash |
| 86 |
when a very long variable name is provided by the developer. |
| 87 |
Note that this to be exploited requires controlling the ASN.1 |
| 88 |
definitions used by the developer, i.e., the 'name' parameter of |
| 89 |
asn1_write_value() or asn1_read_value(). The library is |
| 90 |
not designed to protect against malicious manipulation of the |
| 91 |
developer assigned variable names. Reported by Jakub Jirasek. |
| 92 |
|
| 93 |
# Noteworthy changes in release 4.10 (released 2017-01-16) [stable] |
| 94 |
- Updated gnulib |
| 95 |
- Removed -Werror from default compiler flags |
| 96 |
- Fixed undefined behavior when negating integers in _asn1_ltostr(). |
| 97 |
Issue found by oss-fuzz project (via gnutls): |
| 98 |
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=388 |
| 99 |
- Pass the correct length to _asn1_get_indefinite_length_string in |
| 100 |
asn1_get_length_ber. This addresses reading 1-byte past the end |
| 101 |
of data. Issue found by oss-fuzz project (via gnutls): |
| 102 |
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=330 |
| 103 |
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=331 |
| 104 |
|
| 105 |
# Noteworthy changes in release 4.9 (released 2016-07-25) [stable] |
| 106 |
- Fixes to OID encoding of OIDs which have elements which exceed 2^32 |
| 107 |
|
| 108 |
# Noteworthy changes in release 4.8 (released 2016-04-11) [stable] |
| 109 |
- Fixes to avoid reliance on C undefined behavior. |
| 110 |
- Fixes to avoid an infinite recursion when decoding without |
| 111 |
the ASN1_DECODE_FLAG_STRICT_DER flag. Reported by Pascal Cuoq. |
| 112 |
- Combined all the BER octet string decoding functions to a single |
| 113 |
one based on asn1_decode_simple_ber(). |
| 114 |
|
| 115 |
# Noteworthy changes in release 4.7 (released 2015-09-14) [stable] |
| 116 |
- Fixed regression introduced in the decoding of multi-byte tags |
| 117 |
fix. |
| 118 |
|
| 119 |
# Noteworthy changes in release 4.6 (released 2015-09-05) [stable] |
| 120 |
- Allow decoding OCTET STRINGs with multi-byte tags. |
| 121 |
- API and ABI changes since last version: |
| 122 |
asn1_get_object_id_der: New function |
| 123 |
|
| 124 |
# Noteworthy changes in release 4.5 (released 2015-04-29) [stable] |
| 125 |
- Corrected an invalid memory access in octet string decoding. |
| 126 |
Reported by Hanno Böck. |
| 127 |
|
| 128 |
# Noteworthy changes in release 4.4 (released 2015-03-29) [stable] |
| 129 |
- Corrected a two-byte stack overflow in asn1_der_decoding. Reported |
| 130 |
by Hanno Böck. |
| 131 |
|
| 132 |
# Noteworthy changes in release 4.3 (released 2015-03-09) [stable] |
| 133 |
- Added asn1_decode_simple_ber() |
| 134 |
|
| 135 |
# Noteworthy changes in release 4.2 (released 2014-09-15) [stable] |
| 136 |
- Added sanity checks in the decoding of time when |
| 137 |
ASN1_DECODE_FLAG_STRICT_DER is used. |
| 138 |
- Fixes in the decoding of OCTET STRING when close to the end |
| 139 |
of the structure. |
| 140 |
|
| 141 |
# Noteworthy changes in release 4.1 (released 2014-08-23) [stable] |
| 142 |
- Corrected indefinite tag check in ANY constructions. That allows |
| 143 |
the decoding of BER-encoded structures that contain indefinite |
| 144 |
encoding within an ANY element. |
| 145 |
- Added DER decoding flag ASN1_DECODE_FLAG_STRICT_DER. Over the |
| 146 |
years BER functionality was added to the decoder and this flag |
| 147 |
provides the way to disable it. |
| 148 |
- API and ABI changes since last version: |
| 149 |
ASN1_DECODE_FLAG_STRICT_DER: New definition |
| 150 |
|
| 151 |
# Noteworthy changes in release 4.0 (released 2014-06-26) [stable] |
| 152 |
- Optimized asn1_der_decoding_startEnd(). It no longer requires the |
| 153 |
additional decoding step. |
| 154 |
- asn1_read_value() understands the ?CURRENT keyword, which can be used |
| 155 |
to indicate the current element of a sequence, when the provided node |
| 156 |
is a sequence element. |
| 157 |
- Several optimizations in DER decoding of structures with sequences |
| 158 |
containing many elements. |
| 159 |
- asn1_der_decoding2() is introduced and allows flags to be passed on |
| 160 |
the decoding process. Currently only ASN1_DECODE_FLAG_ALLOW_PADDING is |
| 161 |
defined and that allows decoding DER structures that contain arbitrary |
| 162 |
data past their end. Contributed by Karel Slany. |
| 163 |
- API and ABI changes since last version: |
| 164 |
ASN1_DECODE_FLAG_ALLOW_PADDING: New definition |
| 165 |
asn1_dup_node: New function |
| 166 |
asn1_der_decoding2: New function |
| 167 |
asn1_der_decoding_element: It is now an alias to asn1_der_decoding |
| 168 |
|
| 169 |
# Noteworthy changes in release 3.6 (released 2014-05-25) [stable] |
| 170 |
- Corrected an off-by-one error in ASN.1 DER tag decoding. |
| 171 |
- Several improvements and new safety checks on DER decoding; |
| 172 |
issues found using Codenomicon TLS test suite. |
| 173 |
- Marked asn1_der_decoding_element() as deprecated. Use |
| 174 |
asn1_der_decoding() instead. |
| 175 |
|
| 176 |
# Noteworthy changes in release 3.5 (released 2014-05-01) [stable] |
| 177 |
- Correctly handle decoding of recursive CHOICE options. |
| 178 |
- Allow deleting elements of SET OF. Patch by Jean-Louis Thekekara. |
| 179 |
- Several small bug fixes found by coverity. |
| 180 |
- Code improvements contributed by Kurt Roeckx. |
| 181 |
|
| 182 |
# Noteworthy changes in release 3.4 (released 2013-11-25) [stable] |
| 183 |
- Added asn1_delete_structure2() which allows zeroizing the contents |
| 184 |
of all values in the structure prior to deinitialization. |
| 185 |
- The parser accepts negative numbers in an INTEGER range (but |
| 186 |
still does no enforce them). |
| 187 |
|
| 188 |
# Noteworthy changes in release 3.3 (released 2013-03-23) [stable] |
| 189 |
- More precise overflow checks using gnulib's intprops module. |
| 190 |
- Updates to compile in Android systems. |
| 191 |
|
| 192 |
# Noteworthy changes in release 3.2 (released 2012-11-30) [stable] |
| 193 |
- Corrected buffer overflow in the error reporting of the parser (reported |
| 194 |
by Andreas Metzler). |
| 195 |
|
| 196 |
# Noteworthy changes in release 3.1 (released 2012-11-24) [stable] |
| 197 |
- Completed rename of types: |
| 198 |
ASN1_ARRAY_TYPE -> asn1_static_node (was asn1_static_node_t) |
| 199 |
- Added new types: VisibleString, NumericString, IA5String, TeletexString, |
| 200 |
PrintableString, UniversalString, BMPString, UTF8String. When re-defined |
| 201 |
a warning is being print instead of failing. |
| 202 |
- Parser outputs more detailed syntax error messages. |
| 203 |
- Added asn1_decode_simple_der() and asn1_encode_simple_der(). |
| 204 |
- Added asn1_read_value_type() to return value and type. |
| 205 |
- Introduced ASN1_ETYPE_UTC_TIME and ASN1_ETYPE_GENERALIZED_TIME |
| 206 |
|
| 207 |
# Noteworthy changes in release 3.0 (2012-10-28) [stable] |
| 208 |
- Added tool in tests/ to benchmark X.509 structure decoding. |
| 209 |
- Added asn1_read_node_value() to obtain a node's value. |
| 210 |
- Optimizations in internal tree allocation. |
| 211 |
- Optimizations in tree search. |
| 212 |
- libtasn1.h no longer exports internal structures. |
| 213 |
- Types were renamed for consistency: |
| 214 |
ASN1_DATA_NODE -> asn1_data_node_st |
| 215 |
ASN1_ARRAY_TYPE -> asn1_static_node |
| 216 |
ASN1_TYPE -> asn1_node |
| 217 |
ASN1_TYPE_EMPTY -> NULL |
| 218 |
static_struct_asn -> asn1_static_node_st |
| 219 |
node_asn_struct -> asn1_node_st |
| 220 |
node_asn -> asn1_node_st |
| 221 |
(the old types are still available as definitions) |
| 222 |
|
| 223 |
# Noteworthy changes in release 2.13 (2012-05-31) [stable] |
| 224 |
- Updated fix for DER decoding issue to not depend on specific compilers. |
| 225 |
- Updated DER decoding check to apply to short form integers as well. |
| 226 |
|
| 227 |
# Noteworthy changes in release 2.12 (2012-03-19) [stable] |
| 228 |
- Cleanup license headers. |
| 229 |
- build: Update gnulib files. |
| 230 |
- Corrected DER decoding issue (reported by Matthew Hall). |
| 231 |
Added self check to detect the problem, see tests/Test_overflow.c. |
| 232 |
This problem can lead to at least remotely triggered crashes, see |
| 233 |
further analysis on the libtasn1 mailing list. |
| 234 |
|
| 235 |
# Noteworthy changes in release 2.11 (2011-11-25) [stable] |
| 236 |
- qa: Now builds without compiler warnings with Solaris CC. |
| 237 |
- qa: Added clang analysis. Fixed cyclomatic complexity output. |
| 238 |
- tests: Added self-test of bit string functions. |
| 239 |
- build: Added windows/libtasn14win.mk rules to produce Windows binaries. |
| 240 |
- build: Don't hard code path to perl in doc/gdoc. |
| 241 |
- Various minor fixes. |
| 242 |
|
| 243 |
# Noteworthy changes in release 2.10 (2011-10-25) [stable] |
| 244 |
- lib: Small optimization, possibly working around gcc/valgrind issue. |
| 245 |
- build: Update gnulib files. |
| 246 |
- asn1Coding: actually implement the -c parameter. |
| 247 |
- asn1Decoding: the -c parameter serves no purpose, remove it. |
| 248 |
- doc: Add examples to asn1Coding and asn1Decoding description. |
| 249 |
|
| 250 |
# Noteworthy changes in release 2.9 (2010-12-06) [stable] |
| 251 |
- tests: Link to gnulib to avoid build error related to 'rpl_ftello' on Solaris. |
| 252 |
Reported by Dagobert Michelsen. |
| 253 |
- doc: Fix bug reporting address to point at [email protected]. |
| 254 |
- doc: Fix Returns: documentation in Texinfo. Reported by Jeffrey Walton. |
| 255 |
- build: Update gnulib files. |
| 256 |
|
| 257 |
# Noteworthy changes in release 2.8 (2010-09-25) [stable] |
| 258 |
- Update gnulib files. |
| 259 |
- Use Libtool 2.2.10 to ease MinGW64 builds. |
| 260 |
|
| 261 |
# Noteworthy changes in release 2.7 (2010-05-20) [stable] |
| 262 |
- Doc: Build a PDF manual using GTK-DOC. |
| 263 |
- Doc: Fix of asn1_check_version, documentation was missing from last release. |
| 264 |
- Build: Avoid warnings about ignored visibility attributes on Windows. |
| 265 |
|
| 266 |
# Noteworthy changes in release 2.6 (2010-04-20) [stable] |
| 267 |
- Fix build failure on platforms without support for GNU LD version scripts. |
| 268 |
- libtasn1: Simplified implementation of asn1_check_version. |
| 269 |
- tests: Improved self-checks. |
| 270 |
- Update gnulib files, fix many syntax-check nits, indent code, |
| 271 |
fix license templates. |
| 272 |
|
| 273 |
# Noteworthy changes in release 2.5 (2010-03-15) [stable] |
| 274 |
- doc: Improve GTK-DOC comments. |
| 275 |
- misc: Updated gnulib files. |
| 276 |
|
| 277 |
# Noteworthy changes in release 2.4 (2010-01-18) [stable] |
| 278 |
- Doc fixes. |
| 279 |
- Updated gnulib files. |
| 280 |
- Clean up copyright notices. |
| 281 |
|
| 282 |
# Noteworthy changes in release 2.3 (2009-07-29) [stable] |
| 283 |
- Libtasn1 is now an official GNU project. |
| 284 |
- Solve build problem on Tru64 related to TRUE/FALSE. |
| 285 |
- More careful decoding of OIDs. |
| 286 |
- Fixed warning in ASN1.y. |
| 287 |
- Use "Software libraries" info dircategory. |
| 288 |
- Drop GPL/LGPL copies from the manual (not needed there). |
| 289 |
- New configure parameters to set packaging specific information. |
| 290 |
The parameters are --with-packager, --with-packager-version, and |
| 291 |
--with-packager-bug-reports. See |
| 292 |
<http://article.gmane.org/gmane.comp.lib.gnulib.bugs/17791> for more |
| 293 |
details. |
| 294 |
|
| 295 |
# Noteworthy changes in release 2.2 (2009-05-20) [stable] |
| 296 |
- Change how the ASN1_API decorator is used in libtasn1.h, for GTK-DOC. |
| 297 |
- Changed license of libtasn1.pc from GPLv3+ to LGPLv2.1+. |
| 298 |
Reported by Jeff Cai <[email protected]>. |
| 299 |
- Building with many warning flags now requires --enable-gcc-warnings. |
| 300 |
- Some warnings fixed. |
| 301 |
|
| 302 |
# Noteworthy changes in release 2.1 (2009-04-17) [stable] |
| 303 |
- Fix compilation failure on platforms that can't generate empty archives, |
| 304 |
e.g., Mac OS X. Reported by David Reiser <[email protected]>. |
| 305 |
|
| 306 |
# Noteworthy changes in release 2.0 (2009-04-13) [stable] |
| 307 |
- Optimized tree generation. |
| 308 |
- ASN1 parser code re-generated using Bison 2.4.1. |
| 309 |
- Build with more warning flags. Many compiler warnings fixed. |
| 310 |
- Compiled with -fvisibility=hidden by default if supported. |
| 311 |
See http://gcc.gnu.org/wiki/Visibility |
| 312 |
- The libtasn1-config tool has been removed. |
| 313 |
For application developers, please stop using libtasn1-config for |
| 314 |
finding libtasn1, use proper autoconf checks or pkg-config instead. |
| 315 |
For users that need a libtasn1 that provides a libtasn1-config |
| 316 |
script (for use with older applications), use libtasn1 v1.x instead. |
| 317 |
Version 1.x is still supported. |
| 318 |
|
| 319 |
# Noteworthy changes in release 1.8 (2009-01-16) [stable] |
| 320 |
- Fix crlf self-test under Mingw+Wine. |
| 321 |
- Fix build problems on platforms that lack stdint.h. |
| 322 |
Reported by Dagobert Michelsen <[email protected]> in |
| 323 |
<http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3377>. |
| 324 |
|
| 325 |
# Noteworthy changes in release 1.7 (2008-11-17) [stable] |
| 326 |
- Add libtasn1-config for compatibility. |
| 327 |
Please stop use it as it will disappear in v2.0! |
| 328 |
Use standard AC_CHECK_FUNCS autoconf tests or pkg-config instead. |
| 329 |
- Read PKCS#12 blob as binary file, fixes self-tests under Mingw. |
| 330 |
- Fix use of __attribute__ ((deprecated)) to work on non-GCC (#106548). |
| 331 |
|
| 332 |
# Noteworthy changes in release 1.6 (2008-11-10) [stable] |
| 333 |
- Fixed namespace violation for MAX_NAME_SIZE and MAX_ERROR_DESCRIPTION_SIZE. |
| 334 |
The new names are ASN1_MAX_NAME_SIZE and ASN1_MAX_ERROR_DESCRIPTION_SIZE. |
| 335 |
- Fixed namespace violation for libtasn1_perror and libtasn1_strerror. |
| 336 |
The new names are asn1_perror and asn1_strerror. |
| 337 |
- Fix namespace violation for LIBASN1_VERSION. |
| 338 |
The new name is ASN1_VERSION. |
| 339 |
- Decoder can now decode BER encoded octet strings. |
| 340 |
- doc: Change license on the manual to GFDLv1.3+. |
| 341 |
- doc: Sync gdoc script with GnuTLS, changes license on man-pages to GAP. |
| 342 |
- doc: Improve gtk-doc manual. |
| 343 |
- Assumes system has strdup and string.h. |
| 344 |
- Remove libtasn1-config and libtasn1.m4, |
| 345 |
use standard AC_CHECK_FUNCS autoconf tests or pkg-config instead. |
| 346 |
- Change detection of when to use a linker version script, |
| 347 |
use --enable-ld-version-script or --disable-ld-version-script to |
| 348 |
override auto-detection logic. |
| 349 |
- API and ABI changes since last version: |
| 350 |
asn1_get_length_ber: New function. |
| 351 |
ASN1_VERSION: New symbol, replaces LIBTASN1_VERSION. |
| 352 |
asn1_strerror: New function, replaces libtasn1_strerror. |
| 353 |
asn1_perror: New function, replaces libtasn1_perror. |
| 354 |
libtasn1_strerror: Marked as deprecated. |
| 355 |
libtasn1_perror: Marked as deprecated. |
| 356 |
LIBTASN1_VERSION: Deprecated. |
| 357 |
|
| 358 |
# Noteworthy changes in release 1.5 (2008-07-29) [stable] |
| 359 |
- Update gnulib files. |
| 360 |
- Fix memory leaks, from Christian Grothoff <[email protected]>. |
| 361 |
|
| 362 |
# Noteworthy changes in release 1.4 (2008-04-21) [stable] |
| 363 |
- Update gnulib files. |
| 364 |
- Replace uses of alloca with malloc. |
| 365 |
|
| 366 |
# Noteworthy changes in release 1.3 (2008-02-01) [stable] |
| 367 |
- Handle 'INTEGER { ... } (a..b)' regression. |
| 368 |
Revert parts of earlier fix. asn1Parser can now again parse src/pkix.asn1. |
| 369 |
The ASN1.c file was generated using Bison 2.3. |
| 370 |
- Move examples from src/ to new directory examples/. |
| 371 |
- Duplicate copy of divergated pkix.asn removed. |
| 372 |
- Merge unnecessary lib/defines.h into lib/int.h. |
| 373 |
- Configure no longer tries to use gcc -pipe. |
| 374 |
- Update gnulib files. |
| 375 |
- Fix mem leak in self-test. |
| 376 |
|
| 377 |
# Noteworthy changes in release 1.2 (2007-12-10) [stable] |
| 378 |
- Update gnulib files. |
| 379 |
|
| 380 |
# Noteworthy changes in release 1.1 (2007-08-31) [stable] |
| 381 |
- Fix bug that made asn1_check_version believe that 1.0 is older than 0.3.10. |
| 382 |
|
| 383 |
# Noteworthy changes in release 1.0 (2007-08-31) [stable] |
| 384 |
- The self-tests, command line tools and build infrastructure have |
| 385 |
been re-licensed from GPLv2 to GPLv3. |
| 386 |
- Doc fixes. |
| 387 |
- Update gnulib files. |
| 388 |
|
| 389 |
# Noteworthy changes in release 0.3.10 (2007-05-25) |
| 390 |
- Update gnulib files. |
| 391 |
|
| 392 |
# Noteworthy changes in release 0.3.9 (2007-03-02) |
| 393 |
- In generated code, config.h is pulled in if HAVE_CONFIG_H. |
| 394 |
- Development changes: changed from CVS to GIT as an experiment. |
| 395 |
I push my changes to <http://repo.or.cz/w/libtasn1.git>. |
| 396 |
- Autoconf 2.61 and automake 1.10 is required. |
| 397 |
|
| 398 |
# Noteworthy changes in release 0.3.8 (2006-11-16) |
| 399 |
- Fix reading of binary files in asn1Decoding, for Windows. |
| 400 |
|
| 401 |
# Noteworthy changes in release 0.3.7 (2006-10-19) |
| 402 |
- When asn1_der_coding encoded a TYPE_NULL and the output buffer is |
| 403 |
NULL, it would not increment the counter properly, so the size of |
| 404 |
the required buffer would be off by one. Fixed. Reported by |
| 405 |
Stephen Wrobleski <[email protected]>. |
| 406 |
- Fix configure to respect user-definable flags. Reported by "Diego |
| 407 |
'Flameeyes' Pettenò" <[email protected]>. |
| 408 |
- The --help and --version outputs from the tools have been improved. |
| 409 |
|
| 410 |
# Noteworthy changes in release 0.3.6 (2006-08-13) |
| 411 |
- Fix man pages to use \- instead of - for negative signs (as in "-1"). |
| 412 |
- Add -I's when building in src/, so that unistd.h etc is found on |
| 413 |
systems that doesn't have them. |
| 414 |
- Valgrind isn't used for cross-compilation by default, and there is |
| 415 |
also --disable-valgrind-tests to unconditionally disable it. |
| 416 |
- Valgrind is invoked without parameters, put things you like into |
| 417 |
~/.valgrindrc instead. |
| 418 |
|
| 419 |
# Noteworthy changes in release 0.3.5 (2006-06-27) |
| 420 |
- Fix asn1_octet_der to handle writes of zero-length buffers, before |
| 421 |
it did not write the ASN.1 length for a zero-length buffer. This caused |
| 422 |
ASN.1 encodings to be incorrect on 64-bit platforms. |
| 423 |
- Add self test that attempt to trigger the above bug. |
| 424 |
- Fix test of -Wno-pointer-sign. |
| 425 |
- Improve cross-compilation to MinGW by using AC_LIBTOOL_WIN32_DLL. |
| 426 |
|
| 427 |
# Noteworthy changes in release 0.3.4 (2006-05-10) |
| 428 |
- Really fix encodings. |
| 429 |
- Add new self test, tests/Test_encoding.c. |
| 430 |
- Self tests are ran under valgrind, if it is available. |
| 431 |
- We test for the -Wno-pointer-sign parameter before using it. |
| 432 |
|
| 433 |
# Noteworthy changes in release 0.3.3 (2006-05-07) |
| 434 |
- Add some 'const' to prototypes. |
| 435 |
- Remove some 'unsigned' keywords. |
| 436 |
- Corrected asn1_der_coding() bug introduced when it became reentrant. |
| 437 |
Now it produces correct encodings. |
| 438 |
|
| 439 |
# Noteworthy changes in release 0.3.2 |
| 440 |
- Corrected bug in asn1_der_coding() which overwrote some |
| 441 |
data in the original structure. |
| 442 |
- The asn1Parser, asn1Coding and asn1Decoding programs are now installed. |
| 443 |
|
| 444 |
# Noteworthy changes in release 0.3.1 |
| 445 |
- Support constant size bit strings, as in 'BIT STRING (SIZE(42))'. |
| 446 |
Reported by Cyril Holweck <[email protected]>. |
| 447 |
- Add two more APIs required by GnuTLS. |
| 448 |
- New public APIs: |
| 449 |
asn1_find_node function |
| 450 |
asn1_copy_node |
| 451 |
|
| 452 |
# Noteworthy changes in release 0.3.0 |
| 453 |
- Export DER utility functions, mostly so that GnuTLS can avoid using |
| 454 |
libtasn1 internals. |
| 455 |
- The _asn1* symbols are not exported in the shared library file (when |
| 456 |
using GNU ld). |
| 457 |
- The library can now be built using Visual Studio, and the project |
| 458 |
files are included in windows/. |
| 459 |
- New public APIs: |
| 460 |
asn1_get_tag_der |
| 461 |
asn1_octet_der |
| 462 |
asn1_get_octet_der |
| 463 |
asn1_bit_der |
| 464 |
asn1_get_bit_der |
| 465 |
asn1_get_length_der |
| 466 |
asn1_length_der |
| 467 |
|
| 468 |
# Noteworthy changes in release 0.2.18 |
| 469 |
- Fix out-of-bounds access in DER decoding, reported by Evgeny Legerov. |
| 470 |
- Add 'const' keyword to some prototypes, thanks to Frediano ZIGLIO. |
| 471 |
- Fixed typo in src/Makefile.am to make it build with objdir != srcdir, |
| 472 |
thanks to Bernard Leak. |
| 473 |
- Update of gnulib files. |
| 474 |
- Typo fixes in comments, e.g. finish libasn1 to libtasn1 renaming, |
| 475 |
use LGPL boiler plate on some files in lib/. |
| 476 |
|
| 477 |
# Noteworthy changes in release 0.2.17 |
| 478 |
- Fixed typo to make it build. |
| 479 |
|
| 480 |
# Noteworthy changes in release 0.2.16 |
| 481 |
- # Noteworthy changes in release script added again. |
| 482 |
|
| 483 |
# Noteworthy changes in release 0.2.15 |
| 484 |
- Gnulib is used to implement memmove if your system does not have it. |
| 485 |
- Simplified assert/error handling slightly. |
| 486 |
|
| 487 |
# Noteworthy changes in release 0.2.14 |
| 488 |
- Some build fixes. |
| 489 |
- Pkg-config script 'libtasn1.pc' added. |
| 490 |
- Postal address to FSF in license updated. |
| 491 |
|
| 492 |
# Noteworthy changes in release 0.2.13 |
| 493 |
- # Noteworthy changes in release number in libtasn1.h updated properly. |
| 494 |
|
| 495 |
# Noteworthy changes in release 0.2.12 |
| 496 |
- Manual converted to Texinfo format. |
| 497 |
- Manual in GTK-DOC and DevHelp formats added. |
| 498 |
- Man pages for all functions added. |
| 499 |
- Various internal cleanups. |
| 500 |
|
| 501 |
# Noteworthy changes in release 0.2.11 |
| 502 |
- Added the self test with "make check" target |
| 503 |
- Added management of ANY type with null length |
| 504 |
- Corrected some writes to invalid data. |
| 505 |
|
| 506 |
# Noteworthy changes in release 0.2.10 |
| 507 |
- Added scripts to assist in libtasn1 version detection |
| 508 |
from configure scripts. |
| 509 |
- Corrected a DER decoding bug which was reported |
| 510 |
by Max Vozeler <[email protected]>. |
| 511 |
|
| 512 |
# Noteworthy changes in release 0.2.9 |
| 513 |
- Accept negative numbers as range in INTEGER declarations |
| 514 |
|
| 515 |
# Noteworthy changes in release 0.2.8 |
| 516 |
- Add asn1_delete_element function |
| 517 |
|
| 518 |
# Noteworthy changes in release 0.2.7 |
| 519 |
- Added versioned symbols. |
| 520 |
|
| 521 |
# Noteworthy changes in release 0.2.6 |
| 522 |
- ASN.1 parser accepts these kinds of integer definitions: |
| 523 |
"INTEGER (5 | 10)" and |
| 524 |
"INTEGER (5)" |
| 525 |
- Comments start at "--" and finish at the "end of line" or |
| 526 |
with another "--". |
| 527 |
|
| 528 |
# Noteworthy changes in release 0.2.5 |
| 529 |
- Bug fix in ordering procedure for SET OF and SEQUENCE OF |
| 530 |
types coding. |
| 531 |
- Manage structured format (BER encoding) in |
| 532 |
asn1_der_decoding, asn1_decoding_element and |
| 533 |
asn1_der_decoding_startEnd for OCTET STRING type. |
| 534 |
- Manage SEQUENCE and SET empty structure. |
| 535 |
- Manage "indefinite length method" in asn1_der_decoding, |
| 536 |
asn1_decoding_element and asn1_der_decoding_startEnd |
| 537 |
for the following types: |
| 538 |
SEQUENCE, SEQUENCE OF, SET, and SET OF. |
| 539 |
- Bug fix in asn1_read_value with NULL parameter in case |
| 540 |
of BIT STRING |
| 541 |
|
| 542 |
# Noteworthy changes in release 0.2.4 |
| 543 |
- Bug fix in asn1_der_coding with NULL parameter |
| 544 |
- Manage DEFAULT option with OBJECT IDENTIFIER |
| 545 |
|
| 546 |
# Noteworthy changes in release 0.2.3 |
| 547 |
- Change asn1_find_structure_from_oid prototype |
| 548 |
- Change asn1_find_structure_from_oid prototype |
| 549 |
- Add ASN1_MEM_ALLOC_ERROR return value |
| 550 |
|
| 551 |
# Noteworthy changes in release 0.2.2 |
| 552 |
- Add vector length check in asn1_der_coding function |
| 553 |
- Add vector length check in asn1_der_coding function |
| 554 |
- Add vector length check in asn1_read_value function |
| 555 |
- Add asn1_check_version function |
| 556 |
|
| 557 |
# Noteworthy changes in release 0.2.1 |
| 558 |
- Add asn1_find_structure_from_oid function |
| 559 |
- Add asn1_read_tag function |
| 560 |
|
| 561 |
# Noteworthy changes in release 0.2.0 |
| 562 |
- Support for other platforms |
| 563 |
- Change asn1_create_element function interface (dest_name not needed any more) |
| 564 |
- Change OBJECT IDENTIFIER syntax: numbers must be separated by dot in |
| 565 |
asn1_write_element and asn1_read_element functions (e.g. "1.2.3.4") |
| 566 |
|
| 567 |
# Noteworthy changes in release 0.1.2 |
| 568 |
- Added GeneralString type |
| 569 |
- Fixed a DER encoding bug when nested tags are used |
| 570 |
|
| 571 |
# Noteworthy changes in release 0.1.1 |
| 572 |
- Renamed to libtasn1 |
| 573 |
- Functions which return a string for error description |
| 574 |
now accept a NULL argument. |
| 575 |
- License is now GNU Lesser GPL |
| 576 |
|
| 577 |
# Noteworthy changes in release 0.1.0 |
| 578 |
- Initial release |
| 579 |
|
| 580 |
---------------------------------------------------------------------- |
| 581 |
Copyright (C) 2002-2026 Free Software Foundation, Inc. |
| 582 |
Copying and distribution of this file, with or without modification, |
| 583 |
are permitted in any medium without royalty provided the copyright |
| 584 |
notice and this notice are preserved. |