From b31ff527a3e9a780b47dc1ff8d075874a530bb57 Mon Sep 17 00:00:00 2001 From: bunnie Date: Sun, 11 Jul 2021 17:01:56 +0800 Subject: [PATCH] more help for dealing with python shittiness --- tools/sign_image.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/sign_image.py b/tools/sign_image.py index 0f44369ba..221b652ba 100755 --- a/tools/sign_image.py +++ b/tools/sign_image.py @@ -2,6 +2,8 @@ import argparse import sys from Crypto.IO import PEM # counter-intuitively, this is from pycryptodome: `pip3 install pycryptodome` (ubuntu) `pip install pycryptodome` (maybe others?) +# note: if you did the sensible thing and tried to install the crypto or pycrypto libraries first when you hit this error +# you have to uninstall those before putting in pycryptodome. from nacl.signing import SigningKey # from pynacl package: `pip3 install pynacl` from nacl.encoding import RawEncoder import os.path