fix bad openssl commands, remove redundant test

pull/328/head
John Bland 2023-07-26 18:48:29 -04:00 committed by Daniele Lacamera
parent bd070816d1
commit fd08d321e2
2 changed files with 2 additions and 7 deletions

View File

@ -84,11 +84,6 @@ jobs:
arch: host
config-file: ./config/examples/sim.config
keytools_test:
uses: ./.github/workflows/test-keytools.yml
with:
arch: host
stm32f4_small_blocks_uart_update_test:
uses: ./.github/workflows/test-build.yml
with:

View File

@ -111,11 +111,11 @@ jobs:
- name: Sign the digest with the external key
run: |
openssl pkeyutl -sign -keyform der -inkey private-key.der -in test-app/image_v1_digest.bin > test-app/image_v1.sig
openssl pkeyutl -sign -keyform der -inkey private-key.der -rawin -in test-app/image_v1_digest.bin > test-app/image_v1.sig
- name: Generate final signed binary
run: |
./tools/keytools/sign --ecc256 --sha256 --manual-sign test-app/image.elf public-key.der 1 test-app/image_v1.sig
./tools/keytools/sign --ed25519 --sha256 --manual-sign test-app/image.elf public-key.der 1 test-app/image_v1.sig
# RSA
- name: Select config