mirror of https://github.com/ArduPilot/ardupilot
Tools: force pymonocypher version
This commit is contained in:
parent
3f715cd6cc
commit
360f84d3a8
|
@ -231,7 +231,7 @@ def sign_firmware(image, private_keyfile):
|
|||
try:
|
||||
import monocypher
|
||||
except ImportError:
|
||||
Logs.error("Please install monocypher with: python3 -m pip install pymonocypher")
|
||||
Logs.error("Please install monocypher with: python3 -m pip install pymonocypher==3.1.3.2")
|
||||
return None
|
||||
try:
|
||||
key = open(private_keyfile, 'r').read()
|
||||
|
|
|
@ -366,7 +366,7 @@ for t in $CI_BUILD_TARGET; do
|
|||
echo "Building signed firmwares"
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y python3-dev
|
||||
python3 -m pip install pymonocypher
|
||||
python3 -m pip install pymonocypher==3.1.3.2
|
||||
./Tools/scripts/signing/generate_keys.py testkey
|
||||
$waf configure --board CubeOrange-ODID --signed-fw --private-key testkey_private_key.dat
|
||||
$waf copter
|
||||
|
|
|
@ -12,7 +12,7 @@ firmware doesn't match any of the public keys in the bootloader.
|
|||
To generate a public/private key pair, run the following command:
|
||||
|
||||
```
|
||||
python3 -m pip install pymonocypher
|
||||
python3 -m pip install pymonocypher==3.1.3.2
|
||||
Tools/scripts/signing/generate_keys.py NAME
|
||||
```
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ import base64
|
|||
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)
|
||||
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ import base64
|
|||
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)
|
||||
|
||||
# get command line arguments
|
||||
|
|
|
@ -10,7 +10,7 @@ import json, base64, zlib
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue