From 87660df8f2ba5481bd8daca9321ad06e5f6fe6f2 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 9 Apr 2019 17:14:47 +0200 Subject: [PATCH] fix: 'hf mf hardnested' - not verify key when reading nonce file --- client/cmdhfmf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/cmdhfmf.c b/client/cmdhfmf.c index 4706017cb..dc2dee7b7 100644 --- a/client/cmdhfmf.c +++ b/client/cmdhfmf.c @@ -1471,7 +1471,7 @@ int CmdHF14AMfNestedHard(const char *Cmd) { cmdp++; } - if (!know_target_key) { + if (!know_target_key && nonce_file_read == false) { uint64_t key64 = 0; // check if we can authenticate to sector int res = mfCheckKeys(blockNo, keyType, true, 1, key, &key64);