blob: 0724b87898402156d65e88b07efec9aa685b1366 [file] [log] [blame]
Gaurav Shah068fc6f2010-10-29 10:59:50 -07001#!/bin/bash
2
3if [ $# -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
7fi
8
9openssl rsautl -sign -inkey $1