Skip to content

Commit

Permalink
1.4.1 - Fix invalid nonces after skipping
Browse files Browse the repository at this point in the history
  • Loading branch information
AloneLiberty committed May 4, 2023
1 parent 3650991 commit db21a62
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mifare_nested_i.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <gui/modules/variable_item_list.h>
#include "mifare_nested_icons.h"

#define NESTED_VERSION_APP "1.4.0"
#define NESTED_VERSION_APP "1.4.1"
#define NESTED_GITHUB_LINK "https://github.com/AloneLiberty/FlipperNested"
#define NESTED_RECOVER_KEYS_GITHUB_LINK "https://github.com/AloneLiberty/FlipperNestedRecovery"
#define NESTED_NONCE_FORMAT_VERSION "3"
Expand Down
3 changes: 3 additions & 0 deletions mifare_nested_worker.c
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,7 @@ bool mifare_nested_worker_check_initial_keys(
info->key_type = key_type;
info->block = mifare_nested_worker_get_block_by_sector(sector);
info->collected = false;
info->skipped = true;

nonces->nonces[sector][key_type][tries] = info;
}
Expand All @@ -568,6 +569,7 @@ bool mifare_nested_worker_check_initial_keys(
for(uint8_t tries = 0; tries < tries_count; tries++) {
Nonces* info = nonces->nonces[sector][0][tries];
info->collected = true;
info->skipped = true;

nonces->nonces[sector][0][tries] = info;
}
Expand All @@ -588,6 +590,7 @@ bool mifare_nested_worker_check_initial_keys(
for(uint8_t tries = 0; tries < tries_count; tries++) {
Nonces* info = nonces->nonces[sector][1][tries];
info->collected = true;
info->skipped = true;

nonces->nonces[sector][1][tries] = info;
}
Expand Down

0 comments on commit db21a62

Please sign in to comment.