summaryrefslogtreecommitdiff
path: root/src/monkeysphere
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2010-04-17 16:44:19 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2010-04-17 16:44:19 -0400
commitf4d3bc45faeb18bf89313fbb446b1eee77501797 (patch)
tree70571b92b443df7070eb7897c2587420c7c75e3d /src/monkeysphere
parent088bf1f053a42df8276cf15ca87c826bbad0e398 (diff)
handling ssh fingerprinting internally with keytrans for sshfprs-for-userid
Diffstat (limited to 'src/monkeysphere')
-rwxr-xr-xsrc/monkeysphere12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/monkeysphere b/src/monkeysphere
index 121db36..8ce0c22 100755
--- a/src/monkeysphere
+++ b/src/monkeysphere
@@ -272,17 +272,7 @@ case $COMMAND in
'sshfprs-for-userid')
CHECK_KEYSERVER=${MONKEYSPHERE_CHECK_KEYSERVER:=${CHECK_KEYSERVER:="true"}}
- keytmpdir=$(msmktempdir)
- # use a file named " " to avoid arbitrary non-whitespace text
- # in the fingerprint output
- keytmpfile="$keytmpdir/ "
- cd "$keytmpdir"
- keys_for_userid "$@" | while read KEYLINE ; do
- printf '%s\n' "$KEYLINE" > "$keytmpdir/ "
- ssh-keygen -l -f ' '
- done
- rm -f "$keytmpfile"
- rmdir "$keytmpdir"
+ keys_for_userid "$@" | "$SYSSHAREDIR/keytrans" sshfpr
;;
'keys-from-userid')