]>
Dogcows Code - chaz/p5-File-KDBX/blob - t/files/bin/ykchalresp
3 # This is a fake ykchalresp program that provides canned responses, for testing.
11 while getopts 12HNn
:i
: arg
37 echo 'HMAC-SHA1 not requested' >&2
43 echo "Unexpected input file: $in" >&2
50 echo "${YKCHALRESP_RESPONSE:-f000000000000000000000000000000000000000}"
54 case "$YKCHALRESP_MOCK" in
56 if [ "$blocking" -eq 0 ]
58 echo "Yubikey core error: operation would block" >&2
65 echo "Yubikey core error: ${YKCHALRESP_ERROR:-not yet implemented}" >&2
69 echo "USB error: something happened" >&2
This page took 0.04264 seconds and 4 git commands to generate.