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