mirror of
https://github.com/token2/fido2-manage.git
synced 2026-04-09 18:55:38 +00:00
Update fido2-manage.sh
This commit is contained in:
@@ -194,9 +194,11 @@ if [[ -n $device ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Fingerprint enrollment
|
# Fingerprint enrollment
|
||||||
if $storage; then
|
if $fingerprint; then
|
||||||
|
echo "Enrolling fingerprints (for bio models only)"
|
||||||
$FIDO2_TOKEN_CMD -S -e "$device_string" $([[ -n $pin ]] && echo "-w $pin")
|
$FIDO2_TOKEN_CMD -S -e "$device_string" $([[ -n $pin ]] && echo "-w $pin")
|
||||||
exit 0
|
exit 0
|
||||||
|
fi
|
||||||
# Main logic
|
# Main logic
|
||||||
if $storage; then
|
if $storage; then
|
||||||
$FIDO2_TOKEN_CMD -I -c "$device_string" $([[ -n $pin ]] && echo "-w $pin")
|
$FIDO2_TOKEN_CMD -I -c "$device_string" $([[ -n $pin ]] && echo "-w $pin")
|
||||||
|
|||||||
Reference in New Issue
Block a user