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