diff --git a/docs/en/security/secure-boot-v2.rst b/docs/en/security/secure-boot-v2.rst index c3af85c37e..4da3d9b48d 100644 --- a/docs/en/security/secure-boot-v2.rst +++ b/docs/en/security/secure-boot-v2.rst @@ -284,7 +284,7 @@ To use remote signing, disable the option "Sign binaries during build". The priv After the app image and partition table are built, the build system will print signing steps using espsecure.py:: - espsecure.py sign_data --version 2 --keyfile PRIVATE_SIGNING_KEY BINARY_FILE + espsecure.py sign_data BINARY_FILE --version 2 --keyfile PRIVATE_SIGNING_KEY The above command appends the image signature to the existing binary. You can use the `--output` argument to write the signed binary to a separate file::