coreboot-libre-fam15h-rdimm/3rdparty/vboot/tests/external_rsa_signer.sh

10 lines
196 B
Bash
Raw Normal View History

2024-03-04 11:14:53 +01:00
#!/bin/bash
if [ $# -ne 1 ]; then
echo "Usage: $0 <private_key_pem_file>"
echo "Reads data to sign from stdin, encrypted data is output to stdout"
exit 1
fi
openssl rsautl -sign -inkey $1