From 8dd19a00c5968ea0008bcaf97261eb05a3f19f41 Mon Sep 17 00:00:00 2001 From: iceman1001 <iceman@iuse.se> Date: Tue, 31 Mar 2020 16:11:01 +0200 Subject: [PATCH] support v2.0 ndef sigs --- client/mifare/ndef.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/mifare/ndef.c b/client/mifare/ndef.c index 844c7ccd0..5870fb1dd 100644 --- a/client/mifare/ndef.c +++ b/client/mifare/ndef.c @@ -163,7 +163,7 @@ static int ndefPrintHeader(NDEFHeader_t *header) { static int ndefDecodeSig(uint8_t *sig, size_t siglen) { size_t indx = 0; PrintAndLogEx(NORMAL, "\tsignature version: 0x%02x", sig[0]); - if (sig[0] != 0x01) { + if (sig[0] != 0x01 && sig[0] != 0x20) { PrintAndLogEx(ERR, "signature version unknown."); return PM3_ESOFT; }