yubikey-touch-detector: U2F notification does not work

Hi Maxim, you may remember me from other threads πŸ˜ƒ

Unfortunatelly, U2F notification does not work for me. GPG notifications work fine though. I opened three terminals

Terminal1:

> sudo ls
Downloads            Desktop                   Documents

Terminal2:

> inotifywait -m /dev/hidraw5 /dev/hidraw6 /run/user/1000/pam-u2f-authpending
Setting up watches.
Watches established.
/run/user/1000/pam-u2f-authpending OPEN 
/dev/hidraw5 OPEN 
/dev/hidraw5 CLOSE_WRITE,CLOSE 
/dev/hidraw6 OPEN 
/dev/hidraw6 CLOSE_WRITE,CLOSE 
/dev/hidraw6 OPEN 
/dev/hidraw6 MODIFY 
/dev/hidraw6 ACCESS 
/dev/hidraw6 MODIFY 
/dev/hidraw6 MODIFY 
/dev/hidraw6 MODIFY 
/dev/hidraw6 ACCESS 
/dev/hidraw6 MODIFY 
/dev/hidraw6 MODIFY 
/dev/hidraw6 MODIFY 
/dev/hidraw6 ACCESS 
/dev/hidraw6 MODIFY 
/dev/hidraw6 MODIFY 
/dev/hidraw6 MODIFY 
/dev/hidraw6 ACCESS 
/dev/hidraw6 MODIFY 
/dev/hidraw6 MODIFY 
/dev/hidraw6 MODIFY 
/dev/hidraw6 ACCESS 
/dev/hidraw6 MODIFY 
/dev/hidraw6 MODIFY 
/dev/hidraw6 MODIFY 
/dev/hidraw6 ACCESS 
/dev/hidraw6 ACCESS 
/dev/hidraw6 CLOSE_WRITE,CLOSE 
/run/user/1000/pam-u2f-authpending CLOSE_NOWRITE,CLOSE 

Terminal3:

> yubikey-touch-detector -v
DEBU[2020-04-13T13:15:53-07:00] Starting YubiKey touch detector              
DEBU[2020-04-13T13:15:53-07:00] SSH watcher is successfully established      
DEBU[2020-04-13T13:15:53-07:00] GPG watcher is successfully established      
DEBU[2020-04-13T13:15:53-07:00] U2F watcher on '/dev' is successfully established 

Do you have any means to increase verbosity of the debug output? What additional information about my environment do you need?

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 59 (27 by maintainers)

Commits related to this issue

Most upvoted comments

But you gave me good idea. I can terminate login name with a TAB. If I am lucky, then I should just press password hotkey after that.

Thanks.

You can create an override for the systemd service that updates the PATH or command

It’s easier for me to fork your repo 😁

For your pass scripts, consider also if you can make a shortcut that will not only type a single field, but will type one field, then TAB keypress and then another field - 99% of cases for username and password forms can be covered with username TAB password

Too dangerous. The password may land in the wrong place. I don’t mind to press hotkey more than once per login. In many cases login and password are on the separate pages (we use Okta for authentication at work and it has separate screens for login, password and OTP).

I have specialized hotkeys for the logins that I use most often. Since when I use Caps Lock as Mod3, I have a lot of free hotkeys πŸ˜ƒ

I think, it works like that:

  1. They probe both inputs and decide which one to use
  2. They open the chosen input and do ACCESS,MODIFY,MODIFY,MODIFY until user touches the key.
  3. They close the input.