aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2021-11-10 02:58:16 +0000
committerNIIBE Yutaka <[email protected]>2021-11-10 02:58:16 +0000
commit0982c6cb19da689ae84ad25b6db12bf30ac75030 (patch)
treeb9dff5c933c33e6fca84fd92d3dfdacbb51dc326
parentwks: Do not mark key files as executable (diff)
downloadgnupg-0982c6cb19da689ae84ad25b6db12bf30ac75030.tar.gz
gnupg-0982c6cb19da689ae84ad25b6db12bf30ac75030.zip
scd: More conservative selection of a card reader.
* scd/apdu.c (select_a_reader): Only SPRx32 is in the white list. -- GnuPG-bug-id: 5644 Fixes-commit: 752422a792cecf459b37f517d634bcf272292b14 Signed-off-by: NIIBE Yutaka <[email protected]>
-rw-r--r--scd/apdu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scd/apdu.c b/scd/apdu.c
index 44455f7e8..254353af6 100644
--- a/scd/apdu.c
+++ b/scd/apdu.c
@@ -1199,7 +1199,7 @@ select_a_reader (const char *list, unsigned int len)
};
const char *white_list_to_prefer[] = {
/* We do substring match by strstr(3). */
- "SPRx32", "cyberJack", "Gnuk", "Trustica"
+ "SPRx32"
};
const char *p = list;
const char *candidate = NULL;