* gpgkeys_hkp.c (send_key), gpgkeys_ldap.c (send_key, send_key_keyserver):
[gnupg.git] / checks / signdemokey
blobe387446c2592190340e30b4b386602dd138f630a
1 #!/bin/sh
3 set -e
5 if [ $# != 3 ]; then
6 echo "Usage: signdemokey name user_id user_id_no"
7 exit 1
8 fi
9 name="$1"
10 user_id="$2"
11 user_id_no="$3"
13 echo "abc" | ../g10/gpg --options ./options --homedir $name \
14 --sign-key --batch --yes --passphrase-fd 0 $user_id \
15 $user_id_no sign save