Skip to content

Commit

Permalink
test: add -h option
Browse files Browse the repository at this point in the history
  • Loading branch information
embetrix committed Dec 17, 2024
1 parent b773be1 commit de0e720
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stm32mp-sign-tool_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ mkdir -p .softhsm/tokens
echo "directories.tokendir = $PWD/.softhsm/tokens" > .softhsm/softhsm2.conf
pkcs11-tool --pin $PIN --module $PKCS11_MODULE_PATH --slot-index=0 --init-token --label=$TOKEN_NAME --so-pin $SO_PIN --init-pin
pkcs11-tool --pin $PIN --module $PKCS11_MODULE_PATH --keypairgen --key-type EC:prime256v1 --id 1 --label "testkeyECp256"
./stm32mp-sign-tool -v -k "pkcs11:object=testkeyECp256" -i image.stm32 -p 12345 -o image.stm32.signed
./stm32mp-sign-tool -v -k "pkcs11:object=testkeyECp256" -p 12345 -i image.stm32 -o image.stm32.signed -h hash.bin

0 comments on commit de0e720

Please sign in to comment.