yubikey-manager icon indicating copy to clipboard operation
yubikey-manager copied to clipboard

`ykman openpgp info` and related `keys set-touch` commands fail.

Open x10an14 opened this issue 2 years ago • 5 comments

  • 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 openpgpcommands) 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.

x10an14 avatar Dec 29 '21 02:12 x10an14

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

KlavsKlavsen avatar Apr 03 '22 16:04 KlavsKlavsen

I upgraded ykman with : pip install -U yubikey-manager (as root) and I still get the same error with v4.0.8 installed.

KlavsKlavsen avatar Apr 03 '22 17:04 KlavsKlavsen

I was able to make it work by entering: ykman config mode ccid and re-inserting yubikey (tip from other issue here)

KlavsKlavsen avatar May 03 '22 06:05 KlavsKlavsen

I had to install pcscd-lite to get this to work.

jasom avatar Feb 23 '23 03:02 jasom

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)?

corite avatar May 05 '23 16:05 corite