]>
Dogcows Code - chaz/p5-File-KDBX/blob - t/files/bin/ykchalresp
7cac1f5fd409a930eadaff2ddc2332e8f2da6f39
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.034828 seconds and 3 git commands to generate.