~mdw
/
ssh-ca
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bin/sign: Keep track of the original domain, for `known_hosts' banners.
[ssh-ca]
/
bin
/
sign
diff --git
a/bin/sign
b/bin/sign
index
f275355
..
7c84ae6
100755
(executable)
--- a/
bin/sign
+++ b/
bin/sign
@@
-26,7
+26,8
@@
done
## Sign the various host keys.
last=%%%
## Sign the various host keys.
last=%%%
-echo >&5 "### BEGIN $domain KEYS (generated $date)"
+idomain=$domain
+echo >&5 "### BEGIN $idomain KEYS (generated $date)"
while read line <&3; do
## Ignore comments and empty lines.
while read line <&3; do
## Ignore comments and empty lines.
@@
-78,7
+79,7
@@
while read line <&3; do
ssh-keygen -lv -fhost/$host-$kt.pub | sed 's,^,| ,' >&4
done
done
ssh-keygen -lv -fhost/$host-$kt.pub | sed 's,^,| ,' >&4
done
done
-echo >&5 "### END $domain KEYS"
+echo >&5 "### END $
i
domain KEYS"
exec 3>&- 4>&- 5>&-
## Sign the list.
exec 3>&- 4>&- 5>&-
## Sign the list.