mirror of
https://github.com/linuxboot/heads.git
synced 2025-02-21 09:31:51 +00:00
Merge pull request #781 from MrChromebox/fix_hotp_id
seal-hotp: Fix HOTP key identification
This commit is contained in:
commit
c89f67077c
@ -68,9 +68,9 @@ if ! hotp_verification info ; then
|
||||
fi
|
||||
|
||||
# Set HOTP USB Security Dongle branding based on VID
|
||||
if [ ! $(lsusb | grep -q "20a0:") ]; then
|
||||
if lsusb | grep -q "20a0:" ; then
|
||||
HOTPKEY_BRANDING="Nitrokey"
|
||||
elif [ ! $(lsusb | grep -q "316d:") ]; then
|
||||
elif lsusb | grep -q "316d:" ; then
|
||||
HOTPKEY_BRANDING="Librem Key"
|
||||
else
|
||||
HOTPKEY_BRANDING="HOTP USB Security Dongle"
|
||||
|
Loading…
x
Reference in New Issue
Block a user