blob: a44ef340eae0f0636f5052c27504a85121ed8bff [file] [log] [blame]
Tao Baofabe0832018-01-17 15:52:28 -08001#!/bin/sh
2
3# The script will be called with 'payload_signer.sh <key> -in <input> -out <output>'.
4openssl pkeyutl -sign -keyform DER -inkey $1 -pkeyopt digest:sha256 -in $3 -out $5