mirror of
https://github.com/linuxboot/heads.git
synced 2025-02-20 17:22:53 +00:00
Fix termonology
This commit is contained in:
parent
3236f0e170
commit
2fe946ccbe
@ -93,7 +93,7 @@ update_totp()
|
||||
echo "Scan the QR code to add the new TOTP secret"
|
||||
/bin/seal-totp
|
||||
if [ -x /bin/libremkey_hotp_verification ]; then
|
||||
echo "Once you have scanned the QR code, hit Enter to configure your HOTP USB security dongle (e.g. Librem Key or Nitrokey)"
|
||||
echo "Once you have scanned the QR code, hit Enter to configure your HOTP USB Security Dongle (e.g. Librem Key or Nitrokey)"
|
||||
read
|
||||
/bin/seal-hotpkey
|
||||
else
|
||||
|
@ -84,8 +84,8 @@ cat "$KEY_DEVICES" | cut -d\ -f1 | xargs /bin/qubes-measure-luks \
|
||||
|| die "Unable to measure the LUKS headers"
|
||||
luks_pcr=`tpm calcfuturepcr -ix 16 -if /tmp/luksDump.txt`
|
||||
|
||||
# HOTP USB Secrity dongle loads USB modules which changes PCR5.
|
||||
# In the event HOTP USB Security dongle is enabled, skip verification of PCR5
|
||||
# HOTP USB Secrity Dongle loads USB modules which changes PCR5.
|
||||
# In the event HOTP USB Security Dongle is enabled, skip verification of PCR5
|
||||
if [ -x /bin/libremkey_hotp_verification ]; then
|
||||
pcr_5="X"
|
||||
else
|
||||
|
@ -67,13 +67,13 @@ if ! libremkey_hotp_verification info ; then
|
||||
fi
|
||||
fi
|
||||
|
||||
# Set HOTP USB security key branding based on VID
|
||||
# Set HOTP USB Security Dongle branding based on VID
|
||||
if [ ! $(lsusb | grep -q "20a0:") ]; then
|
||||
CONFIG_HOTPKEY_BRANDING="Nitrokey"
|
||||
elif [ ! $(lsusb | grep -q "316d:") ]; then
|
||||
CONFIG_HOTPKEY_BRANDING="Librem Key"
|
||||
else
|
||||
CONFIG_HOTPKEY_BRANDING="HOTP USB security key"
|
||||
CONFIG_HOTPKEY_BRANDING="HOTP USB Security Dongle"
|
||||
fi
|
||||
|
||||
echo -e ""
|
||||
@ -107,7 +107,7 @@ counter_value=`expr $counter_value + 1`
|
||||
echo $counter_value > $HOTP_COUNTER \
|
||||
|| die "Unable to create hotp counter file"
|
||||
|
||||
# Store/overwrite HOTP USB security key branding found out beforehand
|
||||
# Store/overwrite HOTP USB Security Dongle branding found out beforehand
|
||||
echo $CONFIG_HOTPKEY_BRANDING > $HOTP_KEY \
|
||||
|| die "Unable to store hotp key file"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user