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
- Switch to sync.Map to avoid concurrent map reads and writes (ref #10) — committed to maximbaz/yubikey-touch-detector by maximbaz 4 years ago
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.
Itβs easier for me to fork your repo π
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 πPlease fix this line: https://github.com/maximbaz/yubikey-touch-detector/blob/master/notifier/libnotify.go#L21
I think, it works like that: