Disable pinpad by default
This commit is contained in:
parent
d215b3e7b6
commit
795e813a0c
13
opensc-0.19.0-pinpad.patch
Normal file
13
opensc-0.19.0-pinpad.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff -up opensc-0.19.0/etc/opensc.conf.pinpad opensc-0.19.0/etc/opensc.conf
|
||||
--- opensc-0.19.0/etc/opensc.conf.pinpad 2018-10-22 14:31:12.082963540 +0200
|
||||
+++ opensc-0.19.0/etc/opensc.conf 2018-10-22 14:33:59.939410701 +0200
|
||||
@@ -4,4 +4,9 @@ app default {
|
||||
framework pkcs15 {
|
||||
# use_file_caching = true;
|
||||
}
|
||||
+ reader_driver pcsc {
|
||||
+ # The pinpad is disabled by default,
|
||||
+ # because of many broken readers out there
|
||||
+ enable_pinpad = false;
|
||||
+ }
|
||||
}
|
@ -28,6 +28,7 @@ Obsoletes: opensc-devel < 0.12.0
|
||||
Obsoletes: coolkey <= 1.1.0-36
|
||||
# https://github.com/OpenSC/OpenSC/pull/1435
|
||||
Patch2: opensc-0.19.0-rsa-pss.patch
|
||||
Patch3: opensc-0.19.0-pinpad.patch
|
||||
|
||||
%description
|
||||
OpenSC provides a set of libraries and utilities to work with smart cards. Its
|
||||
@ -42,6 +43,7 @@ every software/card that does so, too.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch2 -p1 -b .pss
|
||||
%patch3 -p1 -b .pinpad
|
||||
|
||||
cp -p src/pkcs15init/README ./README.pkcs15init
|
||||
cp -p src/scconf/README.scconf .
|
||||
|
Loading…
Reference in New Issue
Block a user