Blame 0010-fix-pcsc-add-opensc-load-module-file.patch

ff27f8
From 8069d40c0e180cd74d4e897c007096523ecce459 Mon Sep 17 00:00:00 2001
Manuel Fombuena 2d7bee
From: Manuel Fombuena <mfombuena@innovara.co.uk>
Manuel Fombuena 2d7bee
Date: Fri, 3 Nov 2023 09:04:53 +0000
ff27f8
Subject: [PATCH 10/10] fix(pcsc): add opensc load module file
Manuel Fombuena 2d7bee
Manuel Fombuena 2d7bee
On Fedora, and possibly others, this file loads opensc-pkcs11.so which you need to interact with the smart card to unlock a LUKS encrypted volume.
ff27f8
ff27f8
(Cherry-picked commit 6da61a2c0e38da4e6e880e1bb7f47d55d2c54c65 from PR#2547)
Manuel Fombuena 2d7bee
---
Manuel Fombuena 2d7bee
 modules.d/91pcsc/module-setup.sh | 3 ++-
Manuel Fombuena 2d7bee
 1 file changed, 2 insertions(+), 1 deletion(-)
Manuel Fombuena 2d7bee
Manuel Fombuena 2d7bee
diff --git a/modules.d/91pcsc/module-setup.sh b/modules.d/91pcsc/module-setup.sh
ff27f8
index 6f8b2c88..26b463d4 100755
Manuel Fombuena 2d7bee
--- a/modules.d/91pcsc/module-setup.sh
Manuel Fombuena 2d7bee
+++ b/modules.d/91pcsc/module-setup.sh
Manuel Fombuena 2d7bee
@@ -29,7 +29,8 @@ install() {
Manuel Fombuena 2d7bee
     inst_simple "$moddir/pcscd.socket" "${systemdsystemunitdir}"/pcscd.socket
Manuel Fombuena 2d7bee
 
Manuel Fombuena 2d7bee
     inst_multiple -o \
Manuel Fombuena 2d7bee
-        pcscd
Manuel Fombuena 2d7bee
+        pcscd \
Manuel Fombuena 2d7bee
+        /usr/share/p11-kit/modules/opensc.module
Manuel Fombuena 2d7bee
 
Manuel Fombuena 2d7bee
     # Enable systemd type unit(s)
Manuel Fombuena 2d7bee
     for i in \
ff27f8
-- 
ff27f8
2.42.0
Manuel Fombuena 2d7bee