change ykfde
This commit is contained in:
@@ -16,11 +16,11 @@ YKFDE_ITERATIONS=1000000
|
||||
YKFDE_STORAGE=/boot/crypt-storage/default
|
||||
|
||||
|
||||
YKFDE_SLOT_CHECK="$(ykinfo -q -"$YKFDE_CHALLENGE_SLOT")"
|
||||
[ "$DBG" ] && printf '%s\n' " > YubiKey slot status 'ykinfo -q -$YKFDE_CHALLENGE_SLOT': $YKFDE_SLOT_CHECK"
|
||||
YKFDE_SLOT_CHECK="$(ykinfo -q -"$YKFDE_SLOT")"
|
||||
[ "$DBG" ] && printf '%s\n' " > YubiKey slot status 'ykinfo -q -$YKFDE_SLOT': $YKFDE_SLOT_CHECK"
|
||||
|
||||
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
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user