Debian Codegraph @

ChangeLog_V3

raw
1
2 Changelog
3 =========
4
5 3.3.1 2024-05-11
6 Bugfix: Add path "$PREFIX/include" to pkg-config files. The
7 former "$PREFIX/include/libcanlock-3" is still present for
8 compatibility to existing code. The "libcanlock-3" directory
9 should be part of preprocessor directives (as documented)
10 Bugfix: Replace license name "MIT-like" with "ICU". Note that
11 the license terms are unchanged (only the name was fixed)
12 Add machine readable SPDX license identifiers.
13
14 3.3.0 2021-11-24
15 Feature release to make the package more useful for servers
16 Bugfix: canlock-mhp utility no longer hangs if field name was
17 not found
18 Bugfix: Potential NULL-pointer dereference fixed in canlock
19 utility (Reported by Dennis Preiser)
20 Bugfix: Two memory leaks fixed in canlock-hfp utility
21 (Reported by Dennis Preiser)
22 Bugfix: Multiple bugs in test suite fixed, where return
23 values from library functions were not handled correctly
24 (Reported by Dennis Preiser)
25 Bugfix: Two memory leaks fixed in test suite for legacy API
26 (Found by Valgrind)
27 Bugfix: NAME sections of cl_clear_secret(), cl_get_lock(),
28 cl_split() and cl_verify() man pages fixed (Reported by
29 Julien Elie)
30 Bugfix: Typos in canlock-mhp, cl_get_key() and cl_get_lock()
31 man pages fixed (Reported by Julien Elie)
32 Bugfix: Typos in comments and documentation fixed (Reported
33 by Urs Janssen)
34 Separate library libcanlock-hp added to execute the header
35 parsers (for operating systems with POSIX API)
36 New libcanlock-hp API function to unfold header fields added
37 (Suggested by Julien Elie)
38 Manual pages added for the new library
39 Test suite extended for the new library. Tests for parser
40 functions are skipped by default (because they require the
41 installed parser utilities)
42 New libcanlock API function cl_verify_multi() added to check
43 multiple keys against multiple locks
44 Library API and ABI are backward compatible
45 Test suite extended: It now tests cl_verify_multi() too
46 canlock utility now supports the option "-m" to check
47 multiple keys against multiple locks
48 Option "-m" added to SYNOPSIS section of canlock man page
49 (Suggested by Marcel Logen)
50 Example programs added to the "examples" and "hp/examples"
51 subdirectories (Suggested by Julien Elie)
52 Documentation for RFC 8315 Section 4 added to cl_get_key()
53 and cl_get_lock() man pages (Suggested by Julien Elie)
54 Paragraph for optional User-ID (<uid> in RFC 8315 notation)
55 added to cl_get_key() and cl_get_lock() man pages (Suggested
56 by Julien Elie)
57 Examples for minimum size of local secret added to cl_get_key()
58 and cl_get_lock() man pages (Suggested by Julien Elie)
59 Removed some redundant notes from the output of "canlock -h"
60 (Suggested by Julien Elie)
61
62 3.2.2 2021-01-07
63 Bugfix: Header field name is not found by canlock-mhp if there
64 is another header field for which only the prefix differs (and
65 that other field is processed first)
66 Test suite for canlock-mhp parser extended: It now tests headers
67 larger than 4 KiByte and for the field prefix bug fixed in this
68 version
69 Lexer of canlock-hfp has problems to detect T_CTEXT tokens on
70 HP-UX (relevant only if the header field contains comments)
71 The syntax of the ERE for T_CTEXT was rewritten to be compatible
72 with the SysV lex of HP-UX 11.11
73 Test suite for canlock-hfp parser extended to test comments harder
74 Namespace clash of internal library functions with libc on NetBSD
75 Changed internal API function names hmac* to RFC2104Hmac*
76 Changed internal API function names hkdf* to RFC5869Hkdf*
77 Library API and ABI are fully compatible if no undocumented
78 functions are used
79 libcanlock-3.pc: Changed protocol in URL from http to https
80
81 3.2.1 2020-11-28
82 Bugfix: off-by-one heap buffer overflow fixed in canlock-mhp
83 (If header is larger than 4 KiByte. Found by Valgrind)
84 Bugfix: canlock-mhp end of header detection fixed
85 (Found by test suite on openSUSE. Reported by Martin Hauke)
86
87 3.2.0 2020-05-11
88 Support for pkg-config with option "--enable-pc-files" added
89 (Default behaviour is unchanged). This option installs the
90 pkg-config file "libcanlock-3.pc". The standard option
91 "--with-pkgconfigdir" can be used to specify the target directory
92 Shared library no longer exports internal symbols, if possible
93 (using #pragma GCC visibility). Library API and ABI are fully
94 compatible if no undocumented functions are used.
95 Build system: Distributed autotools files updated
96
97 3.1.1 2019-12-29
98 Bugfix: Potential buffer overflows in code from RFC6234 fixed.
99 Related code is used for test suite only, installed library and
100 utilities are not affected (Reported by Florian Schlichting)
101 Build system: Makefile rules fixed that use DIST_SUBDIRS variable
102 src/canlock.c: Fixed typo in comment (Reported by Urs Janssen)
103
104 3.1.0 2019-01-26
105 Merged canlock-hp into libcanlock package (now tracking the version
106 number of the libcanlock package)
107 Configure option "--disable-hp" added (Default is set to build
108 canlock-hp, use this option to get the behaviour from 3.0.x)
109 Manual page of canlock-hfp utility updated
110 Library API and ABI are unchanged
111
112 3.0.3 2018-12-05
113 Build system fixed for cross build (Patch suggested by Helmut Grohne,
114 modified to work on macOS)
115
116 3.0.2 2018-08-18
117 Configure option "--disable-legacy-api" added (Default behaviour is
118 unchanged)
119 Test suite updated:
120 API test 5 with <clue-string> removed (Obsolete since 20 years)
121 API test 8 with unknown <scheme> added
122 API test 9 with <scheme> mismatch added
123 Manual page of canlock utility updated
124
125 3.0.1 2018-03-16
126 Man page section numbers fixed (Patch from Florian Schlichting)
127 Minimum required automake version set to 1.11.6 (there is a security
128 vulnerability in 1.11.5)
129
130 3.0.0 2018-01-17
131 API for arbitrary hash algorithm added (Written by Dennis Preiser)
132 Support for SHA2 added (Using code from RFC6234 section 8)
133 SHA1 implementation replaced (Using code from RFC6234 section 8)
134 Function to overwrite secret data in memory added
135 Command line utility added
136 Test program for new API added
137 Test program for SHA implementation replaced
138 New portable build system added (Based on GNU autotools)
139 Man pages added
140 Release version scheme changed
141
142
143 EOF