Skip to content

Commit

Permalink
bump smallstep-wrapper & docopt-lib
Browse files Browse the repository at this point in the history
  • Loading branch information
andsens committed May 29, 2024
1 parent 394a6de commit 2f0efed
Show file tree
Hide file tree
Showing 10 changed files with 139 additions and 134 deletions.
25 changes: 13 additions & 12 deletions bin/pkidb-browser
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,19 @@ Usage:
"
# docopt parser below, refresh this parser with `docopt.sh pkidb-browser`
# shellcheck disable=2016,2086,2317,1090,1091,2034,2154
docopt() { source "$pkgroot/.upkg/docopt-lib.sh/docopt-lib.sh" '2.0.0' || {
ret=$?;printf -- "exit %d\n" "$ret";exit "$ret";};set -e;trimmed_doc=${DOC:0:84}
usage=${DOC:47:37};digest=a0056;options=();node_0(){ value FINGERPRINT a true;}
node_1(){ repeatable 0;};cat <<<' docopt_exit() { [[ -n $1 ]] && printf "%s\n" \
"$1" >&2;printf "%s\n" "${DOC:47:37}" >&2;exit 1;}';local \
varnames=(FINGERPRINT) varname;for varname in "${varnames[@]}"; do unset \
"var_$varname";done;parse 1 "$@";local p=${DOCOPT_PREFIX:-''};for varname in \
"${varnames[@]}"; do unset "$p$varname";done;if declare -p var_FINGERPRINT \
>/dev/null 2>&1; then eval $p'FINGERPRINT=("${var_FINGERPRINT[@]}")';else eval \
$p'FINGERPRINT=()';fi;eval ;local docopt_i=1;[[ $BASH_VERSION =~ ^4.3 ]] && \
docopt_i=2;for ((;docopt_i>0;docopt_i--)); do for varname in "${varnames[@]}"; \
do declare -p "$p$varname";done;done;}
docopt() { local v='2.0.1'; source \
"$pkgroot/.upkg/docopt-lib.sh/docopt-lib.sh" "$v" || { ret=$?;printf -- "exit \
%d\n" "$ret";exit "$ret";};set -e;trimmed_doc=${DOC:0:84};usage=${DOC:47:37}
digest=a0056;options=();node_0(){ value FINGERPRINT a true;};node_1(){
repeatable 0;};cat <<<' docopt_exit() { [[ -n $1 ]] && printf "%s\n" "$1" >&2
printf "%s\n" "${DOC:47:37}" >&2;exit 1;}';local varnames=(FINGERPRINT) varname
for varname in "${varnames[@]}"; do unset "var_$varname";done;parse 1 "$@"
local p=${DOCOPT_PREFIX:-''};for varname in "${varnames[@]}"; do unset \
"$p$varname";done;if declare -p var_FINGERPRINT >/dev/null 2>&1; then eval \
$p'FINGERPRINT=("${var_FINGERPRINT[@]}")';else eval $p'FINGERPRINT=()';fi;eval
local docopt_i=1;[[ $BASH_VERSION =~ ^4.3 ]] && docopt_i=2;for \
((;docopt_i>0;docopt_i--)); do for varname in "${varnames[@]}"; do declare -p \
"$p$varname";done;done;}
# docopt parser above, complete command for generating this parser is `docopt.sh --library='"$pkgroot/.upkg/docopt-lib.sh/docopt-lib.sh"' pkidb-browser`
eval "$(docopt "$@")"
check_all_deps
Expand Down
25 changes: 13 additions & 12 deletions bin/pkidb-ca
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,19 @@ Usage:
"
# docopt parser below, refresh this parser with `docopt.sh pkidb-ca`
# shellcheck disable=2016,2086,2317,1090,1091,2034
docopt() { source "$pkgroot/.upkg/docopt-lib.sh/docopt-lib.sh" '2.0.0' || {
ret=$?;printf -- "exit %d\n" "$ret";exit "$ret";};set -e
trimmed_doc=${DOC:0:112};usage=${DOC:67:45};digest=ca1f7;options=(' --dest 1')
node_0(){ value __dest 0;};node_1(){ value FINGERPRINT a;};node_2(){ optional 0
};node_3(){ sequence 2 1;};cat <<<' docopt_exit() { [[ -n $1 ]] && printf \
"%s\n" "$1" >&2;printf "%s\n" "${DOC:67:45}" >&2;exit 1;}';local \
varnames=(__dest FINGERPRINT) varname;for varname in "${varnames[@]}"; do
unset "var_$varname";done;parse 3 "$@";local p=${DOCOPT_PREFIX:-''};for \
varname in "${varnames[@]}"; do unset "$p$varname";done;eval $p'__dest=${var__'\
'_dest:-};'$p'FINGERPRINT=${var_FINGERPRINT:-};';local docopt_i=1;[[ \
$BASH_VERSION =~ ^4.3 ]] && docopt_i=2;for ((;docopt_i>0;docopt_i--)); do for \
varname in "${varnames[@]}"; do declare -p "$p$varname";done;done;}
docopt() { local v='2.0.1'; source \
"$pkgroot/.upkg/docopt-lib.sh/docopt-lib.sh" "$v" || { ret=$?;printf -- "exit \
%d\n" "$ret";exit "$ret";};set -e;trimmed_doc=${DOC:0:112};usage=${DOC:67:45}
digest=ca1f7;options=(' --dest 1');node_0(){ value __dest 0;};node_1(){ value \
FINGERPRINT a;};node_2(){ optional 0;};node_3(){ sequence 2 1;};cat <<<' \
docopt_exit() { [[ -n $1 ]] && printf "%s\n" "$1" >&2;printf "%s\n" \
"${DOC:67:45}" >&2;exit 1;}';local varnames=(__dest FINGERPRINT) varname;for \
varname in "${varnames[@]}"; do unset "var_$varname";done;parse 3 "$@";local \
p=${DOCOPT_PREFIX:-''};for varname in "${varnames[@]}"; do unset "$p$varname"
done;eval $p'__dest=${var___dest:-};'$p'FINGERPRINT=${var_FINGERPRINT:-};'
local docopt_i=1;[[ $BASH_VERSION =~ ^4.3 ]] && docopt_i=2;for \
((;docopt_i>0;docopt_i--)); do for varname in "${varnames[@]}"; do declare -p \
"$p$varname";done;done;}
# docopt parser above, complete command for generating this parser is `docopt.sh --library='"$pkgroot/.upkg/docopt-lib.sh/docopt-lib.sh"' pkidb-ca`
eval "$(docopt "$@")"
check_all_deps
Expand Down
26 changes: 13 additions & 13 deletions bin/pkidb-client-krl
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ Usage:
"
# docopt parser below, refresh this parser with `docopt.sh pkidb-client-krl`
# shellcheck disable=2016,2086,2317,1090,1091,2034,2154
docopt() { source "$pkgroot/.upkg/docopt-lib.sh/docopt-lib.sh" '2.0.0' || {
ret=$?;printf -- "exit %d\n" "$ret";exit "$ret";};set -e
trimmed_doc=${DOC:0:129};usage=${DOC:71:58};digest=67a0d;options=(' --dest 1')
node_0(){ value __dest 0;};node_1(){ value KRLNAME a;};node_2(){ value CAFILE \
a true;};node_3(){ repeatable 2;};node_4(){ sequence 0 1 3;};cat <<<' \
docopt_exit() { [[ -n $1 ]] && printf "%s\n" "$1" >&2;printf "%s\n" \
"${DOC:71:58}" >&2;exit 1;}';local varnames=(__dest KRLNAME CAFILE) varname
for varname in "${varnames[@]}"; do unset "var_$varname";done;parse 4 "$@"
local p=${DOCOPT_PREFIX:-''};for varname in "${varnames[@]}"; do unset \
"$p$varname";done;if declare -p var_CAFILE >/dev/null 2>&1; then eval $p'CAFIL'\
'E=("${var_CAFILE[@]}")';else eval $p'CAFILE=()';fi;eval $p'__dest=${var___des'\
't:-};'$p'KRLNAME=${var_KRLNAME:-};';local docopt_i=1;[[ $BASH_VERSION =~ ^4.3 \
]] && docopt_i=2;for ((;docopt_i>0;docopt_i--)); do for varname in \
docopt() { local v='2.0.1'; source \
"$pkgroot/.upkg/docopt-lib.sh/docopt-lib.sh" "$v" || { ret=$?;printf -- "exit \
%d\n" "$ret";exit "$ret";};set -e;trimmed_doc=${DOC:0:129};usage=${DOC:71:58}
digest=67a0d;options=(' --dest 1');node_0(){ value __dest 0;};node_1(){ value \
KRLNAME a;};node_2(){ value CAFILE a true;};node_3(){ repeatable 2;};node_4(){
sequence 0 1 3;};cat <<<' docopt_exit() { [[ -n $1 ]] && printf "%s\n" "$1" >&2
printf "%s\n" "${DOC:71:58}" >&2;exit 1;}';local varnames=(__dest KRLNAME \
CAFILE) varname;for varname in "${varnames[@]}"; do unset "var_$varname";done
parse 4 "$@";local p=${DOCOPT_PREFIX:-''};for varname in "${varnames[@]}"; do
unset "$p$varname";done;if declare -p var_CAFILE >/dev/null 2>&1; then eval \
$p'CAFILE=("${var_CAFILE[@]}")';else eval $p'CAFILE=()';fi;eval $p'__dest=${va'\
'r___dest:-};'$p'KRLNAME=${var_KRLNAME:-};';local docopt_i=1;[[ $BASH_VERSION \
=~ ^4.3 ]] && docopt_i=2;for ((;docopt_i>0;docopt_i--)); do for varname in \
"${varnames[@]}"; do declare -p "$p$varname";done;done;}
# docopt parser above, complete command for generating this parser is `docopt.sh --library='"$pkgroot/.upkg/docopt-lib.sh/docopt-lib.sh"' pkidb-client-krl`
eval "$(docopt "$@")"
Expand Down
26 changes: 13 additions & 13 deletions bin/pkidb-crl
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ Usage:
"
# docopt parser below, refresh this parser with `docopt.sh pkidb-crl`
# shellcheck disable=2016,2086,2317,1090,1091,2034,2154
docopt() { source "$pkgroot/.upkg/docopt-lib.sh/docopt-lib.sh" '2.0.0' || {
ret=$?;printf -- "exit %d\n" "$ret";exit "$ret";};set -e
trimmed_doc=${DOC:0:104};usage=${DOC:53:51};digest=8e2d5;options=(' --dest 1')
node_0(){ value __dest 0;};node_1(){ value CRLNAME a;};node_2(){ value CAFILE \
a true;};node_3(){ repeatable 2;};node_4(){ sequence 0 1 3;};cat <<<' \
docopt_exit() { [[ -n $1 ]] && printf "%s\n" "$1" >&2;printf "%s\n" \
"${DOC:53:51}" >&2;exit 1;}';local varnames=(__dest CRLNAME CAFILE) varname
for varname in "${varnames[@]}"; do unset "var_$varname";done;parse 4 "$@"
local p=${DOCOPT_PREFIX:-''};for varname in "${varnames[@]}"; do unset \
"$p$varname";done;if declare -p var_CAFILE >/dev/null 2>&1; then eval $p'CAFIL'\
'E=("${var_CAFILE[@]}")';else eval $p'CAFILE=()';fi;eval $p'__dest=${var___des'\
't:-};'$p'CRLNAME=${var_CRLNAME:-};';local docopt_i=1;[[ $BASH_VERSION =~ ^4.3 \
]] && docopt_i=2;for ((;docopt_i>0;docopt_i--)); do for varname in \
docopt() { local v='2.0.1'; source \
"$pkgroot/.upkg/docopt-lib.sh/docopt-lib.sh" "$v" || { ret=$?;printf -- "exit \
%d\n" "$ret";exit "$ret";};set -e;trimmed_doc=${DOC:0:104};usage=${DOC:53:51}
digest=8e2d5;options=(' --dest 1');node_0(){ value __dest 0;};node_1(){ value \
CRLNAME a;};node_2(){ value CAFILE a true;};node_3(){ repeatable 2;};node_4(){
sequence 0 1 3;};cat <<<' docopt_exit() { [[ -n $1 ]] && printf "%s\n" "$1" >&2
printf "%s\n" "${DOC:53:51}" >&2;exit 1;}';local varnames=(__dest CRLNAME \
CAFILE) varname;for varname in "${varnames[@]}"; do unset "var_$varname";done
parse 4 "$@";local p=${DOCOPT_PREFIX:-''};for varname in "${varnames[@]}"; do
unset "$p$varname";done;if declare -p var_CAFILE >/dev/null 2>&1; then eval \
$p'CAFILE=("${var_CAFILE[@]}")';else eval $p'CAFILE=()';fi;eval $p'__dest=${va'\
'r___dest:-};'$p'CRLNAME=${var_CRLNAME:-};';local docopt_i=1;[[ $BASH_VERSION \
=~ ^4.3 ]] && docopt_i=2;for ((;docopt_i>0;docopt_i--)); do for varname in \
"${varnames[@]}"; do declare -p "$p$varname";done;done;}
# docopt parser above, complete command for generating this parser is `docopt.sh --library='"$pkgroot/.upkg/docopt-lib.sh/docopt-lib.sh"' pkidb-crl`
eval "$(docopt "$@")"
Expand Down
29 changes: 15 additions & 14 deletions bin/pkidb-k8s-secrets
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,21 @@ Notes:
"
# docopt parser below, refresh this parser with `docopt.sh pkidb-k8s-secrets`
# shellcheck disable=2016,2086,2317,1090,1091,2034,2154
docopt() { source "$pkgroot/.upkg/docopt-lib.sh/docopt-lib.sh" '2.0.0' || {
ret=$?;printf -- "exit %d\n" "$ret";exit "$ret";};set -e
trimmed_doc=${DOC:0:238};usage=${DOC:82:58};digest=8eced;options=(' --namespac'\
'e 1');node_0(){ value __namespace 0;};node_1(){ value FINGERPRINT a true;}
node_2(){ optional 0;};node_3(){ repeatable 1;};node_4(){ sequence 2 3;};cat \
<<<' docopt_exit() { [[ -n $1 ]] && printf "%s\n" "$1" >&2;printf "%s\n" \
"${DOC:82:58}" >&2;exit 1;}';local varnames=(__namespace FINGERPRINT) varname
for varname in "${varnames[@]}"; do unset "var_$varname";done;parse 4 "$@"
local p=${DOCOPT_PREFIX:-''};for varname in "${varnames[@]}"; do unset \
"$p$varname";done;if declare -p var_FINGERPRINT >/dev/null 2>&1; then eval \
$p'FINGERPRINT=("${var_FINGERPRINT[@]}")';else eval $p'FINGERPRINT=()';fi;eval \
$p'__namespace=${var___namespace:-};';local docopt_i=1;[[ $BASH_VERSION =~ \
^4.3 ]] && docopt_i=2;for ((;docopt_i>0;docopt_i--)); do for varname in \
"${varnames[@]}"; do declare -p "$p$varname";done;done;}
docopt() { local v='2.0.1'; source \
"$pkgroot/.upkg/docopt-lib.sh/docopt-lib.sh" "$v" || { ret=$?;printf -- "exit \
%d\n" "$ret";exit "$ret";};set -e;trimmed_doc=${DOC:0:238};usage=${DOC:82:58}
digest=8eced;options=(' --namespace 1');node_0(){ value __namespace 0;}
node_1(){ value FINGERPRINT a true;};node_2(){ optional 0;};node_3(){
repeatable 1;};node_4(){ sequence 2 3;};cat <<<' docopt_exit() { [[ -n $1 ]] \
&& printf "%s\n" "$1" >&2;printf "%s\n" "${DOC:82:58}" >&2;exit 1;}';local \
varnames=(__namespace FINGERPRINT) varname;for varname in "${varnames[@]}"; do
unset "var_$varname";done;parse 4 "$@";local p=${DOCOPT_PREFIX:-''};for \
varname in "${varnames[@]}"; do unset "$p$varname";done;if declare -p \
var_FINGERPRINT >/dev/null 2>&1; then eval $p'FINGERPRINT=("${var_FINGERPRINT['\
'@]}")';else eval $p'FINGERPRINT=()';fi;eval $p'__namespace=${var___namespace:'\
'-};';local docopt_i=1;[[ $BASH_VERSION =~ ^4.3 ]] && docopt_i=2;for \
((;docopt_i>0;docopt_i--)); do for varname in "${varnames[@]}"; do declare -p \
"$p$varname";done;done;}
# docopt parser above, complete command for generating this parser is `docopt.sh --library='"$pkgroot/.upkg/docopt-lib.sh/docopt-lib.sh"' pkidb-k8s-secrets`
eval "$(docopt "$@")"

