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