summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2010-03-14 23:25:40 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2010-03-14 23:25:40 -0400
commit1bb35e8d63f3c28d29f0c033333aeff7a57bde91 (patch)
treec196a721693c16e80b446ea026088aebbac7bb3c /src
parent4bbb264765fe2cdf24271a26c77d4bae44021eff (diff)
added comment about why the key file is named with whitespace
Diffstat (limited to 'src')
-rwxr-xr-xsrc/monkeysphere2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/monkeysphere b/src/monkeysphere
index 2d5cba8..fe92960 100755
--- a/src/monkeysphere
+++ b/src/monkeysphere
@@ -284,6 +284,8 @@ 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