mirror of
git://git.gnupg.org/gnupg.git
synced 2025-02-07 17:33:02 +01:00
![Werner Koch](/assets/img/avatar_default.png)
Migrated the gpg regression tests. Some changes tp the gpg code to fix bugs and for the use in testing. make distcheck works now with gpg enabled.
17 lines
293 B
Bash
Executable File
17 lines
293 B
Bash
Executable File
#!/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/gpg2 --options ./gpg.conf --homedir $name \
|
|
--sign-key --batch --yes --passphrase-fd 0 $user_id \
|
|
$user_id_no sign save
|
|
|