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