2002-11-28 Marcus Brinkmann <marcus@g10code.de>
[gpgme.git] / NEWS
1 Noteworthy changes in version 0.4.0 (unreleased)
2 ------------------------------------------------
3
4  * New data object interface, which is more flexible and transparent.
5
6 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7 GpgmeDataReadCb                 NEW
8 GpgmeDataWriteCb                NEW
9 GpgmeDataSeekCb                 NEW
10 GpgmeDataReleaseCb              NEW
11 GpgmeDataCbs                    NEW
12 gpgme_data_read                 CHANGED: Match read() closely.
13 gpgme_data_write                CHANGED: Match write() closely.
14 gpgme_data_seek                 NEW
15 gpgme_data_new_from_fd          NEW
16 gpgme_data_new_from_stream      NEW
17 gpgme_data_new_from_cbs         NEW
18 gpgme_data_rewind               DEPRECATED: Replaced by gpgme_data_seek().
19 gpgme_data_new_from_read_cb     DEPRECATED: Replaced by gpgme_data_from_cbs().
20 gpgme_data_get_type             REMOVED: No replacement.
21 gpgme_op_verify                 CHANGED: Take different data objects for
22                                 signed text and plain text.
23 gpgme_op_verify_start           CHANGED: See gpgme_op_verify.
24 gpgme_check_engine              REMOVED: Deprecated since 0.3.0.
25 gpgme_op_genkey                 CHANGED: New parameter FPR.
26 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
27
28 Noteworthy changes in version 0.3.13 (2002-11-20)
29 -------------------------------------------------
30
31  * Release due to changes in gpgmeplug.
32
33 Noteworthy changes in version 0.3.12 (2002-10-15)
34 -------------------------------------------------
35
36  * Fixed some bux with key listings.  
37
38  * The development has been branched to clean up some API issues.
39    This 0.3 series will be kept for compatibility reasons; so do don't
40    expect new features.
41
42 Noteworthy changes in version 0.3.11 (2002-09-20)
43 -------------------------------------------------
44         
45  * Bug fixes.
46
47 Noteworthy changes in version 0.3.10 (2002-09-02)
48 -------------------------------------------------
49
50  * Setting the signing keys for the CMS protocol does now work.
51
52  * The signers setting is honoured by gpgme_op_edit.
53
54 Noteworthy changes in version 0.3.9 (2002-08-21)
55 ------------------------------------------------
56
57  * A spec file for creating RPMs has been added.
58
59  * An experimental interface to GnuPG's --edit-key functionality is
60    introduced, see gpgme_op_edit.
61
62  * The new gpgme_import_ext function provides a convenient access to
63    the number of processed keys.
64
65  * Interface changes relative to the 0.3.8 release:
66 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
67 GpgmeStatusCode                 NEW
68 GpgmeEditCb                     NEW
69 gpgme_op_edit_start             NEW
70 gpgme_op_edit                   NEW
71 gpgme_op_import_ext             NEW
72 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73
74 Noteworthy changes in version 0.3.8 (2002-06-25)
75 ------------------------------------------------
76
77  * It is possible to use an outside event loop for the I/O to the
78    crypto engine by setting the I/O callbacks with gpgme_set_io_cbs.
79
80  * Interface changes relative to the 0.3.6 release:
81 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
82 GpgmeIOCb                       NEW
83 GpgmeRegisterIOCb               NEW
84 GpgmeRemoveIOCb                 NEW
85 GpgmeEventIO                    NEW
86 GpgmeEventIOCb                  NEW
87 struct GpgmeIOCbs               NEW
88 gpgme_set_io_cbs                NEW
89 gpgme_get_io_cbs                NEW
90 GPGME_ATTR_ERRTOK               NEW
91 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
92
93 Noteworthy changes in version 0.3.7 (2002-06-04)
94 ------------------------------------------------
95
96  * GPGME_ATTR_OTRUST is implemented now.
97
98  * A first step toward thread safeness has been achieved, see the
99    documentation for details.  Supported thread libraries are pthread
100    and Pth.
101
102 Noteworthy changes in version 0.3.6 (2002-05-03)
103 ------------------------------------------------
104
105  * All error output of the gpgsm backend is send to the bit bucket.
106
107  * The signature verification functions are extended.  Instead of
108    always returning GPGME_SIG_STATUS_GOOD, the functions new codes for
109    expired signatures.  2 new functions may be used to retrieve more
110    detailed information like the signature expiration time and a
111    validity information of the key without an extra key looking.
112
113  * The current passphrase callback and progress meter callback can be
114    retrieved with the new functions gpgme_get_passphrase_cb and
115    gpgme_get_progress_cb respectively.
116
117  * Interface changes relative to the 0.3.5 release:
118 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
119 gpgme_get_passphrase_cb         NEW
120 gpgme_get_progress_cb           NEW
121 GpgmeDataEncoding               NEW
122 gpgme_data_set_encoding         NEW
123 gpgme_data_get_encoding         NEW
124 GPGME_SIG_STAT_GOOD_EXP         NEW
125 GPGME_SIG_STAT_GOOD_EXPKEY      NEW
126 gpgme_op_verify                 CHANGED: Returns more status codes.
127 GPGME_ATTR_SIG_STATUS           NEW
128 gpgme_get_sig_string_attr       NEW
129 gpgme_get_sig_ulong_attr        NEW
130 gpgme_get_protocol              NEW
131 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132
133 Noteworthy changes in version 0.3.5 (2002-04-01)
134 ------------------------------------------------
135
136  * gpgme_op_encrypt can be called with RECIPIENTS being 0.  In this
137    case, symmetric encryption is performed.  Note that this requires a
138    passphrase from the user.
139
140  * More information is returned for X.509 certificates.
141
142  * Interface changes relative to the 0.3.4 release:
143 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
144 gpgme_op_encrypt                EXTENDED: Symmetric encryption possible
145 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
146
147 Noteworthy changes in version 0.3.4 (2002-03-04)
148 ------------------------------------------------
149
150  * gpgme_op_encrypt does now fail with GPGME_Invalid_Recipients if
151    some recipients have been invalid, whereas earlier versions
152    succeeded in this case.  The plaintext is still encrypted for all valid
153    recipients, so the application might take this error as a hint that
154    the ciphertext is not usable for all requested recipients.
155    Information about invalid recipients is available with gpgme_get_op_info.
156
157  * gpgme_op_verify now allows to pass an uninitialized data object as
158    its plaintext argument to check for normal and cleartext
159    signatures.  The plaintext is then returned in the data object.
160
161  * New interfaces gpgme_set_include_certs and gpgme_get_include_certs
162    to set and get the number of certifications to include in S/MIME
163    signed messages.
164
165  * New interfaces gpgme_op_encrypt_sign and gpgme_op_encrypt_sign_start
166    to encrypt and sign a message in a combined operation.
167
168  * New interface gpgme_op_keylist_ext_start to search for multiple patterns.
169
170  * gpgme_key_get_ulong_attr supports the GPGME_ATTR_EXPIRE attribute.
171
172  * Interface changes relative to the 0.3.3 release:
173 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
174 gpgme_op_encrypt                CHANGED: Can fail with GPGME_Invalid_Recipients
175 gpgme_op_verify                 EXTENDED: Accepts uninitialized text argument
176 gpgme_key_get_ulong_attr        EXTENDED: Supports GPGME_ATTR_EXPIRE
177 gpgme_set_include_certs         NEW
178 gpgme_get_include_certs         NEW
179 gpgme_op_encrypt_sign           NEW
180 gpgme_op_encrypt_sign_start     NEW
181 gpgme_op_keylist_ext_start      NEW
182 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
183
184 Noteworthy changes in version 0.3.3 (2002-02-12)
185 ------------------------------------------------
186
187  * Fix the Makefile in jnlib.
188
189  * Fix the test suite (hopefully).  It should clean up all its state
190    with `make check' now.
191
192
193 Noteworthy changes in version 0.3.2 (2002-02-10)
194 ------------------------------------------------
195
196  * Remove erroneous dependency on libgcrypt in jnlib.
197
198
199 Noteworthy changes in version 0.3.1 (2002-02-09)
200 ------------------------------------------------
201
202  * There is a Texinfo manual documenting the API.
203
204  * The gpgme_set_keylist_mode function returns an error, and changed
205    its meaning.  It is no longer usable to select between normal and
206    fast mode (newer versions of GnuPG will always be fast), but
207    selects between local keyring, remote keyserver, or both.
208    For this, two new macros are defined, GPGME_KEYLIST_MODE_LOCAL
209    and GPGME_KEYLIST_MODE_EXTERN.  To make it possible to modify the
210    current setting, a fucntion gpgme_get_keylist_mode was added to
211    retrieve the current mode.
212
213  * gpgme_wait accepts a new argument STATUS to return the error status
214    of the operation on the context.  Its definition is closer to
215    waitpid() now than before.
216
217  * The LENGTH argument to gpgme_data_new_from_filepart changed its
218    type from off_t to the unsigned size_t.
219
220  * The R_HD argument to the GpgmePassphraseCb type changed its type
221    from void* to void**.
222
223  * New interface gpgme_op_trustlist_end() to match
224    gpgme_op_keylist_end().
225
226  * The CryptPlug modules have been renamed to gpgme-openpgp and
227    gpgme-smime, and they are installed in pkglibdir by `make install'.
228
229  * An idle function can be registered with gpgme_register_idle().
230
231  * The GpgSM backend supports key generation with gpgme_op_genkey().
232
233  * Interface changes relative to the 0.3.0 release:
234 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
235 gpgme_data_new_from_filepart    CHANGED: Type of LENGTH is size_t.
236 GpgmePassphraseCb               CHANGED: Type of R_HD is void **.
237 gpgme_wait                      CHANGED: New argument STATUS.
238 gpgme_set_keylist_mode          CHANGED: Type of return value is GpgmeError.
239                                 The function has a new meaning!
240 gpgme_get_keylist_mode          NEW
241 GPGME_KEYLIST_MODE_LOCAL        NEW
242 GPGME_KEYLIST_MODE_EXTERN       NEW
243 gpgme_op_trustlist_next         NEW
244 GpgmeIdleFunc                   NEW
245 gpgme_register_idle             NEW
246 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
247
248 Noteworthy changes in version 0.3.0 (2001-12-19)
249 ------------------------------------------------
250  
251  * New interface gpgme_set_protocol() to set the protocol and thus the
252    crypto engine to be used by the context.  Currently, the OpenPGP
253    and the CMS protocols are supported.  They are specified by the new
254    preprocessor symbols GPGME_PROTOCOL_OpenPGP and GPGME_PROTOCOL_CMS.
255    A new context uses the OpenPGP engine by default.
256
257  * gpgme_get_engine_info() returns information for all crypto engines
258    compiled into the library.  The XML format has changed.  To
259    reliably get the version of a crypto engine, the <version> tag
260    after the appropriate <protocol> tag has to be looked for.
261
262  * New interface gpgme_engine_check_version(), obsoleting
263    gpgme_check_engine().  Check the version of all engines you are
264    supporting in your software.
265
266  * GpgmeKey lists the user ids in the order as they are returned by
267    GnuPG, first the primary key with index 0, then the sub-user ids.
268
269  * New operation gpgme_op_decrypt_verify() to decrypt and verify
270    signatures simultaneously.
271
272  * The new interface gpgme_op_keylist_end() terminates a pending
273    keylist operation.  A keylist operation is also terminated when
274    gpgme_op_keylist_next() returns GPGME_EOF.
275
276  * GPGME can be compiled without GnuPG being installed (`--with-gpg=PATH'),
277    cross-compiled, or even compiled without support for GnuPG
278    (`--without-gpg').
279
280  * GPGME can be compiled with support for GpgSM (GnuPG for S/MIME,
281    `--with-gpgsm=PATH').  It is enabled by default if the `gpgsm' is found
282    in the path, but it can also be compiled without support for GpgSM
283    (`--without-gpgsm').
284
285  * CryptPlug modules for GPGME are included and can be enabled at
286    configure time (`--enable-gpgmeplug').  There is one module which
287    uses the GnuPG engine (`gpgmeplug') and one module which uses the
288    GpgSM engine (`gpgsmplug').
289
290  * Interface changes relative to the latest 0.2.x release:
291 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
292 gpgme_key_get_as_xml            CHANGED: Sub-user ids reversed in order.
293 gpgme_key_get_string_attr       CHANGED: User ids reversed in order.
294 gpgme_key_get_ulong_attr        CHANGED: User ids reversed in order.
295 gpgme_get_engine_info           CHANGED: New format, extended content.
296 gpgme_engine_check_version      NEW
297 gpgme_decrypt_verify_start      NEW
298 gpgme_decrypt_verify            NEW
299 gpgme_op_keylist_next           NEW
300 gpgme_set_protocol              NEW
301 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
302
303
304 Noteworthy changes in version 0.2.3 (2001-09-17)
305 ------------------------------------------------
306
307  * New function gpgme_get_op_info which can be used to get the micalg
308    parameter needed for MOSS.
309
310  * New functions gpgme_get_armor and gpgme_get_textmode.
311
312  * The usual bug fixes and some minor functionality improvements.
313
314  * Added a simple encryption component for MS-Windows; however the
315    build procedure might have some problems.
316
317
318 Noteworthy changes in version 0.2.2 (2001-06-12)
319 ------------------------------------------------
320  
321  * Implemented a key cache.
322
323  * Fixed a race condition under W32 and some other bug fixes.
324
325
326 Noteworthy changes in version 0.2.1 (2001-04-02)
327 ------------------------------------------------
328
329  * Changed debug output and GPGME_DEBUG variable (gpgme/debug.c)
330
331  * Handle GnuPG's new key capabilities output and support revocation
332    et al. attributes
333
334  * Made the W32 support more robust.
335
336
337  Copyright 2001, 2002 g10 Code GmbH
338
339  This file is free software; as a special exception the author gives
340  unlimited permission to copy and/or distribute it, with or without
341  modifications, as long as this notice is preserved.
342
343  This file is distributed in the hope that it will be useful, but
344  WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
345  implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.