Integration of YubiKey with Yocto

Viewed 15

I am trying to integrate YubiKey (YubiKey 5 NFC) with Yocto. I have successfully built and added "pam-u2f" from github repo (https://github.com/Yubico/pam-u2f#building).

After when I try to execute $pamu2fcfg > ~/.config/Yubico/u2f_keys command my YubiKey is not detecting (referred in below log) . Please suggest me where I am going wrong.


Logs :

$ lsusb

 root@imx6ul-pds:~# lsusb
 Bus 001 Device 003: ID 1050:0407 Yubico.com Yubikey 4 OTP+U2F+CCID
 Bus 001 Device 002: ID 0424:2512 Standard Microsystems Corp. USB 2.0 Hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

$

root@imx6ul-pds:~# pamu2fcfg -d
run_manifest: found 0 hid devices
run_manifest: found 0 nfc devices
No U2F device available, please insert one now, you have 15 secondsrun_manifest: found     0 hid devices
run_manifest: found 0 nfc devices
No U2F device available, please insert one now, you have 14 secondsrun_manifest: found 0 hid devices
run_manifest: found 0 nfc devices
No U2F device available, please insert one now, you have 13 secondsrun_manifest: found 0 hid devices
run_manifest: found 0 nfc devices
No U2F device available, please insert one now, you have 12 secondsrun_manifest: found    0 hid devices
run_manifest: found 0 nfc devices
No U2F device available, please insert one now, you have 11 secondsrun_manifest: found 0 hid devices
run_manifest: found 0 nfc devices
No U2F device available, please insert one now, you have 10 secondsrun_manifest: found 0 hid devices
run_manifest: found 0 nfc devices
No U2F device available, please insert one now, you have  9 secondsrun_manifest: found 0 hid devices  
run_manifest: found 0 nfc devices
No U2F device available, please insert one now, you have  8 secondsrun_manifest: found 0 hid devices
run_manifest: found 0 nfc devices 
No U2F device available, please insert one now, you have  7 secondsrun_manifest: found 0 hid devices
run_manifest: found 0 nfc devices
No U2F device available, please insert one now, you have  6 secondsrun_manifest: found 0 hid devices
run_manifest: found 0 nfc devices
No U2F device available, please insert one now, you have  5 secondsrun_manifest: found 0 hid devices
run_manifest: found 0 nfc devices 
No U2F device available, please insert one now, you have  4 secondsrun_manifest: found 0 hid devices
run_manifest: found 0 nfc devices
No U2F device available, please insert one now, you have  3 secondsrun_manifest: found 0 hid devices
run_manifest: found 0 nfc devices
No U2F device available, please insert one now, you have  2 secondsrun_manifest: found 0 hid devices
run_manifest: found 0 nfc devices
No U2F device available, please insert one now, you have  1 secondsrun_manifest: found 0 hid devices
run_manifest: found 0 nfc devices
No device found. Aborting.                                         
root@imx6ul-pds:~# 
0 Answers
Related