Commit 31d29c8e authored by David Brown's avatar David Brown Committed by David Brown
Browse files

imgtool: Update docs for new key format

Update the dependencies needed, as well as adding a blurb about how to
password protect the private key.

Signed-off-by: default avatarDavid Brown <david.brown@linaro.org>
parent 2c9153a2
Loading
Loading
Loading
Loading
+6 −4
Changes for docs/imgtool.md: 6 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -8,13 +8,11 @@ this script should be preferred to the manual steps described in
This program is written for Python3, and has several dependencies on
Python libraries.  These can be installed using 'pip3' manually:

    pip3 install --user pycrypto
    pip3 install --user pyasn1
    pip3 install --user ecdsa
    pip3 install --user cryptography

or, on Ubuntu, using the package manager:

    sudo apt-get install python3-crypto python3-pyasn1 python3-ecdsa
    sudo apt-get install python3-cryptography

## Managing keys

@@ -29,6 +27,10 @@ mcuboot is configured to verify.
This key file is what is used to sign images, this file should be
protected, and not widely distributed.

You can add the `-p` argument to `keygen`, which will cause it to
prompt for a password.  You will need to enter this password in every
time you use the private key.

## Incorporating the public key into the code

There is a development key distributed with mcuboot that can be used