str4d / age-plugin-yubikey

YubiKey plugin for age
Apache License 2.0
600 stars 26 forks source link

UX: setup stuck at "Please touch the YubiKey" #104

Open lalyos opened 1 year ago

lalyos commented 1 year ago

What were you trying to do

I'm trying to follow Configuration docs

What happened

$ age-plugin-yubikey --version
age-plugin-yubikey 0.3.2

$ age-plugin-yubikey

⏳ Please insert the YubiKey you want to set up.
🔑 Select a YubiKey: Yubico YubiKey OTP+FIDO+CCID (Serial: 41XXX36)
🕳️  Select a slot for your age identity: Slot 1 (Empty)
📛 Name this identity [age identity TAG_HEX]: lly
🔤 Select a PIN policy: Once   (A PIN is required once per session, if set)
👆 Select a touch policy: Always (A physical touch is required for every decryption)
Generate new identity in slot 1? yes

Enter PIN for YubiKey with serial 4160736 (default is 123456): [hidden]
👆 Please touch the YubiKey
... hangs ...

Any tips what I'm missing?

Device

Screenshot

image
str4d commented 1 year ago

First, the obvious question: did you touch the YubiKey? 😁 (That is what it should be hanging for.)

Assuming you did, was the YubiKey flashing when you touched it? Did it keep flashing afterwards?

Could you try checking out the main branch of this repo and try using it? (cargo run)

lalyos commented 1 year ago

fair enough ... Yes indeed I touched it. Tried to pull-out and reinsert into the usb slot several times ...

the device is working: