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