projects
/
monkeysphere.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
macports: fix perl dependencies, and add socat dependency
[monkeysphere.git]
/
src
/
share
/
ma
/
add_certifier
diff --git
a/src/share/ma/add_certifier
b/src/share/ma/add_certifier
index eba689323bfe43d2d2a98511631595f69b651232..402da08e552cdccdf48329f89df4af28aca0fc12 100644
(file)
--- a/
src/share/ma/add_certifier
+++ b/
src/share/ma/add_certifier
@@
-108,7
+108,7
@@
if [ -f "$keyID" -o "$keyID" = '-' ] ; then
fi
# load the key
fi
# load the key
- gpg_sphere "--import" <"$keyID" \
+ gpg_sphere "--import" <"$keyID"
2>/dev/null
\
|| failure "could not read key from '$keyID'"
# else, get the key from the keyserver
|| failure "could not read key from '$keyID'"
# else, get the key from the keyserver
@@
-126,7
+126,7
@@
else
if (( $(echo "$fingerprint" | wc -l) != 1 )) ; then
cat <<EOF
More than one fingerprint found:
if (( $(echo "$fingerprint" | wc -l) != 1 )) ; then
cat <<EOF
More than one fingerprint found:
-
echo
$fingerprint
+$fingerprint
Please use a more specific key ID.
EOF
failure
Please use a more specific key ID.
EOF
failure
@@
-153,16
+153,14
@@
gpg_sphere "--export 0x${fingerprint}!" | gpg_core --import
# edit-key script to ltsign key
# NOTE: *all* user IDs will be ltsigned
# edit-key script to ltsign key
# NOTE: *all* user IDs will be ltsigned
-ltsignCommand=$(cat <<EOF
-ltsign
+ltsignCommand="ltsign
y
$trustval
$depth
$domain
y
y
$trustval
$depth
$domain
y
-save
-EOF
- )
+save"
+# end script
# core ltsigns the newly imported certifier key
log debug "executing core ltsign script..."
# core ltsigns the newly imported certifier key
log debug "executing core ltsign script..."