Secure Storage question

#1

Use le_secStore_Write() to specify the item's name and value . I can't find it in the root directory. Is it a file Or an area of memory?

0 Likes

#2

You have to use a special Legato tool, called “secstore”, to view secure storage contents. First type the following to get the base directory for the secure storage items:

“secstore ls /sys”

This should output a number. This number seems to change, which is why you need to run the above command. Assume that the number is “66” for the following commands. Type the following to see your secure entries (assuming your app name is “taosecStorageTest”):

“secstore read /sys/66/apps/taosecStorageTest/file1”

You can type “secstore --help” to see more info on how to use the secstore utility.

0 Likes