From e05f6a4c5b71f47aa262ec1571c822a59656f76e Mon Sep 17 00:00:00 2001 From: Christoph Honal Date: Thu, 4 Aug 2022 23:11:20 +0200 Subject: [PATCH] Hardware keys: Add VivoKey and DT token ATRs This adds the ATRs of the VivoKey Apex and the Dangerous Things FlexSecure tokens, in order to display a human-readable name instead of "Unknown Key". --- src/keys/drivers/YubiKeyInterfacePCSC.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/keys/drivers/YubiKeyInterfacePCSC.h b/src/keys/drivers/YubiKeyInterfacePCSC.h index 17e282111..e8e6307c9 100644 --- a/src/keys/drivers/YubiKeyInterfacePCSC.h +++ b/src/keys/drivers/YubiKeyInterfacePCSC.h @@ -106,7 +106,10 @@ private: "\x3B\xFD\x13\x00\x00\x81\x31\xFE\x45\x41\x37\x30\x30\x36\x43\x47\x20\x32\x34\x32\x52\x31\xD6"), "YubiKey NEO (token)"}, // Other tokens implementing the Yubikey challenge-response protocol - {QByteArrayLiteral("\x3B\x80\x80\x01\x01"), "Fidesmo Card 2.0"}}; + {QByteArrayLiteral("\x3B\x80\x80\x01\x01"), "Fidesmo Card 2.0"}, + {QByteArrayLiteral("\x3B\x8A\x80\x01\x00\x31\xC1\x73\xC8\x40\x00\x00\x90\x00\x90"), "VivoKey Apex"}, + {QByteArrayLiteral("\x3B\x8D\x80\x01\x00\x31\xC1\x73\xC8\x40\x00\x52\xA5\x10\x00\x90\x00\x70"), + "Dangerous Things FlexSecure"}}; }; #endif // KEEPASSX_YUBIKEY_INTERFACE_PCSC_H