2022-10-12 02:01:37 +00:00
|
|
|
#pragma once
|
|
|
|
|
2023-04-26 20:50:37 +00:00
|
|
|
#include <storage/storage.h>
|
|
|
|
|
|
|
|
#define CONFIG_FILE_DIRECTORY_PATH EXT_PATH("authenticator")
|
2022-10-12 02:01:37 +00:00
|
|
|
#define CONFIG_FILE_HEADER "Flipper TOTP plugin config file"
|
2023-04-26 20:50:37 +00:00
|
|
|
#define CONFIG_FILE_ACTUAL_VERSION (5)
|
2022-10-12 02:01:37 +00:00
|
|
|
|
|
|
|
#define TOTP_CONFIG_KEY_TIMEZONE "Timezone"
|
|
|
|
#define TOTP_CONFIG_KEY_TOKEN_NAME "TokenName"
|
|
|
|
#define TOTP_CONFIG_KEY_TOKEN_SECRET "TokenSecret"
|
|
|
|
#define TOTP_CONFIG_KEY_TOKEN_ALGO "TokenAlgo"
|
|
|
|
#define TOTP_CONFIG_KEY_TOKEN_DIGITS "TokenDigits"
|
2023-01-18 16:52:33 +00:00
|
|
|
#define TOTP_CONFIG_KEY_TOKEN_DURATION "TokenDuration"
|
2023-04-01 14:45:52 +00:00
|
|
|
#define TOTP_CONFIG_KEY_TOKEN_AUTOMATION_FEATURES "TokenAutomationFeatures"
|
2022-10-12 02:01:37 +00:00
|
|
|
#define TOTP_CONFIG_KEY_CRYPTO_VERIFY "Crypto"
|
|
|
|
#define TOTP_CONFIG_KEY_BASE_IV "BaseIV"
|
2022-10-17 18:22:34 +00:00
|
|
|
#define TOTP_CONFIG_KEY_PINSET "PinIsSet"
|
2022-11-23 22:19:19 +00:00
|
|
|
#define TOTP_CONFIG_KEY_NOTIFICATION_METHOD "NotificationMethod"
|
2023-03-21 16:03:53 +00:00
|
|
|
#define TOTP_CONFIG_KEY_AUTOMATION_METHOD "AutomationMethod"
|
2023-05-26 12:09:10 +00:00
|
|
|
#define TOTP_CONFIG_KEY_SELECTED_FONT "SelectedFont"
|