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