Compare commits
No commits in common. "main" and "v1" have entirely different histories.
2
Makefile
2
Makefile
@ -19,7 +19,7 @@
|
|||||||
chmod a+x $@
|
chmod a+x $@
|
||||||
|
|
||||||
P = cassh
|
P = cassh
|
||||||
V = 2
|
V = 1
|
||||||
|
|
||||||
PREFIX = /usr/local
|
PREFIX = /usr/local
|
||||||
MANPREFIX = ${PREFIX}/man
|
MANPREFIX = ${PREFIX}/man
|
||||||
|
4
cassh.sh
4
cassh.sh
@ -19,7 +19,6 @@ Usage:
|
|||||||
[-V validity_interval]
|
[-V validity_interval]
|
||||||
${0##*/} mkfile authorized_keys [options ...]
|
${0##*/} mkfile authorized_keys [options ...]
|
||||||
${0##*/} mkfile known_hosts [hostnames ...]
|
${0##*/} mkfile known_hosts [hostnames ...]
|
||||||
${0##*/} revoke [-qv] file ...
|
|
||||||
EOF
|
EOF
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
@ -139,8 +138,7 @@ main_issue()
|
|||||||
if [ ! -d "$PATH_PUBKEYS_DIR" ]; then
|
if [ ! -d "$PATH_PUBKEYS_DIR" ]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
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=$(get_ca_sk_comment_from_pk "$PATH_CA_PUB")
|
||||||
: ${ca_comment:=cassh}
|
: ${ca_comment:=cassh}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user