Package: pkcs11-daemon
Version: 0.4.1-5
Severity: important
Tags: patch
Dear Maintainer,
pkcs11-daemon 0.4.1-5 ships /etc/default/pkcs11-daemon with
PKCS11_LIB=/usr/lib/softhsm/libsofthsm2.so.
The package depends only on libc6 and libssl3t64, so on a system without
libsofthsm2 the daemon stops with "couldn't open library" and
pkcs11-daemon.service ends in start-limit-hit.
Installing libsofthsm2 makes it start with the default configuration.
The fix is one line in debian/control, since the shipped default names that
library:
--- a/debian/control
+++ b/debian/control
@@ -25,7 +25,7 @@
Package: pkcs11-daemon
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}, libsofthsm2
Description: proxy for the PKCS11-library (server)
This project is based on a stripped down GNOME Keyring without all GNOME
dependencies and other features.
I found this with AI assistance and checked it myself on Debian forky.
Daniel Ramos
-- System Information:
Debian Release: forky/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 7.3.0-stereo3d13 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
Versions of packages pkcs11-daemon depends on:
ii libc6 2.43-7
ii libssl3t64 3.6.5-1
pkcs11-daemon recommends no packages.
pkcs11-daemon suggests no packages.
-- no debconf information