Increase version to 0.10.3
[libisds.git] / NEWS
blobfb9287a4ea1a6f0efeb9dae5dcdcf66cf544e857
1 Version 0.10.3
2 ==============
4 • This release is fully compatible with the previous one.
6 • Dollar characters controlling argument orderding were removed from
7 printf-like formatting strings. They are not supported in mingw toolchain and
8 caused one-time password authentication failures on Windows platform.
10 • Logging binary blobs on debug level could read unitialized memory on
11 platforms where size_t type is not compatible with int type. This is fixed
12 now.
14 • An indentation warning reported by GCC 6 was fixed.
16 Version 0.10.2
17 ==============
19 • This release is fully compatible with previous one. There are only minimal
20 changes allowing to build without libcurl.
22 • Compilation failed if libcurl support was disabled. This is fixed now.
24 Version 0.10.1
25 ==============
27 • This release is fully compatible with previous one. There are no changes in
28 the code. Only tests were updated.
30 • Pregenerated certificates used for tests expired causing a test unit to
31 fail. This release updates the certificates.
33 Version 0.10
34 ============
36 • A new ISDSSearch2 service was implemented by an isds_find_box_by_fulltext()
37 function.
39 • The OpenSSL library can be used instead of the default GPGme library by
40 specifying --enable-openssl-backend option to the configure script.
42 • When parsing ISO 8601 date-time strings from a server response, microsecond
43 fractions are properly rounded (half up) now.
45 • An use-after-free bug in parsing SOAP response has been fixed.
47 • Handling su_seconds_t type used in the timeval structure was corrected to
48 enable flawless compilation with Mac OS X standard library.
50 • Various signedness mismataches which could lead to an undefined behaviour
51 were fixed.
53 • A work-around for accessing the strdup(3) function in Mac OS X standard
54 library was applied.
56 Version 0.9
57 ===========
59 • New functions isds_PersonName_free(), isds_BirthInfo_free(), and
60 isds_Address_free() have been added. Applications can use them for deallocating
61 isds_PersonName, isds_BirthInfo, and isds_Address structures.
63 • A memory leak in isds_DbOwnerInfo_free() has been fixed.
65 • A new glibc feature-macro _DEFAULT_SOURCE is used to silent warnings about
66 deprecated _SVID_SOURCE and _BSD_SOURCE macros. This is will be needed since
67 glibc-2.20 although current manual pages do not document this change.
69 • `template' identifier has been renamed in header files not to clash with C++
70 keywords.
72 • Global variable definitions have been moved from a private header file into
73 compilation units to satisfy strict OS X linker.
75 • This release is binary compatible with previous version 0.8. However
76 applications built against 0.9 are not guaranteed to work with 0.8.
78 • Documentation for GetDataBoxList SOAP service has been updated to align with
79 specification released on 2014-01-14.
81 • Internal test suite encountered many improvements (more return value checks,
82 NULL pointer dereference and memory leaks fixes, closing sockets fixed, some
83 code was simplified).
85 Version 0.8
86 ===========
88 • New ISDS service DataBoxCreditInfo has been implemented as
89 isds_get_commercial_credit(). This allows to retrieve current credit amount
90 available to the box owner for commercial activities like sending commercial
91 messages or using long term storage. It also allows to obtain recent history
92 of credit changes.
94 • Preliminary support for building with MinGW tool-chain has been added. Not
95 all tests have been ported yet.
97 • The MIME type normalization is case insensitive now.
99 • Status codes 1007 and 2011 of CheckDataBox ISDS service, bad box ID, are
100 recognized now and reported to the application as IE_INVAL.
102 • This release is binary compatible with previous version 0.7. However
103 applications built against 0.8 are not guaranteed to work with 0.7.
105 • The build system, autotools and gettext scripts namely, has been updated.
107 • NULL pointer dereference while parsing second and next permissions for
108 sending commercial messages has been fixed in the
109 isds_get_commercial_permissions() function.
111 • Bad arguments handling at isds_get_message_sender() function that could lead
112 to crash has been fixed.
114 Version 0.7
115 ===========
117 • New ISDS service Re-signISDSDocument has been implemented as
118 isds_resign_message() function. This can be used for adding time stamp to
119 already signed message or delivery details that had been produced without the
120 time stamp.
122 • TLS errors from cURL library are reported as IE_SECURITY to libisds
123 applications now. This is new isds_error value and it denotes any security
124 problem leading to abort of requested operation.
126 • This release is ABI-compatible with previous version 0.6. However
127 applications built against 0.7 are not guaranteed to work with 0.6.
129 • Internal test suite checks TLS authentication. GnuTLS is needed for
130 building tests now.
132 • Parsing dmRecipientOrgUnitNum value from message envelope has been fixed.
134 • A memory leak when using XPath has been fixed.
136 Version 0.6.2
137 =============
139 • Building tests out of source tree has been fixed.
141 Version 0.6.1
142 =============
144 • Missing test/simline/server_types.h files has been added into distribution
145 to fix test suite compilation.
147 Version 0.6
148 ===========
150 • ABI changed due to changes in specification. Some functions got additional
151 parameters or return codes.
153 • One-time password (OTP) authentication implemented. There is a new argument
154 at isds_login() and isds_change_password() functions of type struct isds_otp*.
155 Pass NULL if do not request OTP authentication.  The structure is used to
156 select OTP method (HMAC- or time-based code), to pass the OTP code (use NULL
157 to ask server for new time-based code), and to retrieve fine state of OTP
158 authentication. The functions can return IE_PARTIAL_SUCCESS if time-based
159 method is selected and server sent the new OTP code successfully.
160 OTP-authenticated context resides on URL different from others (use NULL or
161 isds_otp_locator for official instance or isds_otp_testing_locator for testing
162 instance). You can try client/login tool to check OTP-authenticated log-in.
163 You can use client/hotp_generator tool to generate series of HMAC-based OTP
164 codes (requires Perl Authen::OATH module).  There is a bug in cURL < 7.28.0
165 preventing from correct re-authentication. If you have unpatched cURL,
166 configure libisds with `--enable-curlreauthorizationbug' option. (See INSTALL
167 for more details.)
169 • isds_change_password() has additional argument to retrieve reference number
170 of the request assigned by the server. Pass NULL if you do not care.
172 • Internal tests check log-in procedure against simulated ISDS server. You can
173 run the simulated server as standalone executable in test/simline/server_cli
174 to check another clients. The server implements besides authentication
175 DummyRequest, services for changing passwords and EraseMessage.
177 • New DeleteDataBoxPromptly service implemented as isds_delete_box_promptly().
178 (This service is not documented in the specification).
180 • New PDZInfo service implemented as isds_get_commercial_permissions(). This
181 service enables application to know whether it can send commercial messages,
182 which subtypes of commercial messages can send (there are differences on
183 payment type), and to retrieve tokens for sending such messages.
185 • New service EraseMessage implemented as isds_delete_message_from_storage().
186 This function can be used to delete messages stored in long term storage (also
187 known as safe previously). Only messages in the long term storage can be
188 explicitly deleted.
190 • New user types USERTYPE_LIQUIDATOR (company liquidator) and
191 USERTYPE_OFFICIAL_CERT (undocumented in specification) added.
193 • Return value of isds_normalize_mime_type() is pointer to constant string now
194 to discourage application from fiddling with the value.
196 • Autoconf m4 macros have been updated (curl-7.26.0, gettext-0.18.1.1,
197 gpgme-1.3.1, libgcrypt-1.5.0, libtool-2.4.2, libxml2-2.8.0).
199 Version 0.5
200 ===========
202 • ABI changed due to changes in specification. API is preserved. Please
203 recompile your applications.
205 • This release has not been tested on real system because devoloper has not
206 obtained new testing account yet. But he believes library works. Testers are
207 welcome.
209 • Delivery events 5, 10, 11, 12, and 13 are recognized now.
211 • GetMessageAuthor service implemented as get_message_sender() function.
213 • New isds_envelope member `dmPublishOwnID' added. It allows sender to reveal
214 his natural name to recipient on sending a message.
216 • isds_GetDataBoxUsers() can return empty list of users now.
218 • New document types recognised. MIME types of Software602 forms have been
219 changed to reflect IANA registry.
221 • Credential for testing account removed from documentation and code. Owner of
222 ISDS removed all testing accounts, testers must request for new account and
223 must agree with new rules including keeping credentials in secret and
224 non-disclosuring found bugs in ISDS. Example clients and on-line tests read
225 credentials from environment and central file in build root direcotory. See
226 README for more details.
228 • Errors from libxml2 parser are captured by libisds log system as ILF_XML
229 facility and at ILL_ERROR level. Application can get them by standard library
230 interface.
232 • Library can be compiled without support for network operation by passing
233 `--without-libcurl' option to configure script. All functions dependent on
234 network remain available and will return IE_NOTSUP return code.
236 • Dead variables removed to pass compilation by GCC 4.6 in strict mode.
238 • Prepare test environment to pass without ~/.gnupg directory. Packagers can
239 remove the hack from their packages now.
241 Version 0.4
242 ===========
244 • This version breaks ABI because of ISDS specification change. Please adapt
245 your application where affected functions are called.
247 • ABI change: isds_get_password_expiration() will return NULL if password never
248 expires. Adjust your application to cope with NULL pointer on IE_SUCCESS.
250 • ABI change: isds_add_box() has new credentials_delivery parameter to request
251 for on-line credentials delivery and to receive token for that.
253 • ABI change: isds_add_user() has new credentials_delivery parameter to
254 request for on-line credentials delivery and to receive token for that.
256 • ABI change: isds_reset_password() has different arguments to request for
257 on-line credentials delivery and to receive token for that.
259 • ABI change: deprecated functions isds_set_tls() and
260 isds_set_mime_type_normalization() removed. Use isds_set_opt() instead.
262 • SOAP Fault error message is passed to application via isds_long_message().
264 • New function isds_get_list_of_sent_message_state_changes() implements
265 GetMessageStateChanges service. It returns list of message status changes in
266 requested time interval.
268 • New function isds_get_box_list_archive() implements GetDataBoxList service.
269 It returns ZIP archive with comma separate list of boxes. Different types of
270 lists can be requested. Only type `UPG' is available to public.
272 • New function isds_activate() implements Activate service.
274 • New delivery state EV0 is recognized as EVENT_ENTERED_SYSTEM isds_event_type.
276 • `tsr' document name suffix is recognized as time stamp file type.
278 • New function isds_pki_credentials_free() to deallocate isds_pki_credentials
279 structure.
281 • ISO time string parser fixed (negative or no time zone offset).
283 • All tests can run in parallel now.
285 • Lot of internal tests added. Funny color output now.
287 Version 0.3.1
288 =============
290 • Add `server' directory to distribution tar balls because example messages
291 are needed for some tests.
293 Version 0.3
294 ===========
296 • This library breaks API because of new features and changes in ISDS.
298 • This library version covers complete ISDS specification as released on
299 2010-05-23.
301 • Support for XML documents added. Use isds_document.is_xml to distinguish
302 between binary and XML document types. Because XML node list
303 (isds_document.xml_node_list) is used to describe XML document, your
304 application must link to libxml2 library too since now. Please note this
305 feature has not been heavily tested and that the interface is a little tricky
306 (regarding memory allocation). See client/sendxmldoc.c and
307 client/loadsentmessagewithxmldocuments.c examples for hints how to use it.
309 • Box creation (isds_add_box()) supports requesting for token. This
310 functionality is not covered by specification as it's not implemented on
311 server side yet.
313 • Message authenticity verification through new web service
314 AuthenticateMessage (isds_authenticate_message()) is supported. This function
315 sends a signed message encapsulated in CMS to ISDS where the system resolves
316 originality of the message.
318 • isds_envelope->dmType is input/output now. The one letter value is
319 transferred while sending new message. However ISDS ignores this option as
320 semantic is not defined yet.
322 • isds_envelope->timestamp is optional now. Some ISDS services can return
323 message without time stamp as can do not exist yet.
325 • Cookie-tracked session authentication changed to stateless. That means
326 password is transmitted to server on each request. Password is cached by
327 libcurl library until connection gets closed. Also different server locators
328 for non-certificate and certificate client authentication emerged. Old log-in
329 method will be canceled on 2010-07-01. Old libisds versions become useless.
330 Upgrade is strongly recommended.
332 • Static and out-of-source directory compilation is supported now.
334 • New function isds_normalize_mime_type(): translates file name extension to
335 MIME type (because official ISDS client is broken). This can be globally
336 enabled by isds_set_opt().
338 • Context parameters can be set by isds_set_opt(): TLS options (isds_set_tls()
339 is deprecated now), MIME type normalization (new: mangle document MIME type
340 in incoming messages into more reasonable values).
342 • Deprecated functions removed: isds_load_received_message(),
343 isds_log_signed_message().
345 • isds_DbUserInfo.caState added (country of contact address).
347 • isds_get_delivery_info() fixed to produce standard raw representation of
348 delivery details that can be loaded by isds_load_delivery() back.
350 • New function guess_raw_type(): detects type of supported message and
351 delivery details formats. Detected format can be supplied to
352 isds_load_message(). This way, application can automagically load and parse
353 any supported format.
355 • libcurl debug messages are caught by libisds and redirected to library
356 logger (ILF_HTTP facility).
358 Version 0.2.1
359 =============
361 • Libs value in libisds.pc pkg-config module fixed.
363 Version 0.2
364 ===========
366 • X.509 client certificate authentication is supported (but not tested yet).
367 Underlying HTTPS cURL library supports OpenSSL, GnuTLS and NSS cryptographic
368 back ends currently.
370 Current legislation requires to use cryptographic module with unexportable
371 private key. I've tested ASEKey produced by Athena Smartcard Solution
372 with OpenSSL back end successfully (a patch for curl-7.20.0 is required).
374 Example code client/certauth.c and server/tls/peer server and CA, server and
375 client cryptographic material are bundled. 
377 • Application can pass CRL PEM file to cryptographic library.
379 • Library offers pkg-config integration. Application build scripts can check
380 `libisds' pkg-config module and use PKG_CHECK_MODULES() m4 macro.
382 • Application can get dynamic string describing library version and its
383 dependencies at run-time (isds_version()).
385 • API changed and is not backward compatible. Please adjust and recompile your
386 applications.
388 • Library tests have been splitted to off-line (--enable-test) and on-line
389 (--enable-online-test) tests. On-line tests can not be compiled without
390 off-line tests. All tests are switched off by default.
392 • Server base URL for isds_login() does not contain path anymore. Application
393 must supply schema and hostname only (e.g. https://localhost/). Undefined base
394 URL will be interpreted as official ISDS locator.
396 • Base URLs of official ISDS server (isds_locator) and testing ISDS server
397 (isds_testing_locator) are provided by library. Application can offer them as
398 default choices to the user.
400 • Documents can be submitted for authorize conversion into Czech POINT system
401 (czp_convert_document(), requires specific isds_ctx).
403 • Application can catch all global log messages and redirect them wherever it
404 needs.
406 Version 0.1
407 ===========
409 • This is first public release. Whole ISDS 2010-01-22 specification is covered
410 except: XML documents, X.509 authentication