Skip to content

Commit db21a62

Browse files
committed
1.4.1 - Fix invalid nonces after skipping
1 parent 3650991 commit db21a62

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

mifare_nested_i.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include <gui/modules/variable_item_list.h>
2222
#include "mifare_nested_icons.h"
2323

24-
#define NESTED_VERSION_APP "1.4.0"
24+
#define NESTED_VERSION_APP "1.4.1"
2525
#define NESTED_GITHUB_LINK "https://github.com/AloneLiberty/FlipperNested"
2626
#define NESTED_RECOVER_KEYS_GITHUB_LINK "https://github.com/AloneLiberty/FlipperNestedRecovery"
2727
#define NESTED_NONCE_FORMAT_VERSION "3"

mifare_nested_worker.c

+3
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,7 @@ bool mifare_nested_worker_check_initial_keys(
552552
info->key_type = key_type;
553553
info->block = mifare_nested_worker_get_block_by_sector(sector);
554554
info->collected = false;
555+
info->skipped = true;
555556

556557
nonces->nonces[sector][key_type][tries] = info;
557558
}
@@ -568,6 +569,7 @@ bool mifare_nested_worker_check_initial_keys(
568569
for(uint8_t tries = 0; tries < tries_count; tries++) {
569570
Nonces* info = nonces->nonces[sector][0][tries];
570571
info->collected = true;
572+
info->skipped = true;
571573

572574
nonces->nonces[sector][0][tries] = info;
573575
}
@@ -588,6 +590,7 @@ bool mifare_nested_worker_check_initial_keys(
588590
for(uint8_t tries = 0; tries < tries_count; tries++) {
589591
Nonces* info = nonces->nonces[sector][1][tries];
590592
info->collected = true;
593+
info->skipped = true;
591594

592595
nonces->nonces[sector][1][tries] = info;
593596
}

0 commit comments

Comments
 (0)