mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2025-01-30 08:13:36 -05:00
YubiKey: add qvm-run --nogui option to make it usable for lightdm login
This commit is contained in:
parent
8afb9073b2
commit
a60aafc111
@ -63,7 +63,7 @@ To use this mode you need:
|
||||
|
||||
challenge=`head -c64 /dev/urandom | xxd -c 64 -ps`
|
||||
# You may need to adjust slot number and USB VM name here
|
||||
response=`qvm-run -p sys-usb "ykchalresp -2 -x $challenge"`
|
||||
response=`qvm-run --nogui -p sys-usb "ykchalresp -2 -x $challenge"`
|
||||
|
||||
correct_response=`echo $challenge | xxd -r -ps | openssl dgst -sha1 -macopt hexkey:$key -mac HMAC -r | cut -f1 -d ' '`
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user