YubiKey: add qvm-run --nogui option to make it usable for lightdm login

This commit is contained in:
Marek Marczykowski-Górecki 2015-06-18 16:08:42 +02:00
parent 8afb9073b2
commit a60aafc111

View File

@ -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 ' '`