File tree 4 files changed +10
-3
lines changed
4 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 1.5.1
4
+
5
+ Fix wrong invalid/skipped keys count
3
6
4
7
## 1.5.0
5
8
Original file line number Diff line number Diff line change 21
21
#include <gui/modules/variable_item_list.h>
22
22
#include "mifare_nested_icons.h"
23
23
24
- #define NESTED_VERSION_APP "1.5.0 "
24
+ #define NESTED_VERSION_APP "1.5.1 "
25
25
#define NESTED_GITHUB_LINK "https://github.com/AloneLiberty/FlipperNested"
26
26
#define NESTED_RECOVER_KEYS_GITHUB_LINK "https://github.com/AloneLiberty/FlipperNestedRecovery"
27
27
#define NESTED_NONCE_FORMAT_VERSION "3"
Original file line number Diff line number Diff line change @@ -478,9 +478,13 @@ SaveNoncesResult_t* mifare_nested_worker_write_nonces(
478
478
for (uint8_t sector = 0 ; sector < sector_count ; sector ++ ) {
479
479
for (uint8_t key_type = 0 ; key_type < 2 ; key_type ++ ) {
480
480
if (nonces -> nonces [sector ][key_type ][tries ]-> invalid ) {
481
- result -> invalid ++ ;
481
+ if (tries == 0 ) {
482
+ result -> invalid ++ ;
483
+ }
482
484
} else if (nonces -> nonces [sector ][key_type ][tries ]-> skipped ) {
483
- result -> skipped ++ ;
485
+ if (tries == 0 ) {
486
+ result -> skipped ++ ;
487
+ }
484
488
} else if (nonces -> nonces [sector ][key_type ][tries ]-> collected ) {
485
489
if (nonces -> nonces [sector ][key_type ][tries ]-> hardnested ) {
486
490
FuriString * hardnested_path = furi_string_alloc ();
You can’t perform that action at this time.
0 commit comments