From: Mahavir Jain Date: Wed, 6 Jun 2018 12:51:00 +0000 (+0530) Subject: docs: fix flash_encryption key generation command X-Git-Tag: v3.1-beta1~49^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6e48e52478782f61d3137ab28a1a1db608006f41;p=esp-idf docs: fix flash_encryption key generation command Signed-off-by: Mahavir Jain --- diff --git a/docs/en/security/flash-encryption.rst b/docs/en/security/flash-encryption.rst index f44fa18bb5..584a6df252 100644 --- a/docs/en/security/flash-encryption.rst +++ b/docs/en/security/flash-encryption.rst @@ -196,7 +196,7 @@ Flash encryption keys are 32 bytes of random data. You can generate a random key Alternatively, if you're using :doc:`secure boot ` and have a secure boot signing key then you can generate a deterministic SHA-256 digest of the secure boot private signing key and use this as the flash encryption key:: - espsecure.py digest_private-key --keyfile secure_boot_signing_key.pem my_flash_encryption_key.bin + espsecure.py digest_private_key --keyfile secure_boot_signing_key.pem my_flash_encryption_key.bin (The same 32 bytes is used as the secure boot digest key if you enable :ref:`reflashable mode` for secure boot.)