summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2021-07-23 23:17:50 +0300
committerTom Rini <trini@konsulko.com>2021-07-29 03:46:34 +0300
commit62b27a561c2868d95445905ad554297e43cc0f2b (patch)
tree4ed6786f1809fc6d212d157a9683a2ab6409c191 /doc
parent89795ef3b6b2d12cffb840a98ee374d2e806aa64 (diff)
downloadu-boot-62b27a561c2868d95445905ad554297e43cc0f2b.tar.xz
mkimage: use environment variable MKIMAGE_SIGN_PIN to set pin for OpenSSL Engine
This patch adds the possibility to pass the PIN the OpenSSL Engine used during signing via the environment variable MKIMAGE_SIGN_PIN. This follows the approach used during kernel module signing ("KBUILD_SIGN_PIN") or UBIFS image signing ("MKIMAGE_SIGN_PIN"). Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'doc')
-rw-r--r--doc/uImage.FIT/signature.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/uImage.FIT/signature.txt b/doc/uImage.FIT/signature.txt
index 7cb1c15e5e..61a72db3c7 100644
--- a/doc/uImage.FIT/signature.txt
+++ b/doc/uImage.FIT/signature.txt
@@ -533,8 +533,8 @@ Generic engine key ids:
or
"<key-name-hint>"
-As mkimage does not at this time support prompting for passwords HSM may need
-key preloading wrapper to be used when invoking mkimage.
+In order to set the pin in the HSM, an environment variable "MKIMAGE_SIGN_PIN"
+can be specified.
The following examples use the Nitrokey Pro using pkcs11 engine. Instructions
for other devices may vary.