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