diff --git a/README.md b/README.md index 6d7e16e13..45c5a7343 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ from source. It consists of the following projects: * **xous-rs**: userspace library ## Dependencies -There's some Python scripts to help deal with firmware signing. Ensure the following python packages are available in your environment: `pycryptodome` (signing - PEM read), `cryptography` (signind - x509 read), `pynacl` (signing - ed25519 signatures). If you plan on doing USB firmware updates, you'll also need `progressbar2` (updates), `pyusb` (updates). +There's some Python scripts to help deal with firmware signing. Ensure the following python packages are available in your environment: `pycryptodome` (signing - PEM read), `cryptography` (signing - x509 read), `pynacl` (signing - ed25519 signatures). If you plan on doing USB firmware updates, you'll also need `progressbar2` (updates), `pyusb` (updates). ## Quickstart using Hosted Mode diff --git a/tools/sign_image.py b/tools/sign_image.py index cb19420f1..0f44369ba 100755 --- a/tools/sign_image.py +++ b/tools/sign_image.py @@ -1,7 +1,7 @@ #! /usr/bin/env python3 import argparse import sys -from Crypto.IO import PEM # counter-intuitively, this is from pycryptodome: `pip3 install pycryptodome` +from Crypto.IO import PEM # counter-intuitively, this is from pycryptodome: `pip3 install pycryptodome` (ubuntu) `pip install pycryptodome` (maybe others?) from nacl.signing import SigningKey # from pynacl package: `pip3 install pynacl` from nacl.encoding import RawEncoder import os.path