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