projects
/
monkeysphere.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7b64ab4
)
refer to the m-h set-expire instead of m-h extend-key in m-h diagnostics.
author
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Sun, 1 Mar 2009 23:05:11 +0000
(18:05 -0500)
committer
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Sun, 1 Mar 2009 23:05:11 +0000
(18:05 -0500)
src/share/mh/diagnostics
patch
|
blob
|
history
diff --git
a/src/share/mh/diagnostics
b/src/share/mh/diagnostics
index 2f65f899f4cfdd7f0e4aad9fe1304ee50bf46ec2..37460203b9056e490089a357d300882d03fdf339 100644
(file)
--- a/
src/share/mh/diagnostics
+++ b/
src/share/mh/diagnostics
@@
-63,11
+63,11
@@
else
if [ "$expire" ]; then
if (( "$expire" < "$curdate" )); then
echo "! Host key is expired."
if [ "$expire" ]; then
if (( "$expire" < "$curdate" )); then
echo "! Host key is expired."
- echo " - Recommendation: extend lifetime of key with 'monkeysphere-host
extend-key
'"
+ echo " - Recommendation: extend lifetime of key with 'monkeysphere-host
set-expire
'"
problemsfound=$(($problemsfound+1))
elif (( "$expire" < "$warndate" )); then
echo "! Host key expires in less than $warnwindow:" $(advance_date $(( $expire - $curdate )) seconds +%F)
problemsfound=$(($problemsfound+1))
elif (( "$expire" < "$warndate" )); then
echo "! Host key expires in less than $warnwindow:" $(advance_date $(( $expire - $curdate )) seconds +%F)
- echo " - Recommendation: extend lifetime of key with 'monkeysphere-host
extend-key
'"
+ echo " - Recommendation: extend lifetime of key with 'monkeysphere-host
set-expire
'"
problemsfound=$(($problemsfound+1))
fi
fi
problemsfound=$(($problemsfound+1))
fi
fi