mirror of
https://github.com/token2/fido2-manage.git
synced 2026-04-09 10:45:39 +00:00
Update fido2-manage.sh
This commit is contained in:
@@ -194,9 +194,11 @@ if [[ -n $device ]]; then
|
||||
fi
|
||||
|
||||
# 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")
|
||||
exit 0
|
||||
fi
|
||||
# Main logic
|
||||
if $storage; then
|
||||
$FIDO2_TOKEN_CMD -I -c "$device_string" $([[ -n $pin ]] && echo "-w $pin")
|
||||
|
||||
Reference in New Issue
Block a user