summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@phys.columbia.edu>2008-08-18 10:57:48 -0700
committerJameson Graef Rollins <jrollins@phys.columbia.edu>2008-08-18 10:57:48 -0700
commitd16c5795ebdfc369cc184448e3e57d850086f0a4 (patch)
treec654151cf33848c33f154c13ee83aaf5944517c1 /src
parentcbcc9ff2a7cf6b398a977a873c5c85db36ba05fd (diff)
fix bug i accidentally introduced in the diagnostic function
Diffstat (limited to 'src')
-rwxr-xr-xsrc/monkeysphere-server2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monkeysphere-server b/src/monkeysphere-server
index bc8be05..ea94618 100755
--- a/src/monkeysphere-server
+++ b/src/monkeysphere-server
@@ -539,7 +539,7 @@ diagnostics() {
# FIXME: what's the correct, cross-platform answer?
sshd_config=/etc/ssh/sshd_config
- seckey=$(fingerprint_server_key)
+ seckey=$(gpg_host --list-secret-keys --with-colons --fixed-list-mode)
keysfound=$(echo "$seckey" | grep -c ^sec:)
curdate=$(date +%s)
# warn when anything is 2 months away from expiration