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