diff options
Diffstat (limited to 'tests/external_rsa_signer.sh')
-rwxr-xr-x | tests/external_rsa_signer.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/external_rsa_signer.sh b/tests/external_rsa_signer.sh new file mode 100755 index 00000000..0724b878 --- /dev/null +++ b/tests/external_rsa_signer.sh @@ -0,0 +1,9 @@ +#!/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 |