Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

platform: fix name of deployment data file #88

Merged
merged 1 commit into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion platform/storage/esp-idf/nvs/src/mender-storage.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@

/**
* @brief NVS keys
* @note According to the ESP-IDF documentation the NVS keys are limited to 15 characters
* @note https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/storage/nvs_flash.html#keys-and-values
*/
#define MENDER_STORAGE_NVS_PRIVATE_KEY "key.der"
#define MENDER_STORAGE_NVS_PUBLIC_KEY "pubkey.der"
#define MENDER_STORAGE_NVS_DEPLOYMENT_DATA "deployment-data.json"
#define MENDER_STORAGE_NVS_DEPLOYMENT_DATA "deployment.json"
#define MENDER_STORAGE_NVS_DEVICE_CONFIG "config.json"

/**
Expand Down
2 changes: 1 addition & 1 deletion platform/storage/posix/src/mender-storage.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
*/
#define MENDER_STORAGE_NVS_PRIVATE_KEY CONFIG_MENDER_STORAGE_PATH "key.der"
#define MENDER_STORAGE_NVS_PUBLIC_KEY CONFIG_MENDER_STORAGE_PATH "pubkey.der"
#define MENDER_STORAGE_NVS_DEPLOYMENT_DATA CONFIG_MENDER_STORAGE_PATH "deployment-data.json"
#define MENDER_STORAGE_NVS_DEPLOYMENT_DATA CONFIG_MENDER_STORAGE_PATH "deployment.json"
#define MENDER_STORAGE_NVS_DEVICE_CONFIG CONFIG_MENDER_STORAGE_PATH "config.json"

mender_err_t
Expand Down
Loading