Answer the question
In order to leave comments, you need to log in
What are the alternatives to storing the password in code?
Your programs have to store passwords and keys in code to connect to a server or encrypt/decrypt data in ROM. Having stumbled upon an article about how dangerous it is, I wondered: what are the alternatives? If in the context of microcontrollers there are sometimes hardware features, then what about, for example, on Linux or Android?
Answer the question
In order to leave comments, you need to log in
If you want to store the password locally (I don’t know about microcontrollers), that is, there is such a thing as a TPM module , you can also see the answers to this question How to store the encryption key for desktop applications? .
Depends on the controller. Most microcircuits support Lock-Bit - after which it is almost impossible (or very difficult) to read the firmware as a programmer.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question