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