blob: 3188d2d9603e66da209825a0ae35a57bd0df5f4d [file] [log] [blame]
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -08001#!/bin/bash
2
3if [ $# -ne 3 ]
4then
5 echo "Usage: $0 alias filename passpharse"
6 exit -1
7fi
8
9openssl dgst -passin pass:"$3" -binary -sha1 -sign $1.pem $2 > $2.sign
10