|
|
|
How to handle Linux system integrity and secrets on physical product?
|
|
6 points
by weeeee
2192 days ago
|
|
I'm working on a IOT physical product that runs Linux and will be sold to customers. This product has a server with a SSD and contains source code in addition to secrets used to communicate with a backend. The product is early on in the development stages and we currently use LUKS. Our technicians enter in the decryption password to unlock these servers at the beginning of the day. When this product makes it to production, providing our customers with the decryption key is definitely a no-go. We need to guarantee that our source code and secrets are protected in addition to ensuring that the system hasn't been tampered with. What are some common ways to handle this in physical products? Any links or tips on this topic would be massively appreciated! |
|
https://access.redhat.com/documentation/en-us/red_hat_enterp...
Edit: I’m reading through your question again. In terms of secrets used to communicate with a back end, it’s very very very important that the secrets used for each device/customer are different, and can be revoked. If you’ve got something like AWS access keys in there, don’t. Use per-user secrets that aren’t the keys to the kingdom.