Compare commits
3 commits
Author | SHA1 | Date | |
---|---|---|---|
cbdede3433 | |||
fb6454a300 | |||
09e8f9650d |
2 changed files with 4 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -19,7 +19,7 @@
|
|||
chmod a+x $@
|
||||
|
||||
P = cassh
|
||||
V = 1
|
||||
V = 2
|
||||
|
||||
PREFIX = /usr/local
|
||||
MANPREFIX = ${PREFIX}/man
|
||||
|
|
4
cassh.sh
4
cassh.sh
|
@ -19,6 +19,7 @@ Usage:
|
|||
[-V validity_interval]
|
||||
${0##*/} mkfile authorized_keys [options ...]
|
||||
${0##*/} mkfile known_hosts [hostnames ...]
|
||||
${0##*/} revoke [-qv] file ...
|
||||
EOF
|
||||
exit 1
|
||||
}
|
||||
|
@ -138,7 +139,8 @@ main_issue()
|
|||
if [ ! -d "$PATH_PUBKEYS_DIR" ]; then
|
||||
exit 0
|
||||
fi
|
||||
find "$PATH_PUBKEYS_DIR/" -type f -name '*.pub' ! -name '*-cert.pub' | {
|
||||
find "$PATH_PUBKEYS_DIR" -type f -name '*.pub' ! -name '*-cert.pub' |
|
||||
sort | {
|
||||
ca_comment=$(get_ca_sk_comment_from_pk "$PATH_CA_PUB")
|
||||
: ${ca_comment:=cassh}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue