update with some hints that hopefully make installation easier

This commit is contained in:
bunnie 2021-07-11 17:00:38 +08:00
parent dfb8d89866
commit 3359267eb0
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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