Home | History | Annotate | Download | only in tests
      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
     10