Elite progress (#2481)

* WIP: builds
* can read standard
* Test standard picopass dictiony during attack
* correctly save diversified key
* read card on success
* more logs
* update file location
* Call setup methods
* backbutton and attempt at skip
* fixed skip
* remove found key state
* rename dictionary attack
* move notification
* center button back to start menu
* wait for card
* Picopass: proper integer formatting
* Picopass: even more proper integer formatting
* remove nextState

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
Eric Betts
2023-03-28 01:21:14 -07:00
committed by GitHub
parent 8b2dfea925
commit 0161d49d80
11 changed files with 693 additions and 14 deletions
+4
View File
@@ -21,6 +21,7 @@
#include <input/input.h>
#include "scenes/picopass_scene.h"
#include "views/dict_attack.h"
#include <storage/storage.h>
#include <lib/toolbox/path.h>
@@ -36,6 +37,7 @@ enum PicopassCustomEvent {
PicopassCustomEventWorkerExit,
PicopassCustomEventByteInputDone,
PicopassCustomEventTextInputDone,
PicopassCustomEventDictAttackSkip,
};
typedef enum {
@@ -60,6 +62,7 @@ struct Picopass {
Loading* loading;
TextInput* text_input;
Widget* widget;
DictAttack* dict_attack;
};
typedef enum {
@@ -68,6 +71,7 @@ typedef enum {
PicopassViewLoading,
PicopassViewTextInput,
PicopassViewWidget,
PicopassViewDictAttack,
} PicopassView;
Picopass* picopass_alloc();