From 38c666ec3fdb0e3a8762889ae99faca4adb68b68 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 25 Jan 2022 19:02:38 +0100 Subject: [PATCH] scd: Also prefer Yubikeys if no reader port is given. * scd/apdu.c (select_a_reader): Extend the white list. --- scd/apdu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scd/apdu.c b/scd/apdu.c index 254353af6..6d7f59dd1 100644 --- a/scd/apdu.c +++ b/scd/apdu.c @@ -1199,7 +1199,8 @@ select_a_reader (const char *list, unsigned int len) }; const char *white_list_to_prefer[] = { /* We do substring match by strstr(3). */ - "SPRx32" + "SPRx32", + "Yubico" }; const char *p = list; const char *candidate = NULL;