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