repo.or.cz
/
gnupg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* gpgkeys_hkp.c (send_key), gpgkeys_ldap.c (send_key, send_key_keyserver):
[gnupg.git]
/
checks
/
signdemokey
blob
e387446c2592190340e30b4b386602dd138f630a
1
#!/bin/sh
2
3
set -e
4
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
"
12
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
16