yubikey-manager
yubikey-manager copied to clipboard
`ykman openpgp info` and related `keys set-touch` commands fail.
- YubiKey Manager (ykman) version: 4.0.7
- How was it installed?: NixOS package store: https://github.com/NixOS/nixpkgs/blob/nixos-21.11/pkgs/tools/misc/yubikey-manager/default.nix
- Operating system and version: NixOS, 21.11
- YubiKey model and version: Yubikey 5C NFC, version 5.2.7
- Bug description summary: See subject/title of issue
Steps to reproduce
See: https://paste.sr.ht/~x10an14/0107b0b76d9cc1c516f6a98138c3edf44b07fb07
Expected result
The ykman openpgp info
(and other related ykman openpgp
commands) not to fail.
Actual results and logs
See above paste.
Other info
It suddenly stopped working in the midst of a "update expiry date of all my gpg subkeys across my yubikeys".
ykman openpgp info
and related ykman openpgp keys set-touch
commands work fine on another machine, one which I don't have any USB-C ports easily available on.
I have the same problem on Ubuntu 21.10 with yubikey-manager installed from OS repos. ubuntu version: 4.0.0~a1-4 I tried dl'ing the yubikey-manager gui - but does not seem to support setting touch on openpgp. output from ykman info:
ykman info
Device type: YubiKey 5C Nano Serial number: 10124802 Firmware version: 5.1.2 Form factor: Nano (USB-C) Enabled USB interfaces: OTP, FIDO, CCID
Applications OTP Enabled FIDO U2F Enabled OpenPGP Enabled PIV Enabled OATH Enabled FIDO2 Enabled
I upgraded ykman with : pip install -U yubikey-manager (as root) and I still get the same error with v4.0.8 installed.
I was able to make it work by entering: ykman config mode ccid and re-inserting yubikey (tip from other issue here)
I had to install pcscd-lite to get this to work.
I have the same problem on Fedora 37. pcsc-lite
is installed and ykman config mode ccid
didn't work for me either (and is also not an option for me since I need the other functionality too). Does someone have an update on this problem and it's solution(s)?