From a60aafc111108fb2904715763abaf4fab8723174 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Thu, 18 Jun 2015 16:08:42 +0200 Subject: [PATCH] YubiKey: add qvm-run --nogui option to make it usable for lightdm login --- YubiKey.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YubiKey.md b/YubiKey.md index 8b11cef2..611b6f18 100644 --- a/YubiKey.md +++ b/YubiKey.md @@ -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 ' '`