Blame SOURCES/opensc-0.22.0-file-cache.patch

ecf8b1
diff -up opensc-0.22.0/etc/opensc.conf.file-cache opensc-0.22.0/etc/opensc.conf
ecf8b1
--- opensc-0.22.0/etc/opensc.conf.file-cache	2021-10-08 13:14:44.091772071 +0200
ecf8b1
+++ opensc-0.22.0/etc/opensc.conf	2021-10-08 13:19:27.339051951 +0200
ecf8b1
@@ -2,7 +2,7 @@ app default {
ecf8b1
 	# debug = 3;
ecf8b1
 	# debug_file = opensc-debug.txt;
ecf8b1
 	framework pkcs15 {
ecf8b1
-		# use_file_caching = true;
ecf8b1
+		use_file_caching = true;
ecf8b1
 	}
ecf8b1
 	reader_driver pcsc {
ecf8b1
 		# The pinpad is disabled by default,
ecf8b1
@@ -10,3 +10,10 @@ app default {
ecf8b1
 		enable_pinpad = false;
ecf8b1
 	}
ecf8b1
 }
ecf8b1
+# the pkcs15-init is used for card initialization when the file caching
ecf8b1
+# brings more trouble than use so disable that:
ecf8b1
+app pkcs15-init {
ecf8b1
+	framework pkcs15 {
ecf8b1
+		use_file_caching = false;
ecf8b1
+	}
ecf8b1
+}