diff --git a/Makefile b/Makefile index 2cd3f04..497f07c 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ chmod a+x $@ P = cassh -V = 2 +V = 1 PREFIX = /usr/local MANPREFIX = ${PREFIX}/man diff --git a/cassh.sh b/cassh.sh index c1456c8..f48ee96 100644 --- a/cassh.sh +++ b/cassh.sh @@ -19,7 +19,6 @@ Usage: [-V validity_interval] ${0##*/} mkfile authorized_keys [options ...] ${0##*/} mkfile known_hosts [hostnames ...] - ${0##*/} revoke [-qv] file ... EOF exit 1 } @@ -139,8 +138,7 @@ main_issue() if [ ! -d "$PATH_PUBKEYS_DIR" ]; then exit 0 fi - find "$PATH_PUBKEYS_DIR" -type f -name '*.pub' ! -name '*-cert.pub' | - sort | { + find "$PATH_PUBKEYS_DIR/" -type f -name '*.pub' ! -name '*-cert.pub' | { ca_comment=$(get_ca_sk_comment_from_pk "$PATH_CA_PUB") : ${ca_comment:=cassh}