Gaurav Shah | 068fc6f | 2010-10-29 10:59:50 -0700 | [diff] [blame] | 1 | #!/bin/bash |
2 | |||||
3 | if [ $# -ne 1 ]; then | ||||
4 | echo "Usage: $0 <private_key_pem_file>" | ||||
5 | echo "Reads data to sign from stdin, encrypted data is output to stdout" | ||||
6 | exit 1 | ||||
7 | fi | ||||
8 | |||||
9 | openssl rsautl -sign -inkey $1 |