|
From: Michał T. <no...@gi...> - 2026-09-02 10:02:54
|
Branch: refs/heads/master Home: https://github.com/OpenSC/libp11 Commit: 01c21ac5b59a0b43ba2f78c1019f68b38b32860c https://github.com/OpenSC/libp11/commit/01c21ac5b59a0b43ba2f78c1019f68b38b32860c Author: Michał Trojnara <Mic...@st...> Date: 2026-09-02 (Wed, 02 Sep 2026) Changed paths: M NEWS M src/eng_front.c M src/libp11.h M src/p11_pkey.c Log Message: ----------- Fix ENGINE pkey method lifetime Stop sharing EVP_PKEY_METHOD instances between ENGINE objects because OpenSSL takes ownership of each method and frees it with the ENGINE. Build methods in libp11 and cache them per ENGINE in the engine front end. Keep the exported PKCS11_pkey_meths() API as a fresh-method builder. Direct registration as an ENGINE callback can therefore leak methods; document this compatibility regression and direct users to the bundled engine. Fixes #678 To unsubscribe from these emails, change your notification settings at https://github.com/OpenSC/libp11/settings/notifications |