Expand Down
25 changes: 13 additions & 12 deletions bin/pkidb-os
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,19 @@ Usage:
"
# docopt parser below, refresh this parser with `docopt.sh pkidb-os`
# shellcheck disable=2016,2086,2317,1090,1091,2034,2154
docopt() { source "$pkgroot/.upkg/docopt-lib.sh/docopt-lib.sh" '2.0.0' || {
ret=$?;printf -- "exit %d\n" "$ret";exit "$ret";};set -e
trimmed_doc=${DOC:0:110};usage=${DOC:78:32};digest=346da;options=();node_0(){
value FINGERPRINT a true;};node_1(){ repeatable 0;};cat <<<' docopt_exit() {
[[ -n $1 ]] && printf "%s\n" "$1" >&2;printf "%s\n" "${DOC:78:32}" >&2;exit 1;}'
local varnames=(FINGERPRINT) varname;for varname in "${varnames[@]}"; do unset \
"var_$varname";done;parse 1 "$@";local p=${DOCOPT_PREFIX:-''};for varname in \
"${varnames[@]}"; do unset "$p$varname";done;if declare -p var_FINGERPRINT \
>/dev/null 2>&1; then eval $p'FINGERPRINT=("${var_FINGERPRINT[@]}")';else eval \
$p'FINGERPRINT=()';fi;eval ;local docopt_i=1;[[ $BASH_VERSION =~ ^4.3 ]] && \
docopt_i=2;for ((;docopt_i>0;docopt_i--)); do for varname in "${varnames[@]}"; \
do declare -p "$p$varname";done;done;}
docopt() { local v='2.0.1'; source \
"$pkgroot/.upkg/docopt-lib.sh/docopt-lib.sh" "$v" || { ret=$?;printf -- "exit \
%d\n" "$ret";exit "$ret";};set -e;trimmed_doc=${DOC:0:110};usage=${DOC:78:32}
digest=346da;options=();node_0(){ value FINGERPRINT a true;};node_1(){
repeatable 0;};cat <<<' docopt_exit() { [[ -n $1 ]] && printf "%s\n" "$1" >&2
printf "%s\n" "${DOC:78:32}" >&2;exit 1;}';local varnames=(FINGERPRINT) varname
for varname in "${varnames[@]}"; do unset "var_$varname";done;parse 1 "$@"
local p=${DOCOPT_PREFIX:-''};for varname in "${varnames[@]}"; do unset \
"$p$varname";done;if declare -p var_FINGERPRINT >/dev/null 2>&1; then eval \
$p'FINGERPRINT=("${var_FINGERPRINT[@]}")';else eval $p'FINGERPRINT=()';fi;eval
local docopt_i=1;[[ $BASH_VERSION =~ ^4.3 ]] && docopt_i=2;for \
((;docopt_i>0;docopt_i--)); do for varname in "${varnames[@]}"; do declare -p \
"$p$varname";done;done;}
# docopt parser above, complete command for generating this parser is `docopt.sh --library='"$pkgroot/.upkg/docopt-lib.sh/docopt-lib.sh"' pkidb-os`
eval "$(docopt "$@")"
check_all_deps
Expand Down
30 changes: 15 additions & 15 deletions bin/pkidb-pam
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ Usage:
"
# docopt parser below, refresh this parser with `docopt.sh pkidb-pam`
# shellcheck disable=2016,2086,2317,1090,1091,2034,2154
docopt() { source "$pkgroot/.upkg/docopt-lib.sh/docopt-lib.sh" '2.0.0' || {
ret=$?;printf -- "exit %d\n" "$ret";exit "$ret";};set -e
trimmed_doc=${DOC:0:104};usage=${DOC:54:50};digest=82e65;options=(' --crl 1')
node_0(){ value __crl 0 true;};node_1(){ value FINGERPRINT a true;};node_2(){
repeatable 0;};node_3(){ repeatable 1;};node_4(){ sequence 2 3;};cat <<<' \
docopt_exit() { [[ -n $1 ]] && printf "%s\n" "$1" >&2;printf "%s\n" \
"${DOC:54:50}" >&2;exit 1;}';local varnames=(__crl FINGERPRINT) varname;for \
varname in "${varnames[@]}"; do unset "var_$varname";done;parse 4 "$@";local \
p=${DOCOPT_PREFIX:-''};for varname in "${varnames[@]}"; do unset "$p$varname"
done;if declare -p var___crl >/dev/null 2>&1; then eval $p'__crl=("${var___crl'\
'[@]}")';else eval $p'__crl=()';fi;if declare -p var_FINGERPRINT >/dev/null \
2>&1; then eval $p'FINGERPRINT=("${var_FINGERPRINT[@]}")';else eval $p'FINGERP'\
'RINT=()';fi;eval ;local docopt_i=1;[[ $BASH_VERSION =~ ^4.3 ]] && docopt_i=2
for ((;docopt_i>0;docopt_i--)); do for varname in "${varnames[@]}"; do declare \
-p "$p$varname";done;done;}
docopt() { local v='2.0.1'; source \
"$pkgroot/.upkg/docopt-lib.sh/docopt-lib.sh" "$v" || { ret=$?;printf -- "exit \
%d\n" "$ret";exit "$ret";};set -e;trimmed_doc=${DOC:0:104};usage=${DOC:54:50}
digest=82e65;options=(' --crl 1');node_0(){ value __crl 0 true;};node_1(){
value FINGERPRINT a true;};node_2(){ repeatable 0;};node_3(){ repeatable 1;}
node_4(){ sequence 2 3;};cat <<<' docopt_exit() { [[ -n $1 ]] && printf "%s\n" \
"$1" >&2;printf "%s\n" "${DOC:54:50}" >&2;exit 1;}';local varnames=(__crl \
FINGERPRINT) varname;for varname in "${varnames[@]}"; do unset "var_$varname"
done;parse 4 "$@";local p=${DOCOPT_PREFIX:-''};for varname in \
"${varnames[@]}"; do unset "$p$varname";done;if declare -p var___crl \
>/dev/null 2>&1; then eval $p'__crl=("${var___crl[@]}")';else eval $p'__crl=()'
fi;if declare -p var_FINGERPRINT >/dev/null 2>&1; then eval $p'FINGERPRINT=("$'\
'{var_FINGERPRINT[@]}")';else eval $p'FINGERPRINT=()';fi;eval ;local docopt_i=1
[[ $BASH_VERSION =~ ^4.3 ]] && docopt_i=2;for ((;docopt_i>0;docopt_i--)); do
for varname in "${varnames[@]}"; do declare -p "$p$varname";done;done;}
# docopt parser above, complete command for generating this parser is `docopt.sh --library='"$pkgroot/.upkg/docopt-lib.sh/docopt-lib.sh"' pkidb-pam`
eval "$(docopt "$@")"
check_all_deps
Expand Down
39 changes: 20 additions & 19 deletions bin/pkidb-sshd
Original file line number Diff line number Diff line change
Expand Up @@ -21,25 +21,26 @@ Options:
"
# docopt parser below, refresh this parser with `docopt.sh pkidb-sshd`
# shellcheck disable=2016,2086,2317,1090,1091,2034,2154
docopt() { source "$pkgroot/.upkg/docopt-lib.sh/docopt-lib.sh" '2.0.0' || {
ret=$?;printf -- "exit %d\n" "$ret";exit "$ret";};set -e
trimmed_doc=${DOC:0:544};usage=${DOC:72:65};digest=a830b;options=('-f --step-r'\
'oot-fp 1' '-e --expiry-threshhold 1' '-k --key-algo 1');node_0(){ value \
__step_root_fp 0;};node_1(){ value __expiry_threshhold 1;};node_2(){ value \
__key_algo 2 true;};node_3(){ value KRLNAME a;};node_4(){ value FINGERPRINT a \
true;};node_5(){ optional 0 1;};node_6(){ optional 7;};node_7(){ repeatable 2;}
node_8(){ repeatable 4;};node_9(){ sequence 5 6 3 8;};cat <<<' docopt_exit() {
[[ -n $1 ]] && printf "%s\n" "$1" >&2;printf "%s\n" "${DOC:72:65}" >&2;exit 1;}'
local varnames=(__step_root_fp __expiry_threshhold __key_algo KRLNAME \
FINGERPRINT) varname;for varname in "${varnames[@]}"; do unset "var_$varname"
done;parse 9 "$@";local p=${DOCOPT_PREFIX:-''};for varname in \
"${varnames[@]}"; do unset "$p$varname";done;if declare -p var___key_algo \
>/dev/null 2>&1; then eval $p'__key_algo=("${var___key_algo[@]}")';else eval \
$p'__key_algo=(ecdsa ed25519 rsa)';fi;if declare -p var_FINGERPRINT >/dev/null \
2>&1; then eval $p'FINGERPRINT=("${var_FINGERPRINT[@]}")';else eval $p'FINGERP'\
'RINT=()';fi;eval $p'__step_root_fp=${var___step_root_fp:-'"'"'$STEP_ROOT_FP'"'\
"'};'$p'__expiry_threshhold=${var___expiry_threshhold:-50%};'$p'KRLNAME=${var_'\
'KRLNAME:-};';local docopt_i=1;[[ $BASH_VERSION =~ ^4.3 ]] && docopt_i=2;for \
docopt() { local v='2.0.1'; source \
"$pkgroot/.upkg/docopt-lib.sh/docopt-lib.sh" "$v" || { ret=$?;printf -- "exit \
%d\n" "$ret";exit "$ret";};set -e;trimmed_doc=${DOC:0:544};usage=${DOC:72:65}
digest=a830b;options=('-f --step-root-fp 1' '-e --expiry-threshhold 1' '-k --k'\
'ey-algo 1');node_0(){ value __step_root_fp 0;};node_1(){ value \
__expiry_threshhold 1;};node_2(){ value __key_algo 2 true;};node_3(){ value \
KRLNAME a;};node_4(){ value FINGERPRINT a true;};node_5(){ optional 0 1;}
node_6(){ optional 7;};node_7(){ repeatable 2;};node_8(){ repeatable 4;}
node_9(){ sequence 5 6 3 8;};cat <<<' docopt_exit() { [[ -n $1 ]] && printf \
"%s\n" "$1" >&2;printf "%s\n" "${DOC:72:65}" >&2;exit 1;}';local \
varnames=(__step_root_fp __expiry_threshhold __key_algo KRLNAME FINGERPRINT) \
varname;for varname in "${varnames[@]}"; do unset "var_$varname";done;parse 9 \
"$@";local p=${DOCOPT_PREFIX:-''};for varname in "${varnames[@]}"; do unset \
"$p$varname";done;if declare -p var___key_algo >/dev/null 2>&1; then eval $p'_'\
'_key_algo=("${var___key_algo[@]}")';else eval $p'__key_algo=(ecdsa ed25519 rs'\
'a)';fi;if declare -p var_FINGERPRINT >/dev/null 2>&1; then eval $p'FINGERPRIN'\
'T=("${var_FINGERPRINT[@]}")';else eval $p'FINGERPRINT=()';fi;eval $p'__step_r'\
'oot_fp=${var___step_root_fp:-'"'"'$STEP_ROOT_FP'"'"'};'$p'__expiry_threshhold'\
'=${var___expiry_threshhold:-50%};'$p'KRLNAME=${var_KRLNAME:-};';local \
docopt_i=1;[[ $BASH_VERSION =~ ^4.3 ]] && docopt_i=2;for \
((;docopt_i>0;docopt_i--)); do for varname in "${varnames[@]}"; do declare -p \
"$p$varname";done;done;}
# docopt parser above, complete command for generating this parser is `docopt.sh --library='"$pkgroot/.upkg/docopt-lib.sh/docopt-lib.sh"' pkidb-sshd`
Expand Down
Loading

0 comments on commit 2f0efed

Please sign in to comment.