From 789dd16320ed449e4f60842791fe71282bbb77f3 Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Tue, 22 Aug 2017 14:10:02 +0200 Subject: [PATCH] List human-readable version in the cardos-tool --- src/tools/cardos-tool.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tools/cardos-tool.c b/src/tools/cardos-tool.c index c3c6406b..cccc76d3 100644 --- a/src/tools/cardos-tool.c +++ b/src/tools/cardos-tool.c @@ -188,6 +188,9 @@ static int cardos_info(void) printf(" (that's CardOS M4.4)\n"); } else if (apdu.resp[0] == 0xc9 && apdu.resp[1] == 0x01) { printf(" (that's CardOS V5.0)\n"); + } else if (apdu.resp[0] == 0xc9 && + (apdu.resp[1] == 0x02 || apdu.resp[1] == 0x03)) { + printf(" (that's CardOS V5.3)\n"); } else { printf(" (unknown Version)\n"); }