change ykfde
This commit is contained in:
parent
52f2aba4d7
commit
e6f44e9b21
1 changed files with 3 additions and 3 deletions
|
|
@ -16,11 +16,11 @@ YKFDE_ITERATIONS=1000000
|
||||||
YKFDE_STORAGE=/boot/crypt-storage/default
|
YKFDE_STORAGE=/boot/crypt-storage/default
|
||||||
|
|
||||||
|
|
||||||
YKFDE_SLOT_CHECK="$(ykinfo -q -"$YKFDE_CHALLENGE_SLOT")"
|
YKFDE_SLOT_CHECK="$(ykinfo -q -"$YKFDE_SLOT")"
|
||||||
[ "$DBG" ] && printf '%s\n' " > YubiKey slot status 'ykinfo -q -$YKFDE_CHALLENGE_SLOT': $YKFDE_SLOT_CHECK"
|
[ "$DBG" ] && printf '%s\n' " > YubiKey slot status 'ykinfo -q -$YKFDE_SLOT': $YKFDE_SLOT_CHECK"
|
||||||
|
|
||||||
if [ "$YKFDE_SLOT_CHECK" != 1 ]; then
|
if [ "$YKFDE_SLOT_CHECK" != 1 ]; then
|
||||||
printf '%s\n' "ERROR: Chosen YubiKey slot '$YKFDE_CHALLENGE_SLOT' isn't configured. Please choose slot configured for 'HMAC-SHA1 Challenge-Response' mode in '/etc/ykfde.conf'"
|
printf '%s\n' "ERROR: Chosen YubiKey slot '$YKFDE_SLOT' isn't configured. Please choose slot configured for 'HMAC-SHA1 Challenge-Response' mode in '/etc/ykfde.conf'"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue