projects
/
monkeysphere.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a57e08b
)
m-s s: avoid failures when $TMPDIR has a space in it. (output might still be a bit...
author
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Sun, 16 Nov 2008 05:57:27 +0000
(
00:57
-0500)
committer
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Sun, 16 Nov 2008 05:57:27 +0000
(
00:57
-0500)
src/monkeysphere-server
patch
|
blob
|
history
diff --git
a/src/monkeysphere-server
b/src/monkeysphere-server
index 5edaa4f2c9448dfabd74c535b536381641fea176..665d916ca416a5c6d545f72733cccd9c6b5b4e4f 100755
(executable)
--- a/
src/monkeysphere-server
+++ b/
src/monkeysphere-server
@@
-137,7
+137,7
@@
show_server_key() {
tmpkey=$(mktemp ${TMPDIR:-/tmp}/tmp.XXXXXXXXXX) || failure "Could not create temporary directory!"
gpg_authentication "--export $fingerprint" | openpgp2ssh "$fingerprint" 2>/dev/null > "$tmpkey"
echo -n "ssh fingerprint: "
- ssh-keygen -l -f
$tmpkey
| awk '{ print $1, $2, $4 }'
+ ssh-keygen -l -f
"$tmpkey"
| awk '{ print $1, $2, $4 }'
rm -rf "$tmpkey"
echo -n "OpenPGP fingerprint: "
echo "$fingerprint"