fix bug i accidentally introduced in the diagnostic function
authorJameson Graef Rollins <jrollins@phys.columbia.edu>
Mon, 18 Aug 2008 17:57:48 +0000 (10:57 -0700)
committerJameson Graef Rollins <jrollins@phys.columbia.edu>
Mon, 18 Aug 2008 17:57:48 +0000 (10:57 -0700)
src/monkeysphere-server

index bc8be054aef9e5e89f9015211e568aa90bfaaa06..ea946189152752c01974e62c9fe5c3b6856aac69 100755 (executable)
@@ -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