[qubes-users] Re: How to attach a Yubikey as a normal, extra usb keyboard only to specific AppVMs?

2017-08-08 Thread Daniel Moerner
On Monday, August 7, 2017 at 1:06:27 PM UTC-4, miguel wrote:
> Did you manage to find a solution? I have the same exact problem. USBVM sees 
> usb fine and pass it to AppVM without a problem but the yubikey simply doesnt 
> do anything inside the Appvm even the yubico personalization tool does not 
> detect a yubikey connected even though qvm-usb shows that the Yubikey is 
> properly connected and lsusb inside the VM also shows Yubico connected.

Hi,

I have a Yubikey 4, and I have no problems using the Yubikey with appVMs on a 
fresh install of Qubes R3.2, no extra configuration required.

I use the following script to attach it to specific VMs, and then it works 
perfectly with Google Chrome:

#!/bin/bash
# Usage: yubi 

USB_DEVICE="$(qvm-usb | grep Yubikey | cut -f1)"

# If no device, just exit
if [ -z "$USB_DEVICE" ]; then
echo "No device attached"
exit
fi

# If no argument, then just detach.
if [ $# -eq 0 ]; then
echo "No argument, detaching device"
qvm-usb -d "$USB_DEVICE"
exit
fi

# If we have an argument, detach first as a precaution.
qvm-usb | grep "$USB_DEVICE" | grep -q "(attached to"
if [ $? -eq 0 ]; then
echo "Device already attached, detaching first"
qvm-usb -d "$USB_DEVICE"
sleep 1
fi

echo "Attaching device to $1"
qvm-usb -a "$1" "$USB_DEVICE"

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/84e8c214-5e11-459f-a555-78e803beb470%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Re: How to attach a Yubikey as a normal, extra usb keyboard only to specific AppVMs?

2017-08-07 Thread miguel
Did you manage to find a solution? I have the same exact problem. USBVM sees 
usb fine and pass it to AppVM without a problem but the yubikey simply doesnt 
do anything inside the Appvm even the yubico personalization tool does not 
detect a yubikey connected even though qvm-usb shows that the Yubikey is 
properly connected and lsusb inside the VM also shows Yubico connected.

regards,
Miguel



On Wednesday, January 4, 2017 at 4:01:12 PM UTC+1, @LeeteqXV (Twitter) wrote:
> I have followed this guide: https://www.qubes-os.org/doc/usb/
> 
> And I can see the Yubikey, and attach it to the AppVM, then see that it 
> is attached to the AppVM with the qvm-usb command.
> 
> However, nothing happens inside the AppVM when I push the Yubikey button 
> to send the password to the field with the cursor, neither in a browser 
> window nor in Gedit.
> 
> As far as I know, the Yubikeys are identifying themselves as a 100% 
> standard keyboard without the need for any driver on any system, so the 
> push of its button should be understood by the Qube to be normal 
> keyboard key presses.
> 
> What may be wrong?
> 
> Regards,
> 
> @LeeteqXV

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/10890907-1e2d-495e-9a44-9f88963c09a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Re: How to attach a Yubikey as a normal, extra usb keyboard only to specific AppVMs?

2017-01-07 Thread wes . akers
I was able to get my yubikey to work in this personal vm but for the life of me 
I wasn't able to use it to authenticate with my gmail on this login.

I followed the instruction where you add the info to the qubes.InputKeyboard 
file then it worked. You'll know you've configured that file correctly if you 
get the popup. 

I'm still not able to get my smart card reader to work even though I think i've 
followed all the instructions. I'm gonna use all these same tricks and see if I 
can get it to work in the Win7 HVM...FML

B4U2D0 

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/68ff7e9e-7bf1-454c-8c33-7a026e529e34%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Re: How to attach a Yubikey as a normal, extra usb keyboard only to specific AppVMs?

2017-01-04 Thread wes . akers
Good Luck @LeeteqXV

I haven't yet tried to get my yubikey to work but that is on my to-do list. I 
hope you are able to deduce the problem and get it working. Still 
troubleshooting my wifi problems. Ugh...fml

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/bd1e090b-c892-4717-8057-59032b5ecc37%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.