Fixed scripts by adding explicit "--ecc256" argument

pull/151/head
Daniele Lacamera 2021-10-07 12:25:20 +02:00
parent da353cfe2e
commit 8ffdf1997b
4 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@ APP=test-app/image_v"$VERSION"_signed_and_encrypted.bin
# Create test key
echo -n "0123456789abcdef0123456789abcdef0123456789ab" > enc_key.der
$SIGN_TOOL --encrypt enc_key.der test-app/image.bin ecc256.der $VERSION
$SIGN_TOOL --ecc256 --encrypt enc_key.der test-app/image.bin ecc256.der $VERSION
dd if=/dev/zero bs=$SIZE count=1 2>/dev/null | tr "\000" "\377" > update.bin
dd if=$APP of=update.bin bs=1 conv=notrunc
printf "pBOOT" >> update.bin

View File

@ -9,7 +9,7 @@ fi
SIZE=131067
VERSION=8
APP=test-app/image_v"$VERSION"_signed.bin
$SIGN_TOOL test-app/image.bin ecc256.der $VERSION
$SIGN_TOOL --ecc256 test-app/image.bin ecc256.der $VERSION
dd if=/dev/zero bs=$SIZE count=1 2>/dev/null | tr "\000" "\377" > update.bin
dd if=$APP of=update.bin bs=1 conv=notrunc
printf "pBOOT" >> update.bin

View File

@ -9,7 +9,7 @@ fi
SIZE=129019
VERSION=8
APP=test-app/image_v"$VERSION"_signed.bin
$SIGN_TOOL test-app/image.bin ecc256.der $VERSION
$SIGN_TOOL --sha256 --ecc256 test-app/image.bin ecc256.der $VERSION
dd if=/dev/zero bs=$SIZE count=1 2>/dev/null | tr "\000" "\377" > update.bin
dd if=$APP of=update.bin bs=1 conv=notrunc
printf "pBOOT" >> update.bin

View File

@ -9,7 +9,7 @@ fi
SIZE=229371
VERSION=8
APP=test-app/image_v"$VERSION"_signed.bin
$SIGN_TOOL test-app/image.bin ecc256.der $VERSION
$SIGN_TOOL --ecc256 test-app/image.bin ecc256.der $VERSION
dd if=/dev/zero bs=$SIZE count=1 2>/dev/null | tr "\000" "\377" > update.bin
dd if=$APP of=update.bin bs=1 conv=notrunc
printf "pBOOT" >> update.bin