5 lines
180 B
Bash
5 lines
180 B
Bash
|
#!/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
|