Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion scripts/generate_keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@
try:
import monocypher
except ImportError:
print("Please install monocypher with: python3 -m pip install pymonocypher")
Logs.error("Please install monocypher with: python3 -m pip install pymonocypher==3.1.3.2")
sys.exit(1)

if monocypher.__version__ != "3.1.3.2":
Logs.error("must use monocypher 3.1.3.2, please run: python3 -m pip install pymonocypher==3.1.3.2")
sys.exit(1)

if len(sys.argv) != 2:
print("Usage: generate_keys.py BASENAME")
Expand Down
2 changes: 1 addition & 1 deletion scripts/install_build_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ python3 -m pip install pymavlink
python3 -m pip install dronecan
python3 -m pip install pyserial
python3 -m pip install pexpect
python3 -m pip install pymonocypher
python3 -m pip install pymonocypher==3.1.3.2

wget https://downloads.arduino.cc/arduino-cli/arduino-cli_0.27.1_Linux_64bit.tar.gz
mkdir -p bin
Expand Down
2 changes: 1 addition & 1 deletion scripts/secure_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
try:
import monocypher
except ImportError:
print("Please install monocypher with: python3 -m pip install pymonocypher")
print("Please install monocypher with: python3 -m pip install pymonocypher==3.1.3.2")
sys.exit(1)


Expand Down
2 changes: 1 addition & 1 deletion scripts/sign_fw.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
try:
import monocypher
except ImportError:
print("Please install monocypher with: python3 -m pip install pymonocypher")
print("Please install monocypher with: python3 -m pip install pymonocypher==3.1.3.2")
sys.exit(1)

key_len = 32
Expand Down
Loading