android_build/tools/releasetools/testdata/payload_signer.sh

5 lines
180 B
Bash
Executable File

#!/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