Skip to content

Commit 18ebcd6

Browse files
jsuhaas22praneethbajjuri
authored andcommitted
fix(Security): Add warning about CFG_RPMB_WRITE_KEY
Add a warning about CFG_RPMB_WRITE_KEY option in the page about encrypting the filesystem using fTPM. That option should never be enabled in production, for reason stated in the warning. Signed-off-by: Suhaas Joshi <s-joshi@ti.com>
1 parent 4c94729 commit 18ebcd6

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

source/linux/Foundational_Components/System_Security/Filesystem_Encryption.rst

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,18 @@ steps specific to LUKS:
179179
CFG_RPMB_FS=y \
180180
CFG_RPMB_WRITE_KEY=y \
181181
CFG_RPMB_ANNOUNCE_PROBE_CAP=n \
182-
"
182+
"
183183
184-
- **optee-client**: under the ``meta-ti`` layer
184+
.. warning::
185+
186+
Use ``CFG_RPMB_WRITE_KEY=y`` only to write the authentication key
187+
to the RPMB partition. After writing the key, re-flash the device
188+
with another image built using ``CFG_RPMB_WRITE_KEY=n`` before
189+
deploying to production. Never send an image with the
190+
``CFG_RPMB_WRITE_KEY`` option enabled into production; it exposes
191+
the key in plaintext to user-space if requested.
192+
193+
- **optee-client**: under the ``meta-ti`` layer
185194
:file:`meta-ti-bsp/recipes-security/optee/optee-client_%.bbappend`
186195

187196
Disable RPMB emulation mode.

0 commit comments

Comments
 (0)