mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-24 10:39:57 +01:00
17 lines
291 B
Plaintext
17 lines
291 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
set -e
|
||
|
|
||
|
if [ $# != 3 ]; then
|
||
|
echo "Usage: signdemokey name user_id user_id_no"
|
||
|
exit 1
|
||
|
fi
|
||
|
name="$1"
|
||
|
user_id="$2"
|
||
|
user_id_no="$3"
|
||
|
|
||
|
echo "abc" | ../g10/gpg --options ./options --homedir $name \
|
||
|
--sign-key --batch --yes --passphrase-fd 0 $user_id \
|
||
|
$user_id_no sign save
|
||
|
|