On Sun, 27 Feb 2022 22:15:45 +0100 Sebastian Andrzej Siewior <sebast...@breakpoint.cc> wrote: > Your package is failing to build using OpenSSL 3.0 with the > following error: > > |Creating bundle in 'plain' format > |C08ACC46967F0000:error:12800067:DSO support routines:DSO_load:could not load > the shared library:../crypto/dso/dso_lib.c:152: > |C08ACC46967F0000:error:13000084:engine routines:dynamic_load:dso not > found:../crypto/engine/eng_dyn.c:422: > |C08ACC46967F0000:error:13000074:engine routines:ENGINE_by_id:no such > engine:../crypto/engine/eng_list.c:430:id=pkcs11 > |not ok 20 - rauc bundle with PKCS11 (key 1) > |FAIL: test/rauc.t 20 - rauc bundle with PKCS11 (key 1)
This seems to be caused by a missing PKCS#11 OpensSSL engine. RAUC's test suite uses SoftHSM to test the PKCS#11 support, so it needs a working PKCS#11 engine and module matching the active OpenSSL. In Debian, the engine is provided by libp11 (in libengine-pkcs11-openssl) and the module is provided by SoftHSM (in libsofthsm2). Neither of libp11 nor SoftHSM have been updated to OpenSSL 3 in Debian yet, so the PKCS#11 tests can't work. Without PKCS#11 support, RAUC should already work with OpenSSL 3, though. As soon as the dependencies are updated, PKCS#11 in RAUC should work as well without further changes to RAUC. Regards, Jan