Attempted to do some stuff with debugging
This commit is contained in:
parent
644251c57a
commit
288200c1a6
4 changed files with 3 additions and 5 deletions
|
@ -21,7 +21,7 @@ bool archive_import(Manager* manager) {
|
|||
// Skipping to each password
|
||||
if (i % 4 == 0) {
|
||||
// DEBUG
|
||||
FURI_LOG_D(TAG, "(%i) Adding password.", i);
|
||||
FURI_LOG_D(TAG, "(%i, %s) Adding password.", i, split[i]);
|
||||
|
||||
// Allocating memory for a password
|
||||
Password* new_password = pass_init(
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#define F_DATA EXT_PATH("apps_data/fpass/data.bin")
|
||||
#define F_ARCHIVE EXT_PATH("apps_data/fpass/archive.txt")
|
||||
|
||||
#define F_DELIMITER '\v'
|
||||
#define F_DELIMITER '\r'
|
||||
|
||||
// Functions
|
||||
char** split_string(const char* str, char delimiter, int* count);
|
||||
|
|
|
@ -47,8 +47,6 @@ char* secure_storage_load(SecureStorage* secure_storage, Store_File_Path path, c
|
|||
// Decrypting it
|
||||
xor_encrypt_decrypt(data, secure_storage->key);
|
||||
|
||||
FURI_LOG_D(TAG, "Decrypted: %s", data);
|
||||
|
||||
// Returning result
|
||||
return data;
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ import sys
|
|||
import json
|
||||
|
||||
# Variables
|
||||
file_delimiter = '\v'
|
||||
file_delimiter = '\r'
|
||||
all_passwords = ""
|
||||
|
||||
# Functions
|
||||
|
|
Loading…
Reference in a new issue