build/make/tools/releasetools/testdata/payload_signer.sh

5 lines
180 B
Bash
Raw Normal View History

2025-08-25 08:23:45 +08:00
#!/bin/sh
# The script will be called with 'payload_signer.sh <key> -in <input> -out <output>'.
openssl pkeyutl -sign -keyform DER -inkey $1 -pkeyopt digest:sha256 -in $3 -out $5