Debian Codegraph @

NEWS

raw
1 NEWS for Libp11 -- History of user visible changes
2
3 New in 0.4.18; 2026-02-16; Michał Trojnara
4 * Support for RSA-PSS and RSA-OAEP using keys retrieved using the
5 PKCS11_get_private_key() libp11 API function and the PKCS#11 provider
6 (Małgorzata Olszówka, Michał Trojnara)
7 * Improved test coverage (Małgorzata Olszówka)
8
9 New in 0.4.17; 2026-02-01; Michał Trojnara
10 * Ed25519 and Ed448 support (PKCS#11 v3.2) (Małgorzata Olszówka)
11 * Fixed OPENSSL_NO_EC builds (Małgorzata Olszówka)
12 * Reverted RSA public exponent change from PR #474 (Michał Trojnara)
13 * Fixed crash on module initialization failures (Alex Shalimov)
14 * Ignoring trailing newlines in pin-source files (Tobias Deiminger)
15 * Initial build fixes for the upcoming OpenSSL 4.x (Małgorzata Olszówka)
16
17 New in 0.4.16; 2025-06-23; Michał Trojnara
18 * Fixed PKCS#11 module synchronization setup that was broken
19 in libp11 0.4.14 (nojocodex)
20
21 New in 0.4.15; 2025-06-09; Michał Trojnara
22 * Fixed incorrectly installing an internal header file (Alex Dupre)
23 * Fixed handling URI schemes of other providers (Małgorzata Olszówka)
24
25 New in 0.4.14; 2025-05-13; Michał Trojnara
26 * Added the "pkcs11prov" provider for OpenSSL 3.x (Małgorzata Olszówka)
27 * Added generic keypair generation interface and engine ctrl command
28 (Rafael Junio da Cruz)
29 * Added static engine support (Lucas Mülling)
30 * Added PKCS11_FORCE_CLEANUP env variable to force cleanup on exit and
31 stop memory leaks with certain PKCS#11 modules (Małgorzata Olszówka)
32 * Fixed a number of resource leaks (Małgorzata Olszówka, Hazem Zaghloul,
33 Michał Trojnara)
34 * Fixed C_OpenSession error handling (Rafael Junio da Cruz)
35 * Fixed handling of uninitialized tokens (Michał Trojnara)
36 * Removed support for OpenSSL older than 1.0.2 (Michał Trojnara)
37
38 New in 0.4.13; 2024-12-13; Michał Trojnara
39 * Increased maximum PIN length (Michał Trojnara)
40 * Fixed several memory leaks (Michał Trojnara, Małgorzata Olszówka)
41 * Don't include libp11.rc VERSIONINFO into pkcs11 (Mikhail Titov)
42 * Reimplement CI with GitHub Actions (Michał Trojnara, Małgorzata Olszówka)
43 * Improved tests (Małgorzata Olszówka)
44 * Added static ENGINE (libpkcas11.a) build (Marouene Boubakri)
45 * Added a workaround broken foreign key handling in OpenSSL
46 3.0.12-3.0.13, 3.1.4-3.1.5, 3.2.0-3.2.1 (Małgorzata Olszówka)
47 * Added a workaround for conflicting atexit() callbacks (Michał Trojnara)
48 * Always login with PIN If FORCE_LOGIN is specified in openssl config
49 (Plamen Todorov)
50 * Added OAEP support to RSA_private_decrypt (Peter Popovec)
51 * Added PKCS11_enumerate_*_ext functions (Harshal Gohel)
52 * Fixed non-null-terminated label padding (Jorge Ramirez-Ortiz)
53 * Fixed several object management issues (Jakub Jelen)
54 * Deferred libp11 initialization until needed (Doug Engert)
55
56 New in 0.4.12; 2022-07-15; Michał Trojnara
57 * Fixed using an explicitly provided PIN regardless of the secure login
58 flag (Alon Bar-Lev)
59 * Fixed RSA_PKCS1_PADDING handling (Michał Trojnara)
60 * Fixed a crash on LLP64, including 64-bit Windows (Małgorzata Olszówka)
61 * Fixed searching objects when both ID and label are specified (minfrin)
62 * Fixed the OAEP "source" parameter (S-P Chan)
63 * Fixed object searching by label (Michał Trojnara)
64 * Fixed thread safety in slot enumeration (Michał Trojnara)
65 * Fixed storing certificates on tokens (Mateusz Kwiatkowski)
66 * Fixed several memory leaks (Michał Trojnara, Jakub Jelen, Timo Teräs)
67 * Fixed OpenSSL 3.0 compatibility (Jakub Jelen)
68 * Fixed LibreSSL compatibility (orbea, patchMonkey156)
69 * Major concurrency improvements and refactoring (Timo Teräs)
70 * Added re-numeration of slots as an engine control command (Markus Koetter)
71 * Added the PKCS11_update_slots() API function (Timo Teräs)
72 * Added support for the SHA3 hash function (alegon01)
73 * Added a self-test for engine RSA operations (Uri Blumenthal)
74
75 New in 0.4.11; 2020-10-11; Michał Trojnara
76 * Fixed "EVP_PKEY_derive:buffer too small" EC errors (Luka Logar)
77 * Fixed various memory leaks (Mateusz Kwiatkowski)
78 * Fixed Windows VERSIONINFO (Pavol Misik)
79 * Fixed builds with OpenSSL older than 1.0.2 (Michał Trojnara)
80 * Fixed a double free in EVP_PKEY_meth_free() (Mikhail Durnev)
81 * Added CKA_VALUE_LEN to EC key derivation template (Michał Trojnara)
82 * Fixed handling keys without label attribute (efternavn)
83 * Updated the tests (Anderson Toshiyuki Sasaki)
84 * Made ECDH-derived keys extractable (Bent Bisballe Nyeng)
85 * Added support for pin-source within PKCS#11 URI (Stanislav Levin)
86 * Improved LibreSSL compatibility (patchMonkey156)
87 * Fixed handling RSA private keys in BIND (Stanislav Levin)
88 * Added macOS testing support (Stanislav Levin)
89 * Fixed engine object search algorithm (Anderson Toshiyuki Sasaki)
90
91 New in 0.4.10; 2019-04-03; Michał Trojnara
92 * Added EC signing through EVP API (Bryan Hunt)
93 * Added an empty EC private key required by OpenSSL 1.1.1 (Doug Engert)
94 * Stored additional certificate attributes (FdLSifu, Michał Trojnara)
95 * Engine allowed to use private keys without a PIN (Michał Trojnara)
96 * Lazy binding used as a workaround for buggy modules (Michał Trojnara)
97 * MinGW build fixes and documentation (Michał Trojnara)
98 * LibreSSL 2.8.3 build fixes (patchMonkey156)
99 * Error handling fixes (Michał Trojnara)
100
101 New in 0.4.9; 2018-09-03; Michał Trojnara
102 * Fixed EVP_PKEY ENGINE reference count with the EC EVP_PKEY_METHOD
103 (Michał Trojnara, Anderson Sasaki)
104 * Fixed a leak of RSA object in pkcs11_store_key() (lbonn)
105 * Added atfork checks for RSA and EC_KEY methods (Michał Trojnara)
106
107 New in 0.4.8; 2018-08-05; Michał Trojnara
108 * RSA key generation on the token (n3wtron)
109 * PSS signature support (Doug Engert, Michał Trojnara)
110 * RSA-OAEP and RSA-PKCS encryption support (Mouse, Michał Trojnara)
111 * Engine no longer set as default for all methods (Anderson Sasaki)
112 * Added PKCS11_remove_key and PKCS11_remove_certificate (n3wtron)
113 * Added PKCS11_find_next_token interface (Frank Morgner)
114 * Added support for OpenSSL 1.1.1 beta (Michał Trojnara)
115 * Removed support for OpenSSL 0.9.8 (Michał Trojnara)
116 * Case insensitive PKCS#11 URI scheme (Anderson Sasaki)
117 * Testing framework improvements (Anderson Sasaki)
118 * Coverity scanning and defect fixes (Frank Morgner)
119 * Backward compatibility for new error handling introduced
120 in libp11 0.4.7 (Michał Trojnara)
121 * Memory leak fixes (Frank Morgner, Doug Engert)
122 * Added an integer overflow protection (Eric Sesterhenn, Michał Trojnara)
123 * Several bugfixes (Michał Trojnara, Emmanuel Deloget, Anderson Sasaki)
124
125 New in 0.4.7; 2017-07-03; Michał Trojnara
126 * Added OpenSSL-style engine error reporting (Michał Trojnara)
127 * Added the FORCE_LOGIN engine ctrl command (Michał Trojnara)
128 * Implemented the QUIET engine ctrl command (Michał Trojnara)
129 * Modified CKU_CONTEXT_SPECIFIC PIN requests to be based
130 on the CKA_ALWAYS_AUTHENTICATE attribute rather than the
131 CKR_USER_NOT_LOGGED_IN error (Michał Trojnara)
132 * Fixed printing hex values (Michał Trojnara)
133 * Fixed build error with OPENSSL_NO_EC (Kai Kang)
134
135 New in 0.4.6; 2017-04-23; Michał Trojnara
136 * Updated ex_data on EVP_PKEYs after enumerating keys (Matt Hauck)
137 * Token/key labels added into PIN prompts (Matt Hauck)
138
139 New in 0.4.5; 2017-03-29; Michał Trojnara
140 * Prevented destroying existing keys/certs at login (Michał Trojnara)
141 * Fixed synchronization of PKCS#11 module calls (Matt Hauck)
142 * Added LibreSSL compatibility (Bernard Spil)
143 * Added SET_USER_INTERFACE and SET_CALLBACK_DATA engine ctrl commands
144 for certificate and CKU_CONTEXT_SPECIFIC PINs (Michał Trojnara)
145 * Fixed error handling in RSA key generation (Michał Trojnara)
146
147 New in 0.4.4; 2017-01-26; Michał Trojnara
148 * Fixed a state reset caused by re-login on LOAD_CERT_CTRL engine ctrl;
149 fixes #141 (Michał Trojnara)
150 * "?" and "&" allowed as URI separators; fixes #142 (Michał Trojnara)
151 * engine: Unified private/public key and certificate enumeration
152 to be performed without login if possible (Michał Trojnara)
153
154 New in 0.4.3; 2016-12-04; Michał Trojnara
155 * Use UI to get CKU_CONTEXT_SPECIFIC PINs (Michał Trojnara)
156 * Added graceful handling of alien (non-PKCS#11) keys (Michał Trojnara)
157 * Added symbol versioning (Nikos Mavrogiannopoulos)
158 * Soname tied with with the OpenSSL soname (Nikos Mavrogiannopoulos)
159 * Added MSYS2, Cygwin, and MinGW/MSYS support (Paweł Witas)
160 * Workaround implemented for a deadlock in PKCS#11 modules that
161 internally use OpenSSL engines (Michał Trojnara, Paweł Witas)
162 * Fixed an EVP_PKEY reference count leak (David Woodhouse)
163 * Fixed OpenSSL 1.1.x crash in public RSA methods (Doug Engert,
164 Michał Trojnara)
165 * Fixed OpenSSL 1.1.x builds (Nikos Mavrogiannopoulos, Michał Trojnara)
166 * Fixed retrieving PIN values from certificate URIs (Andrei Korikov)
167 * Fixed symlink installation (Alon Bar-Lev)
168
169 New in 0.4.2; 2016-09-25; Michał Trojnara
170 * Fixed a 0.4.0 regression bug causing the engine finish function to
171 remove any configured engine parameters; fixes #104 (Michał Trojnara)
172
173 New in 0.4.1; 2016-09-17; Michał Trojnara
174 * Use enginesdir provided by libcrypto.pc if available (David Woodhouse)
175 * Certificate cache destroyed on login/logout (David Woodhouse)
176 * Fixed accessing certificates marked as CKA_PRIVATE (David Woodhouse)
177 * Directly included libp11 code into the engine (Matt Hauck)
178 * Fixed handling simultaneous make jobs (Derek Straka)
179 * Reverted an old hack that broke engine initialization (Michał Trojnara)
180 * Fixed loading of multiple keys due to unneeded re-logging (Matt Hauck)
181 * Makefile fixes and improvements (Nikos Mavrogiannopoulos)
182 * Fixed several certificate selection bugs (Michał Trojnara)
183 * The signed message digest is truncated if it is too long for the
184 signing curve (David von Oheimb)
185 * Workaround for broken PKCS#11 modules not returning CKA_EC_POINT
186 in the ASN1_OCTET_STRING format (Michał Trojnara)
187 * OpenSSL 1.1.0 build fixes (Michał Trojnara)
188
189 New in 0.4.0; 2016-03-28; Michał Trojnara
190 * Merged engine_pkcs11 (Michał Trojnara)
191 * Added ECDSA support for OpenSSL < 1.0.2 (Michał Trojnara)
192 * Added ECDH key derivation support (Doug Engert and Michał Trojnara)
193 * Added support for RSA_NO_PADDING RSA private key decryption, used
194 by OpenSSL for various features including OAEP (Michał Trojnara)
195 * Added support for the ANSI X9.31 (RSA_X931_PADDING) RSA padding
196 (Michał Trojnara)
197 * Added support for RSA encryption (not only signing) (Michał Trojnara)
198 * Added CKA_ALWAYS_AUTHENTICATE support (Michał Trojnara)
199 * Fixed double locking the global engine lock (Michał Trojnara)
200 * Fixed incorrect errors reported on signing/encryption/decryption
201 (Michał Trojnara)
202 * Fixed deadlocks in keys and certificates listing (Brian Hinz)
203 * Use PKCS11_MODULE_PATH environment variable (Doug Engert)
204 * Added support for building against OpenSSL 1.1.0-dev (Doug Engert)
205 * Returned EVP_PKEY objects are no longer "const" (Michał Trojnara)
206 * Fixed building against OpenSSL 0.9.8 (Michał Trojnara)
207 * Removed support for OpenSSL 0.9.7 (Michał Trojnara)
208
209 New in 0.3.1; 2016-01-22; Michał Trojnara
210 * Added PKCS11_is_logged_in to the API (Mikhail Denisenko)
211 * Added PKCS11_enumerate_public_keys to the API (Michał Trojnara)
212 * Fixed EVP_PKEY handling of public keys (Michał Trojnara)
213 * Added thread safety based on OpenSSL dynamic locks (Michał Trojnara)
214 * A private index is allocated for ex_data access (RSA and ECDSA classes)
215 instead of using the reserved index zero (app_data) (Michał Trojnara)
216 * Fixes in reinitialization after fork; addresses #39
217 (Michał Trojnara)
218 * Improved searching for dlopen() (Christoph Moench-Tegeder)
219 * MSVC build fixes (Michał Trojnara)
220 * Fixed memory leaks in pkcs11_get_evp_key_rsa() (Michał Trojnara)
221
222 New in 0.3.0; 2015-10-09; Nikos Mavrogiannopoulos
223 * Added small test suite based on softhsm (run on make check)
224 * Memory leak fixes (Christian Heimes)
225 * On module initialization tell the module to that the OS locking
226 primitives are OK to use (Mike Gerow)
227 * Transparently handle applications that fork. That is call C_Initialize()
228 and reopen any handles if a fork is detected.
229 * Eliminated any hard coded limits for certificate size (Doug Engert)
230 * Added support for ECDSA (Doug Engert)
231 * Allow RSA_NO_PADDING padding mode in PKCS11_private_encrypt
232 (Stephane Adenot)
233 * Eliminated several hard-coded limits in parameter sizes.
234
235 New in 0.2.8; 2011-04-15; Martin Paljak
236 * Bumped soname for PKCS11_token struct size changes (Martin Paljak).
237 * Display the number of available slots (Ludovic Rousseau).
238 * Add openssl libcrypto to pkg-config private libs list (Kalev Lember).
239 * Fix building examples with --no-add-needed which is the default in Fedora
240 (Kalev Lember).
241 * Expose more token flags in PKCS11_token structure (Kalev Lember).
242 * Check that private data is not NULL in pkcs11_release_slot (Robin Bryce,
243 ticket #137).
244
245 New in 0.2.7; 2009-10-20; Andreas Jellinghaus
246 * If CKR_CRYPTOKI_ALREADY_INITIALIZED is returned from C_Initialize(): ignore.
247 (Needed for unloaded/reloaded engines e.g. in wpa_supplicant.) By David Smith.
248
249 New in 0.2.6; 2009-07-22; Andreas Jellinghaus
250 * Fix new version: add new symbol to export file
251 * fix building on MSVC platform
252
253 New in 0.2.5; 2009-06-15; Andreas Jellinghaus
254 * Add function to export the slot id (Douglas E. Engert).
255 * Increase library version because of the new function.
256
257 New in 0.2.4; 2008-07-31; Andreas Jellinghaus
258 * Build system rewritten (NOTICE: configure options was modified).
259 The build system can produce outputs for *NIX, cygwin and native
260 windows (using mingw).
261 * added PKCS11_CTX_init_args (David Smith).
262 * fix segfault in init_args code.
263 * implemented PKCS11_private_encrypt (with PKCS11_sign now based on it)
264 (Arnaud Ebalard)
265
266 New in 0.2.3; 2007-07-11; Andreas Jellinghaus
267 * update wiki export script (add images, fix links).
268 * replaced rsa header files from rsalabs (official) with scute (open source).
269 * allow CKR_USER_ALREADY_LOGGED_IN on C_Login.
270 * mark internal functions as static.
271 * add code to store public keys and generate keys.