Removed C++ 'template' keyword form library interface.
[libisds.git] / NEWS
blobf682ad678550d2ce96c038fcb17fe8fe3557972b
1 Version 0.8
2 ===========
4 • New ISDS service DataBoxCreditInfo has been implemented as
5 isds_get_commercial_credit(). This allows to retrieve current credit amount
6 available to the box owner for commercial activities like sending commercial
7 messages or using long term storage. It also allows to obtain recent history
8 of credit changes.
10 • Preliminary support for building with MinGW tool-chain has been added. Not
11 all tests have been ported yet.
13 • The MIME type normalization is case insensitive now.
15 • Status codes 1007 and 2011 of CheckDataBox ISDS service, bad box ID, are
16 recognized now and reported to the application as IE_INVAL.
18 • This release is binary compatible with previous version 0.7. However
19 applications built against 0.8 are not guaranteed to work with 0.7.
21 • The build system, autotools and gettext scripts namely, has been updated.
23 • NULL pointer dereference while parsing second and next permissions for
24 sending commercial messages has been fixed in the
25 isds_get_commercial_permissions() function.
27 • Bad arguments handling at isds_get_message_sender() function that could lead
28 to crash has been fixed.
30 Version 0.7
31 ===========
33 • New ISDS service Re-signISDSDocument has been implemented as
34 isds_resign_message() function. This can be used for adding time stamp to
35 already signed message or delivery details that had been produced without the
36 time stamp.
38 • TLS errors from cURL library are reported as IE_SECURITY to libisds
39 applications now. This is new isds_error value and it denotes any security
40 problem leading to abort of requested operation.
42 • This release is ABI-compatible with previous version 0.6. However
43 applications built against 0.7 are not guaranteed to work with 0.6.
45 • Internal test suite checks TLS authentication. GnuTLS is needed for
46 building tests now.
48 • Parsing dmRecipientOrgUnitNum value from message envelope has been fixed.
50 • A memory leak when using XPath has been fixed.
52 Version 0.6.2
53 =============
55 • Building tests out of source tree has been fixed.
57 Version 0.6.1
58 =============
60 • Missing test/simline/server_types.h files has been added into distribution
61 to fix test suite compilation.
63 Version 0.6
64 ===========
66 • ABI changed due to changes in specification. Some functions got additional
67 parameters or return codes.
69 • One-time password (OTP) authentication implemented. There is a new argument
70 at isds_login() and isds_change_password() functions of type struct isds_otp*.
71 Pass NULL if do not request OTP authentication.  The structure is used to
72 select OTP method (HMAC- or time-based code), to pass the OTP code (use NULL
73 to ask server for new time-based code), and to retrieve fine state of OTP
74 authentication. The functions can return IE_PARTIAL_SUCCESS if time-based
75 method is selected and server sent the new OTP code successfully.
76 OTP-authenticated context resides on URL different from others (use NULL or
77 isds_otp_locator for official instance or isds_otp_testing_locator for testing
78 instance). You can try client/login tool to check OTP-authenticated log-in.
79 You can use client/hotp_generator tool to generate series of HMAC-based OTP
80 codes (requires Perl Authen::OATH module).  There is a bug in cURL < 7.28.0
81 preventing from correct re-authentication. If you have unpatched cURL,
82 configure libisds with `--enable-curlreauthorizationbug' option. (See INSTALL
83 for more details.)
85 • isds_change_password() has additional argument to retrieve reference number
86 of the request assigned by the server. Pass NULL if you do not care.
88 • Internal tests check log-in procedure against simulated ISDS server. You can
89 run the simulated server as standalone executable in test/simline/server_cli
90 to check another clients. The server implements besides authentication
91 DummyRequest, services for changing passwords and EraseMessage.
93 • New DeleteDataBoxPromptly service implemented as isds_delete_box_promptly().
94 (This service is not documented in the specification).
96 • New PDZInfo service implemented as isds_get_commercial_permissions(). This
97 service enables application to know whether it can send commercial messages,
98 which subtypes of commercial messages can send (there are differences on
99 payment type), and to retrieve tokens for sending such messages.
101 • New service EraseMessage implemented as isds_delete_message_from_storage().
102 This function can be used to delete messages stored in long term storage (also
103 known as safe previously). Only messages in the long term storage can be
104 explicitly deleted.
106 • New user types USERTYPE_LIQUIDATOR (company liquidator) and
107 USERTYPE_OFFICIAL_CERT (undocumented in specification) added.
109 • Return value of isds_normalize_mime_type() is pointer to constant string now
110 to discourage application from fiddling with the value.
112 • Autoconf m4 macros have been updated (curl-7.26.0, gettext-0.18.1.1,
113 gpgme-1.3.1, libgcrypt-1.5.0, libtool-2.4.2, libxml2-2.8.0).
115 Version 0.5
116 ===========
118 • ABI changed due to changes in specification. API is preserved. Please
119 recompile your applications.
121 • This release has not been tested on real system because devoloper has not
122 obtained new testing account yet. But he believes library works. Testers are
123 welcome.
125 • Delivery events 5, 10, 11, 12, and 13 are recognized now.
127 • GetMessageAuthor service implemented as get_message_sender() function.
129 • New isds_envelope member `dmPublishOwnID' added. It allows sender to reveal
130 his natural name to recipient on sending a message.
132 • isds_GetDataBoxUsers() can return empty list of users now.
134 • New document types recognised. MIME types of Software602 forms have been
135 changed to reflect IANA registry.
137 • Credential for testing account removed from documentation and code. Owner of
138 ISDS removed all testing accounts, testers must request for new account and
139 must agree with new rules including keeping credentials in secret and
140 non-disclosuring found bugs in ISDS. Example clients and on-line tests read
141 credentials from environment and central file in build root direcotory. See
142 README for more details.
144 • Errors from libxml2 parser are captured by libisds log system as ILF_XML
145 facility and at ILL_ERROR level. Application can get them by standard library
146 interface.
148 • Library can be compiled without support for network operation by passing
149 `--without-libcurl' option to configure script. All functions dependent on
150 network remain available and will return IE_NOTSUP return code.
152 • Dead variables removed to pass compilation by GCC 4.6 in strict mode.
154 • Prepare test environment to pass without ~/.gnupg directory. Packagers can
155 remove the hack from their packages now.
157 Version 0.4
158 ===========
160 • This version breaks ABI because of ISDS specification change. Please adapt
161 your application where affected functions are called.
163 • ABI change: isds_get_password_expiration() will return NULL if password never
164 expires. Adjust your application to cope with NULL pointer on IE_SUCCESS.
166 • ABI change: isds_add_box() has new credentials_delivery parameter to request
167 for on-line credentials delivery and to receive token for that.
169 • ABI change: isds_add_user() has new credentials_delivery parameter to
170 request for on-line credentials delivery and to receive token for that.
172 • ABI change: isds_reset_password() has different arguments to request for
173 on-line credentials delivery and to receive token for that.
175 • ABI change: deprecated functions isds_set_tls() and
176 isds_set_mime_type_normalization() removed. Use isds_set_opt() instead.
178 • SOAP Fault error message is passed to application via isds_long_message().
180 • New function isds_get_list_of_sent_message_state_changes() implements
181 GetMessageStateChanges service. It returns list of message status changes in
182 requested time interval.
184 • New function isds_get_box_list_archive() implements GetDataBoxList service.
185 It returns ZIP archive with comma separate list of boxes. Different types of
186 lists can be requested. Only type `UPG' is available to public.
188 • New function isds_activate() implements Activate service.
190 • New delivery state EV0 is recognized as EVENT_ENTERED_SYSTEM isds_event_type.
192 • `tsr' document name suffix is recognized as time stamp file type.
194 • New function isds_pki_credentials_free() to deallocate isds_pki_credentials
195 structure.
197 • ISO time string parser fixed (negative or no time zone offset).
199 • All tests can run in parallel now.
201 • Lot of internal tests added. Funny color output now.
203 Version 0.3.1
204 =============
206 • Add `server' directory to distribution tar balls because example messages
207 are needed for some tests.
209 Version 0.3
210 ===========
212 • This library breaks API because of new features and changes in ISDS.
214 • This library version covers complete ISDS specification as released on
215 2010-05-23.
217 • Support for XML documents added. Use isds_document.is_xml to distinguish
218 between binary and XML document types. Because XML node list
219 (isds_document.xml_node_list) is used to describe XML document, your
220 application must link to libxml2 library too since now. Please note this
221 feature has not been heavily tested and that the interface is a little tricky
222 (regarding memory allocation). See client/sendxmldoc.c and
223 client/loadsentmessagewithxmldocuments.c examples for hints how to use it.
225 • Box creation (isds_add_box()) supports requesting for token. This
226 functionality is not covered by specification as it's not implemented on
227 server side yet.
229 • Message authenticity verification through new web service
230 AuthenticateMessage (isds_authenticate_message()) is supported. This function
231 sends a signed message encapsulated in CMS to ISDS where the system resolves
232 originality of the message.
234 • isds_envelope->dmType is input/output now. The one letter value is
235 transferred while sending new message. However ISDS ignores this option as
236 semantic is not defined yet.
238 • isds_envelope->timestamp is optional now. Some ISDS services can return
239 message without time stamp as can do not exist yet.
241 • Cookie-tracked session authentication changed to stateless. That means
242 password is transmitted to server on each request. Password is cached by
243 libcurl library until connection gets closed. Also different server locators
244 for non-certificate and certificate client authentication emerged. Old log-in
245 method will be canceled on 2010-07-01. Old libisds versions become useless.
246 Upgrade is strongly recommended.
248 • Static and out-of-source directory compilation is supported now.
250 • New function isds_normalize_mime_type(): translates file name extension to
251 MIME type (because official ISDS client is broken). This can be globally
252 enabled by isds_set_opt().
254 • Context parameters can be set by isds_set_opt(): TLS options (isds_set_tls()
255 is deprecated now), MIME type normalization (new: mangle document MIME type
256 in incoming messages into more reasonable values).
258 • Deprecated functions removed: isds_load_received_message(),
259 isds_log_signed_message().
261 • isds_DbUserInfo.caState added (country of contact address).
263 • isds_get_delivery_info() fixed to produce standard raw representation of
264 delivery details that can be loaded by isds_load_delivery() back.
266 • New function guess_raw_type(): detects type of supported message and
267 delivery details formats. Detected format can be supplied to
268 isds_load_message(). This way, application can automagically load and parse
269 any supported format.
271 • libcurl debug messages are caught by libisds and redirected to library
272 logger (ILF_HTTP facility).
274 Version 0.2.1
275 =============
277 • Libs value in libisds.pc pkg-config module fixed.
279 Version 0.2
280 ===========
282 • X.509 client certificate authentication is supported (but not tested yet).
283 Underlying HTTPS cURL library supports OpenSSL, GnuTLS and NSS cryptographic
284 back ends currently.
286 Current legislation requires to use cryptographic module with unexportable
287 private key. I've tested ASEKey produced by Athena Smartcard Solution
288 with OpenSSL back end successfully (a patch for curl-7.20.0 is required).
290 Example code client/certauth.c and server/tls/peer server and CA, server and
291 client cryptographic material are bundled. 
293 • Application can pass CRL PEM file to cryptographic library.
295 • Library offers pkg-config integration. Application build scripts can check
296 `libisds' pkg-config module and use PKG_CHECK_MODULES() m4 macro.
298 • Application can get dynamic string describing library version and its
299 dependencies at run-time (isds_version()).
301 • API changed and is not backward compatible. Please adjust and recompile your
302 applications.
304 • Library tests have been splitted to off-line (--enable-test) and on-line
305 (--enable-online-test) tests. On-line tests can not be compiled without
306 off-line tests. All tests are switched off by default.
308 • Server base URL for isds_login() does not contain path anymore. Application
309 must supply schema and hostname only (e.g. https://localhost/). Undefined base
310 URL will be interpreted as official ISDS locator.
312 • Base URLs of official ISDS server (isds_locator) and testing ISDS server
313 (isds_testing_locator) are provided by library. Application can offer them as
314 default choices to the user.
316 • Documents can be submitted for authorize conversion into Czech POINT system
317 (czp_convert_document(), requires specific isds_ctx).
319 • Application can catch all global log messages and redirect them wherever it
320 needs.
322 Version 0.1
323 ===========
325 • This is first public release. Whole ISDS 2010-01-22 specification is covered
326 except: XML documents, X.509 authentication